mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-29 15:54:06 +08:00
GPS organize status print
This commit is contained in:
parent
ff626a19f6
commit
94dd6abd9f
@ -876,8 +876,6 @@ GPS::print_status()
|
||||
PX4_INFO("sat info: %s", (_p_report_sat_info != nullptr) ? "enabled" : "disabled");
|
||||
|
||||
if (_report_gps_pos.timestamp != 0) {
|
||||
print_message(_report_gps_pos);
|
||||
|
||||
if (_helper) {
|
||||
PX4_INFO("rate position: \t\t%6.2f Hz", (double)_helper->getPositionUpdateRate());
|
||||
PX4_INFO("rate velocity: \t\t%6.2f Hz", (double)_helper->getVelocityUpdateRate());
|
||||
@ -888,6 +886,7 @@ GPS::print_status()
|
||||
PX4_INFO("rate RTCM injection:\t%6.2f Hz", (double)_rate_rtcm_injection);
|
||||
}
|
||||
|
||||
print_message(_report_gps_pos);
|
||||
}
|
||||
|
||||
if (_instance == Instance::Main && _secondary_instance) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user