Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigator: MissionFeasibilityCheck: check if items fit to the current vehicle type #21602

Merged
merged 1 commit into from May 31, 2023

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented May 17, 2023

Solved Problem

When switching between different vehicle types on the same groundstation, it can happen that by accident a mission that was planned for example for a VTOL gets uploaded to a Multicopter. This is can lead to undesired/unexpected behavior.

Solution

Add checkItemsFitToVehicleType() check that checks if the vehicle type is non-VTOL but there are VTOL mission items (VTOL_TAKEOFF, VTOL_LAND, VTOL_TRANSITION). The check can later be extended to handle all kind of vehicle type vs mission item checks.

Changelog Entry

For release notes:

Feature: Mission Feasibility Check: prevent uploading a mission containing VTOL items to non-VTOL vehicles

… vehicle type

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
@sfuhrer sfuhrer merged commit 4b5e14a into main May 31, 2023
83 of 86 checks passed
@sfuhrer sfuhrer deleted the pr-mission-feasibiity-vtol-check-main branch May 31, 2023 17:27
harrisondragoon pushed a commit to harrisondragoon/PX4-Autopilot that referenced this pull request May 31, 2023
… vehicle type (PX4#21602)

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
antbre pushed a commit to BioMorphic-Intelligence-Lab/PX4-Autopilot that referenced this pull request Sep 14, 2023
… vehicle type (PX4#21602)

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants