Using mavlink console with multiple instances

I’m trying to check on the yaw_composite_valid flag that is in the yaw_estimator_status message using the listener in the MAVLink Console.

nsh> ls /obj


yaw_estimator_status0
yaw_estimator_status1
yaw_estimator_status2

nsh> listener yaw_estimator_status

TOPIC: yaw_estimator_status 3 instances

Instance 0:

Instance 1:

Instance 2:

I have tried to access the messages using ‘listener yaw_esimator_status0’ and ‘listener yaw_esimator_status 0’ but that syntax is incorrect. Does anyone know the correct syntax to inspect the messages? Thanks.

Had same question and found it in github repo.
listener yaw_estimator_status -i 2 should work

The listener command only takes the uORB topic name, not the instance number. So the correct way is just: listener yaw_estimator_status
That will dump all active instances together. There’s no way to address yaw_estimator_status0 or …1 individually from the console — if you need per-instance data you’ll have to check the log (ulog) afterwards or add custom debug prints in the code.