diff options
author | Julian Oes <julian@oes.ch> | 2014-09-20 22:37:10 +1000 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-09-20 22:37:10 +1000 |
commit | f681c6b5a3d1057434c1743496b3704d8244da2f (patch) | |
tree | 26007022188886974225abb14d084f67a08ec61c /src/modules/bottle_drop/bottle_drop.cpp | |
parent | 6aee0baa30b8127fe86a149ae3fe4083584856a2 (diff) | |
download | px4-firmware-f681c6b5a3d1057434c1743496b3704d8244da2f.tar.gz px4-firmware-f681c6b5a3d1057434c1743496b3704d8244da2f.tar.bz2 px4-firmware-f681c6b5a3d1057434c1743496b3704d8244da2f.zip |
bottle_drop: don't talk about distance and error
Diffstat (limited to 'src/modules/bottle_drop/bottle_drop.cpp')
-rw-r--r-- | src/modules/bottle_drop/bottle_drop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/bottle_drop/bottle_drop.cpp b/src/modules/bottle_drop/bottle_drop.cpp index 49919fd4a..b16d9adda 100644 --- a/src/modules/bottle_drop/bottle_drop.cpp +++ b/src/modules/bottle_drop/bottle_drop.cpp @@ -519,7 +519,7 @@ BottleDrop::task_main() approach_error = _wrap_pi(ground_direction - approach_direction); if (counter % 90 == 0) { - mavlink_log_critical(_mavlink_fd, "drop distance %u, heading error %u", (unsigned)distance_real, (unsigned)math::degrees(approach_error)); + mavlink_log_info(_mavlink_fd, "drop distance %u, heading error %u", (unsigned)distance_real, (unsigned)math::degrees(approach_error)); } } @@ -663,7 +663,7 @@ BottleDrop::task_main() _drop_state = DROP_STATE_DROPPED; mavlink_log_info(_mavlink_fd, "#audio: payload dropped"); } else { - + float distance_wp2 = get_distance_to_next_waypoint(_global_pos.lat, _global_pos.lon, flight_vector_e.lat, flight_vector_e.lon); if (distance_wp2 < distance_real) { |