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

Fix PX4 fixed-wing orbit mode support #12566

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rubenp02
Copy link
Contributor

Fix PX4 fixed-wing orbit mode support

Description

Updated the fixed-wing capabilities in PX4FirmwarePlugin to include Orbit mode, as it is supported for this vehicle type.

This PR is based on #12565.

Checklist:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Implemented a fallback for the Takeoff action for vehicles that can take
off but lack guided takeoff support. The fallback action switches to the
vehicle's takeoff mode and then arms it, similar to how the Start
Mission action works.

Key changes:
- Introduced a new GuidedTakeoffCapability flag to distinguish between
  takeoff capability and guided takeoff support.
- Added startTakeoff method in FirmwarePlugin to switch to takeoff mode
  and arm the vehicle, similar to startMission.
- Defined the takeoff flight mode for ArduPlane.
- Updated GuidedActionsController to use the original guided takeoff
  action or this fallback, as appropriate.
Updated the fixed-wing capabilities in PX4FirmwarePlugin to include
Orbit mode, as it is supported for this vehicle type.
@DonLakeFlyer DonLakeFlyer self-requested a review March 18, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant