forked from Archive/PX4-Autopilot
launchdetection: add mavlink text output
This commit is contained in:
parent
9cc1fc1cb5
commit
080ecf56ca
|
@ -991,7 +991,7 @@ FixedwingPositionControl::control_position(const math::Vector2f ¤t_positio
|
|||
launchDetector.update(_sensor_combined.accelerometer_m_s2[0]);
|
||||
if (launchDetector.getLaunchDetected()) {
|
||||
launch_detected = true;
|
||||
warnx("Launch detected. Taking off!");
|
||||
mavlink_log_info(_mavlink_fd, "#audio: Takeoff");
|
||||
}
|
||||
} else {
|
||||
/* no takeoff detection --> fly */
|
||||
|
|
Loading…
Reference in New Issue