mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 02:53:34 +08:00
position_estimator_inav: be a bit more informative about this ominous offs
This commit is contained in:
@@ -389,8 +389,8 @@ int position_estimator_inav_thread_main(int argc, char *argv[])
|
|||||||
} else {
|
} else {
|
||||||
wait_baro = false;
|
wait_baro = false;
|
||||||
baro_offset /= (float) baro_init_cnt;
|
baro_offset /= (float) baro_init_cnt;
|
||||||
warnx("baro offs: %d", (int)baro_offset);
|
warnx("baro offset: %d m", (int)baro_offset);
|
||||||
mavlink_log_info(mavlink_fd, "[inav] baro offs: %d", (int)baro_offset);
|
mavlink_log_info(mavlink_fd, "[inav] baro offset: %d m", (int)baro_offset);
|
||||||
local_pos.z_valid = true;
|
local_pos.z_valid = true;
|
||||||
local_pos.v_z_valid = true;
|
local_pos.v_z_valid = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user