Skip to content

Conversation

@hamishwillee
Copy link
Contributor

This adds detailed docs on the mode requirements.

The docs are generated by docs/scripts/get_mode_requirements.py from the requirements code and docs. This is mostly to allow easy update if we get new requirements.

This is still wip.

@github-actions
Copy link

/en/flight_modes/mode_requirements.md

  • PageNotInTOC: Page not in Table of Contents (/home/runner/work/PX4-Autopilot/PX4-Autopilot/docs/en/SUMMARY.md)
  • PageNotLinkedInternally: Page is orphan (not linked by any other page)


:::

<!--@include: ../flight_modes_fw/mode_requirements_fixed_wing_offboard.md-->
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI this is an inclusion - so I import another doc at this point containing just the requirements.

- The mission will start once the vehicle is armed.
- This mode is automatic - no user intervention is _required_ to control the vehicle.
- RC control switches can be used to change flight modes on any vehicle.
- RC control switches can be used to switch out of mission mode on any vehicle.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just switches or also sticks?

Comment on lines +333 to +342
invalid_modes = ['mode_requirements_fixed_wing_position_slow.md',
'mode_requirements_fixed_wing_auto_vtol_takeoff.md',
'mode_requirements_fixed_wing_altitude_cruise.md',
'mode_requirements_fixed_wing_termination.md',

'mode_requirements_rotary_wing_auto_precland.md',
'mode_requirements_rotary_wing_auto_vtol_takeoff.md',
'mode_requirements_rotary_wing_descend.md',
'mode_requirements_rotary_wing_manual.md',
'mode_requirements_rotary_wing_termination.md' ]
Copy link
Contributor Author

@hamishwillee hamishwillee Dec 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These don't seem to map to "real modes" that we have documented. Though perhaps precland is, and we should add that requirement.

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.

1 participant