Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.12 KB

sensor_uorb_topic_debugging.md

File metadata and controls

22 lines (15 loc) · 1.12 KB

Sensor/Topic Debugging using the Listener Command

The uORB is an asynchronous publish() / subscribe() messaging API used for inter-thread/inter-process communication. The listener command can be used from the QGroundControl MAVLink Console to inspect topic (message) values, including the current values published by sensors.

:::tip This is a powerful debugging tool because it can be used even when QGC is connected over a wireless link (e.g. when the vehicle is flying). :::

:::note The listener command is also available through the System Console and the MAVLink Shell. :::

:::tip To check what topics are available at what rate, just use the uorb top command. :::

The image below demonstrates QGroundControl being used to get the value of the acceleration sensor.

QGC MAVLink Console

For more information about how to determine what topics are available and how to call listener see: uORB Messaging > Listing Topics and Listening in.