diff --git a/msg/DifferentialPressure.msg b/msg/DifferentialPressure.msg index 0cdf1e4cce79..e11a92bfd099 100644 --- a/msg/DifferentialPressure.msg +++ b/msg/DifferentialPressure.msg @@ -1,10 +1,11 @@ -uint64 timestamp # time since system start (microseconds) -uint64 timestamp_sample +# Differential-pressure sensor +# +# ? -uint32 device_id # unique device ID for the sensor that does not change between power cycles +uint64 timestamp # [us] Time of publication (since system start) +uint64 timestamp_sample # [us] Time of raw data capture -float32 differential_pressure_pa # differential pressure reading in Pascals (may be negative) - -float32 temperature # Temperature provided by sensor in degrees Celsius, NAN if unknown - -uint32 error_count # Number of errors detected by driver +uint32 device_id # [-] Unique device ID for the sensor that does not change between power cycles +float32 differential_pressure_pa # [Pa] Differential pressure reading in Pascals (may be negative) +float32 temperature # [degC] [@invalid NaN if unknown] Temperature +uint32 error_count # [-] Number of errors detected by driver diff --git a/msg/SensorBaro.msg b/msg/SensorBaro.msg index 7c4154e159d7..46c7d2058976 100644 --- a/msg/SensorBaro.msg +++ b/msg/SensorBaro.msg @@ -1,12 +1,13 @@ -uint64 timestamp # time since system start (microseconds) -uint64 timestamp_sample +# Baro sensor +# +# ? This is used in the `SCALED_PRESSURE_n` MAVLink messages (values must be zero-filled). -uint32 device_id # unique device ID for the sensor that does not change between power cycles +uint64 timestamp # [us] Time of publication (since system start) +uint64 timestamp_sample # [us] Time of raw data capture -float32 pressure # static pressure measurement in Pascals - -float32 temperature # temperature in degrees Celsius - -uint32 error_count +uint32 device_id # [-] Unique device ID for the sensor that does not change between power cycles +float32 pressure # [Pa] Static pressure measurement +float32 temperature # [degC] Temperature. +uint32 error_count # [-] Number of errors detected by driver. uint8 ORB_QUEUE_LENGTH = 4