Hello, I have added an I2C sensor to the Navigator whose information I send with MAVLink in the message “SCALED_PRESSURE2”. I have managed to display the temperature on the dashboard with the “Value Display” Temperature>Temperature2 but I can’t find the other data, like pressure, to display on the dashboard. Is it possible to display this data in the dashboard without modifying the QGroundControl source code?
I also have another small issue. The temperature is displayed but the displayed value alternates with zero. I managed to reduce this flickering by sending the mavlink message every 0.3s (with “time.sleep(0.3)”) but I don’t think this is the optimal solution.
SCALED_PRESSURE2 is how ArduSub normally reports its external pressure sensor readings, so if you’re sending extra versions of those messages then QGC will be flipping between showing values from the normal ones and your extra ones.
I don’t believe QGroundControl includes defaults for displaying pressure values, in which case no, that’s not possible in its dashboard (although you could use its built in MAVLink Inspector, if that’s a viable solution for your use-case).
I finally solved it by sending the information through EFI_STATUS (which was unused) instead of SCALED_PRESSURE2, using in this way the values Efi>IntakeTemp and Efi>BaroPress. In addition, the flickering disappeared when I did it like this.