# Cannot load message class for [mavros_msgs/State]

Source: https://forum.modalai.com/topic/1571/cannot-load-message-class-for-mavros_msgs-state
Category: Flight Core and Legacy VOXL (https://forum.modalai.com/category/9/flight-core-and-legacy-voxl)
Tags: voxl-flight
Posted: 2022-11-24 13:12:01 UTC by ABDUL JAWAD SUBAHAN
Replies: 0 · Views: 489

## ABDUL JAWAD SUBAHAN · 2022-11-24 13:12:01 UTC

Hi...
Ros Kinetic docker is running run_mavros

only few commands are working after i enter inside voxl shell

rostopic echo mavros/state is throwing following error

ERROR: Cannot load message class for [mavros_msgs/State]. Are your messages built?

but 

rostopic echo mavros/battery works fine

also rosservice calls are not working

ERROR: Unable to load type [mavros_msgs/CommandBool].
Have you typed 'make' in [mavros_msgs]?

pls help
