diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2013-12-30 22:21:53 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2013-12-30 22:21:53 +0100 |
commit | 080ecf56caac571f905f657875cec9fa8e7e17d0 (patch) | |
tree | 570e8d3b390b01cd7ed677c0a5a6ab171cf6ef81 | |
parent | 9cc1fc1cb59255c1390f058f03918b0d105c2d26 (diff) | |
download | px4-firmware-080ecf56caac571f905f657875cec9fa8e7e17d0.tar.gz px4-firmware-080ecf56caac571f905f657875cec9fa8e7e17d0.tar.bz2 px4-firmware-080ecf56caac571f905f657875cec9fa8e7e17d0.zip |
launchdetection: add mavlink text output
-rw-r--r-- | src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp index 5056bcdc1..455fe3674 100644 --- a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp +++ b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp @@ -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 */ |