diff --git a/src/modules/navigator/mission_block.cpp b/src/modules/navigator/mission_block.cpp index 1f4c038d41..1640a8c358 100644 --- a/src/modules/navigator/mission_block.cpp +++ b/src/modules/navigator/mission_block.cpp @@ -291,7 +291,10 @@ MissionBlock::is_mission_item_reached() struct position_setpoint_s *curr_sp = &_navigator->get_position_setpoint_triplet()->current; - // if either is not valid the gate is reached + // if the setpoint is valid we are checking if we reached the gate + // in the case of an invalid setpoint we are defaulting to + // assuming that we have already reached the gate to not block + // the further execution of the mission. if (curr_sp->valid) { // zero is the current gate position