mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
AP_Vehicle: output rcout banner when initialization is done
move down ready message
This commit is contained in:
parent
87018b859e
commit
d6b991768e
@ -139,7 +139,6 @@ void AP_Vehicle::setup()
|
|||||||
|
|
||||||
// init_ardupilot is where the vehicle does most of its initialisation.
|
// init_ardupilot is where the vehicle does most of its initialisation.
|
||||||
init_ardupilot();
|
init_ardupilot();
|
||||||
gcs().send_text(MAV_SEVERITY_INFO, "ArduPilot Ready");
|
|
||||||
|
|
||||||
#if !APM_BUILD_TYPE(APM_BUILD_Replay)
|
#if !APM_BUILD_TYPE(APM_BUILD_Replay)
|
||||||
SRV_Channels::init();
|
SRV_Channels::init();
|
||||||
@ -175,7 +174,7 @@ void AP_Vehicle::setup()
|
|||||||
#if GENERATOR_ENABLED
|
#if GENERATOR_ENABLED
|
||||||
generator.init();
|
generator.init();
|
||||||
#endif
|
#endif
|
||||||
|
gcs().send_text(MAV_SEVERITY_INFO, "ArduPilot Ready");
|
||||||
}
|
}
|
||||||
|
|
||||||
void AP_Vehicle::loop()
|
void AP_Vehicle::loop()
|
||||||
@ -193,6 +192,12 @@ void AP_Vehicle::loop()
|
|||||||
*/
|
*/
|
||||||
done_safety_init = true;
|
done_safety_init = true;
|
||||||
BoardConfig.init_safety();
|
BoardConfig.init_safety();
|
||||||
|
|
||||||
|
// send RC output mode info if available
|
||||||
|
char banner_msg[50];
|
||||||
|
if (hal.rcout->get_output_mode_banner(banner_msg, sizeof(banner_msg))) {
|
||||||
|
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "%s", banner_msg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user