EliotBR
(Eliot)
August 1, 2024, 5:23am
3
Hi @gcelec ,
We’d typically recommend getting the depth from VFR_HUD.alt
, since that’s the autopilot’s depth estimate, and makes use of the water density specified in the autopilot’s parameters.
They’re specified in the message definition .
That said,
SCALED_PRESSURE
is used for the pressure sensor onboard the autopilot, so is a pressure reading from inside your enclosure. That’s generally more useful for aerial vehicles (e.g. for determining altitude of a drone), but can also help determine if there’s an excessive pressure in an enclosure.
The Bar30 measurements get reported via SCALED_PRESSURE2
.
For more general reference:
The compass and depth data can be retrieved from VFR_HUD
, tilt and pitch are available in ATTITUDE
, and temperature from an external pressure sensor like our Bar30 or Bar100 can be retrieved from SCALED_PRESSURE2
, while temperature from a dedicated temperature sensor like our Celsius can be retrieved from SCALED_PRESSURE3
.