mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 02:43:35 +08:00
sensor messages remove unused fields and improve comments
This commit is contained in:
committed by
Lorenz Meier
parent
fc8a05f636
commit
cc96e5ec5e
+11
-10
@@ -1,18 +1,19 @@
|
||||
uint64 integral_dt # integration time
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
|
||||
uint64 error_count
|
||||
|
||||
float32 x # acceleration in the NED X board axis in m/s^2
|
||||
float32 y # acceleration in the NED Y board axis in m/s^2
|
||||
float32 z # acceleration in the NED Z board axis in m/s^2
|
||||
float32 x_integral # velocity in the NED X board axis in m/s over the integration time frame
|
||||
float32 y_integral # velocity in the NED Y board axis in m/s over the integration time frame
|
||||
float32 z_integral # velocity in the NED Z board axis in m/s over the integration time frame
|
||||
float32 temperature # temperature in degrees celsius
|
||||
float32 range_m_s2 # range in m/s^2 (+- this value)
|
||||
float32 scaling
|
||||
|
||||
uint32 integral_dt # integration time (microseconds)
|
||||
float32 x_integral # delta velocity in the NED X board axis in m/s over the integration time frame (integral_dt)
|
||||
float32 y_integral # delta velocity in the NED Y board axis in m/s over the integration time frame (integral_dt)
|
||||
float32 z_integral # delta velocity in the NED Z board axis in m/s over the integration time frame (integral_dt)
|
||||
|
||||
float32 temperature # temperature in degrees celsius
|
||||
|
||||
float32 scaling # scaling from raw to m/s^s
|
||||
int16 x_raw
|
||||
int16 y_raw
|
||||
int16 z_raw
|
||||
int16 temperature_raw
|
||||
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
|
||||
+6
-3
@@ -1,4 +1,7 @@
|
||||
float32 pressure # static pressure measurement in millibar
|
||||
float32 temperature # static temperature measurement in deg C
|
||||
uint64 error_count
|
||||
uint32 device_id # Sensor ID that must be unique for each baro sensor and must not change
|
||||
|
||||
uint64 error_count
|
||||
|
||||
float32 pressure # static pressure measurement in millibar
|
||||
|
||||
float32 temperature # static temperature measurement in deg C
|
||||
|
||||
+11
-10
@@ -1,18 +1,19 @@
|
||||
uint64 integral_dt # integration time
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
|
||||
uint64 error_count
|
||||
|
||||
float32 x # angular velocity in the NED X board axis in rad/s
|
||||
float32 y # angular velocity in the NED Y board axis in rad/s
|
||||
float32 z # angular velocity in the NED Z board axis in rad/s
|
||||
float32 x_integral # delta angle in the NED X board axis in rad/s in the integration time frame
|
||||
float32 y_integral # delta angle in the NED Y board axis in rad/s in the integration time frame
|
||||
float32 z_integral # delta angle in the NED Z board axis in rad/s in the integration time frame
|
||||
float32 temperature # temperature in degrees celcius
|
||||
float32 range_rad_s
|
||||
float32 scaling
|
||||
|
||||
uint32 integral_dt # integration time (microseconds)
|
||||
float32 x_integral # delta angle in the NED X board axis in rad/s over the integration time frame (integral_dt)
|
||||
float32 y_integral # delta angle in the NED Y board axis in rad/s over the integration time frame (integral_dt)
|
||||
float32 z_integral # delta angle in the NED Z board axis in rad/s over the integration time frame (integral_dt)
|
||||
|
||||
float32 temperature # temperature in degrees celsius
|
||||
|
||||
float32 scaling # scaling from raw to rad/s
|
||||
int16 x_raw
|
||||
int16 y_raw
|
||||
int16 z_raw
|
||||
int16 temperature_raw
|
||||
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
|
||||
+11
-10
@@ -1,15 +1,16 @@
|
||||
uint64 error_count
|
||||
float32 x
|
||||
float32 y
|
||||
float32 z
|
||||
float32 range_ga
|
||||
float32 scaling
|
||||
float32 temperature
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
|
||||
uint64 error_count
|
||||
|
||||
float32 x # magnetic field in the NED X board axis in Gauss
|
||||
float32 y # magnetic field in the NED Y board axis in Gauss
|
||||
float32 z # magnetic field in the NED Z board axis in Gauss
|
||||
|
||||
float32 temperature # temperature in degrees celsius
|
||||
|
||||
float32 scaling # scaling from raw to Gauss
|
||||
int16 x_raw
|
||||
int16 y_raw
|
||||
int16 z_raw
|
||||
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
bool is_external # if true the mag is external (i.e. not built into the board)
|
||||
|
||||
bool is_external # if true the mag is external (i.e. not built into the board)
|
||||
|
||||
Reference in New Issue
Block a user