launchdetection: add mavlink text output

This commit is contained in:
Thomas Gubler 2013-12-30 22:21:53 +01:00
parent 9cc1fc1cb5
commit 080ecf56ca
1 changed files with 1 additions and 1 deletions

View File

@ -991,7 +991,7 @@ FixedwingPositionControl::control_position(const math::Vector2f &current_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 */