Compile fixes in navigator

This commit is contained in:
Lorenz Meier 2014-10-05 13:07:56 +02:00
parent 80ed01a5b4
commit 2587074a07
1 changed files with 3 additions and 3 deletions

View File

@ -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