Status indication in QGC

Hello,

I have the following architecture:

QGC ↔ ardupilot ↔ raspberry pi 4 ↔ sensors

On the raspberry pi, I have a program which detects status of the connected sensors.

I attempted to send notifications of changes of status to QGC.
I have tried sending from the raspberry STATUSTEXT MAVLINK messages with all different severities levels. I have checked the traffic and saw that the QGC received the messages, however this does not pop up any message on QGC.
Is it supposed to work?

Alternatively, is there a different way to notify QGC of status changes?

Thanks alot,
Asaf

  1. The RPi should be sending heartbeats which you should be able to detect using Mavlink Inspector in Mission planner.
  2. Check the dropdown on the upper right of the MP below the connect button. IIRC you may need to change it as it can select particular component on the vehicle.
  3. Have you considered using lua for the sensors?

Thanks for your help.
I realized that my mistake was regarding the system id of my raspi.
It was required to be the same as the autopilot - system id = 1.
Now the popups work.
Thanks again,
Asaf

1 Like