mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 23:01:36 +08:00
delete drv_airspeed.h (all IOCTLs), airspeed driver lib
- differential pressure now processed downstream like other sensor data (accel/gyro/mag/etc) - rename msg differential_pressure -> sensor_differential_pressure - add device id and timestamp_sample to all messages - calibration performend directly on raw data and SENS_DPRES_OFF parameter updated - remove Airspeed base class from existing differential pressure drivers - name differential pressure drivers consistently (no _airspeed suffix)
This commit is contained in:
+1
-1
@@ -51,7 +51,6 @@ set(msg_files
|
||||
commander_state.msg
|
||||
control_allocator_status.msg
|
||||
cpuload.msg
|
||||
differential_pressure.msg
|
||||
distance_sensor.msg
|
||||
ekf2_timestamps.msg
|
||||
ekf_gps_drift.msg
|
||||
@@ -127,6 +126,7 @@ set(msg_files
|
||||
sensor_baro.msg
|
||||
sensor_combined.msg
|
||||
sensor_correction.msg
|
||||
sensor_differential_pressure.msg
|
||||
sensor_gps.msg
|
||||
sensor_gyro.msg
|
||||
sensor_gyro_fft.msg
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
uint64 timestamp_sample
|
||||
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
|
||||
float32 indicated_airspeed_m_s # indicated airspeed in m/s (IAS), set to NAN if invalid
|
||||
float32 calibrated_airspeed_m_s # calibrated airspeed in m/s (CAS, accounts for instrumentation errors), set to NAN if invalid
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
uint64 error_count # Number of errors detected by driver
|
||||
float32 differential_pressure_raw_pa # Raw differential pressure reading (may be negative)
|
||||
float32 differential_pressure_filtered_pa # Low pass filtered differential pressure reading
|
||||
float32 temperature # Temperature provided by sensor, -1000.0f if unknown
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
@@ -0,0 +1,10 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
uint64 timestamp_sample
|
||||
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
|
||||
float32 differential_pressure_pa # differential pressure reading
|
||||
|
||||
float32 temperature # temperature in degrees Celsius
|
||||
|
||||
uint32 error_count
|
||||
@@ -33,7 +33,7 @@ rtps:
|
||||
- msg: debug_vect
|
||||
id: 15
|
||||
receive: true
|
||||
- msg: differential_pressure
|
||||
- msg: sensor_differential_pressure
|
||||
id: 16
|
||||
- msg: distance_sensor
|
||||
id: 17
|
||||
|
||||
Reference in New Issue
Block a user