mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 22:43:33 +08:00
airspeed sensors apply offset separately
This commit is contained in:
@@ -2040,7 +2040,6 @@ int sdlog2_thread_main(int argc, char *argv[])
|
||||
log_msg.body.log_DPRS.error_count = buf.diff_pres.error_count;
|
||||
log_msg.body.log_DPRS.differential_pressure_raw_pa = buf.diff_pres.differential_pressure_raw_pa;
|
||||
log_msg.body.log_DPRS.differential_pressure_filtered_pa = buf.diff_pres.differential_pressure_filtered_pa;
|
||||
log_msg.body.log_DPRS.max_differential_pressure_pa = buf.diff_pres.max_differential_pressure_pa;
|
||||
log_msg.body.log_DPRS.temperature = buf.diff_pres.temperature;
|
||||
LOGBUFFER_WRITE_AND_COUNT(DPRS);
|
||||
}
|
||||
|
||||
@@ -629,7 +629,6 @@ struct log_DPRS_s {
|
||||
uint64_t error_count;
|
||||
float differential_pressure_raw_pa;
|
||||
float differential_pressure_filtered_pa;
|
||||
float max_differential_pressure_pa;
|
||||
float temperature;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user