Skip to content

Commit 5540a9a

Browse files
committed
Mission feasibility checks: improve correctness of docs, escpecially around MIS_DIST_1WP
Signed-off-by: Silvan Fuhrer <[email protected]>
1 parent 0565244 commit 5540a9a

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

en/flight_modes_fw/mission.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,20 @@ For more information about mission planning, see:
7676

7777
## Mission Feasibility Checks
7878

79-
PX4 runs some basic sanity checks to determine if a mission is feasible when it is uploaded, and when the vehicle is first armed.
79+
PX4 runs some basic sanity checks to determine if a mission is feasible when it is uploaded and before executing a mission.
8080
If any of the checks fail, the user is notified and it is not possible to start the mission.
8181

8282
A subset of the most important checks are listed below:
8383

84-
- First mission item too far away from vehicle ([MIS_DIST_1WP](#MIS_DIST_1WP))
8584
- Any mission item conflicts with a plan or safety geofence
8685
- More than one land start mission item defined ([MAV_CMD_DO_LAND_START](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_LAND_START))
8786
- A fixed-wing landing has an infeasible slope angle ([FW_LND_ANG](#FW_LND_ANG))
8887
- Land start item (`MAV_CMD_DO_LAND_START`) appears in mission before an RTL item ([MAV_CMD_NAV_RETURN_TO_LAUNCH](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_RETURN_TO_LAUNCH))
8988
- Missing takeoff and/or land item when these are configured as a requirement ([MIS_TKO_LAND_REQ](#MIS_TKO_LAND_REQ))
9089

90+
Additionally there is a check if the first waypoint is too far from the Home position ([MIS_DIST_1WP](#MIS_DIST_1WP)).
91+
The user is notified should the check fail, but it has no effect on the validity of a mission plan, meaning that the mission can still be started even if the distance is too high.
92+
9193
## QGroundControl Support
9294

9395
_QGroundControl_ provides additional GCS-level mission handling support (in addition to that provided by the flight controller).
@@ -113,7 +115,7 @@ Parameters related to [mission feasibility checks](#mission-feasibility-checks):
113115

114116
| Parameter | Description |
115117
| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
116-
| <a id="MIS_DIST_1WP"></a>[MIS_DIST_1WP](../advanced_config/parameter_reference.md#MIS_DIST_1WP) | The mission will not be started if the current waypoint is more distant than this value from the home position. Disabled if value is 0 or less. |
118+
| <a id="MIS_DIST_1WP"></a>[MIS_DIST_1WP](../advanced_config/parameter_reference.md#MIS_DIST_1WP) | There is a warning message if the distance of the first waypoint to Home is more than this value. Disabled if value is 0 or less. |
117119
| <a id="FW_LND_ANG"></a>[FW_LND_ANG](../advanced_config/parameter_reference.md#FW_LND_ANG) | Maximum landing slope angle. |
118120
| <a id="MIS_TKO_LAND_REQ"></a>[MIS_TKO_LAND_REQ](../advanced_config/parameter_reference.md#MIS_TKO_LAND_REQ) | Mission takeoff/landing requirement configuration. FW and VTOL both have it set to 2 by default, which means that the mission has to contain a landing. |
119121

en/flight_modes_mc/mission.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,16 @@ For more information about mission planning, see:
7979

8080
## Mission Feasibility Checks
8181

82-
PX4 runs some basic sanity checks to determine if a mission is feasible when it is uploaded, and when the vehicle is first armed.
82+
PX4 runs some basic sanity checks to determine if a mission is feasible when it is uploaded and before executing a mission.
8383
If any of the checks fail, the user is notified and it is not possible to start the mission.
8484

8585
A subset of the most important checks are listed below:
8686

87-
- First mission item too far away from vehicle ([MIS_DIST_1WP](#MIS_DIST_1WP))
8887
- Any mission item conflicts with a plan or safety geofence
88+
- Missing takeoff and/or land item when these are configured as a requirement ([MIS_TKO_LAND_REQ](#MIS_TKO_LAND_REQ))
89+
90+
Additionally there is a check if the first waypoint is too far from the Home position ([MIS_DIST_1WP](#MIS_DIST_1WP)).
91+
The user is notified should the check fail, but it has no effect on the validity of a mission plan, meaning that the mission can still be started even if the distance is too high.
8992

9093
## QGroundControl Support
9194

@@ -113,9 +116,9 @@ Parameters related to [mission feasibility checks](#mission-feasibility-checks):
113116

114117
| Parameter | Description |
115118
| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
116-
| <a id="MIS_DIST_1WP"></a>[MIS_DIST_1WP](../advanced_config/parameter_reference.md#MIS_DIST_1WP) | The mission will not be started if the current waypoint is more distant than this value from the home position. Disabled if value is 0 or less. |
119+
| <a id="MIS_DIST_1WP"></a>[MIS_DIST_1WP](../advanced_config/parameter_reference.md#MIS_DIST_1WP) | There is a warning message if the distance of the first waypoint to Home is more than this value. Disabled if value is 0 or less. |
117120
| <a id="FW_LND_ANG"></a>[FW_LND_ANG](../advanced_config/parameter_reference.md#FW_LND_ANG) | Maximum landing slope angle. |
118-
| <a id="MIS_TKO_LAND_REQ"></a>[MIS_TKO_LAND_REQ](../advanced_config/parameter_reference.md#MIS_TKO_LAND_REQ) | Mission takeoff/landing requirement configuration. FW and VTOL both have it set to 2 by default, which means that the mission has to contain a landing. |
121+
| <a id="MIS_TKO_LAND_REQ"></a>[MIS_TKO_LAND_REQ](../advanced_config/parameter_reference.md#MIS_TKO_LAND_REQ) | Mission takeoff/landing requirement configuration. No requirement by default for multicopter.|
119122

120123
<a id="mission_commands"></a>
121124

0 commit comments

Comments
 (0)