Navigator: fix feedback on success / fail

This commit is contained in:
Lorenz Meier 2015-07-17 20:59:39 +02:00
parent 253b8f50ce
commit d8a54f5018
1 changed files with 1 additions and 3 deletions

View File

@ -126,8 +126,6 @@ Mission::on_inactive()
_offboard_mission.dataman_id = mission_state.dataman_id;
_offboard_mission.count = mission_state.count;
_current_offboard_mission_index = mission_state.current_seq;
warnx("LOADED MISSION STATE FROM STORAGE");
}
_inited = true;
@ -655,7 +653,7 @@ Mission::read_mission_item(bool onboard, bool is_current, struct mission_item_s
if (*mission_index_ptr < 0 || *mission_index_ptr >= (int)mission->count) {
/* mission item index out of bounds */
warnx("err: index: %d, max: %d", *mission_index_ptr, (int)mission->count);
mavlink_log_critical(_navigator->get_mavlink_fd(), "[wpm] err: index: %d, max: %d", *mission_index_ptr, (int)mission->count);
return false;
}