mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 18:27:40 +08:00
Navigator: Improve documentation of mission block
The default for the gate check condition is to pass and this needed to be explicitly documented
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user