diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-10-05 13:07:56 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-10-05 13:07:56 +0200 |
commit | 2587074a07f67ed37c8d4f0b4d7f1b31bb2f6525 (patch) | |
tree | 66a101ea6cd3a37c940d76dbcec8b42f5c41e930 /src/modules | |
parent | 80ed01a5b4324ab13b88dca0b0c8e5ea4f8841ce (diff) | |
download | px4-firmware-2587074a07f67ed37c8d4f0b4d7f1b31bb2f6525.tar.gz px4-firmware-2587074a07f67ed37c8d4f0b4d7f1b31bb2f6525.tar.bz2 px4-firmware-2587074a07f67ed37c8d4f0b4d7f1b31bb2f6525.zip |
Compile fixes in navigator
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/navigator/mission.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/navigator/mission.cpp b/src/modules/navigator/mission.cpp index b5926df81..7fac69a61 100644 --- a/src/modules/navigator/mission.cpp +++ b/src/modules/navigator/mission.cpp @@ -234,7 +234,7 @@ Mission::update_offboard_mission() _current_offboard_mission_index = 0; } - report_current_offboard_mission_item(); + set_current_offboard_mission_item(); } @@ -396,7 +396,7 @@ Mission::set_mission_items() _navigator->set_can_loiter_at_sp(pos_sp_triplet->current.type == SETPOINT_TYPE_LOITER); reset_mission_item_reached(); - report_mission_finished(); + set_mission_finished(); _navigator->set_position_setpoint_triplet_updated(); return; @@ -476,7 +476,7 @@ Mission::set_mission_items() reset_mission_item_reached(); if (_mission_type == MISSION_TYPE_OFFBOARD) { - report_current_offboard_mission_item(); + set_current_offboard_mission_item(); } // TODO: report onboard mission item somehow |