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

VTOL: keep status (MC/FW) when switching out of mission mode #12684

Closed

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented Aug 12, 2019

Describe problem solved by the proposed pull request
Addresses #12680.

With this PR it is no longer the position of transition switch that sets the VTOL status when changing out of mission into manual mode, but the current VTOL status (MC or FW) is kept until the transition switch is moved to the position that is mapped to the opposite VTOL status.

Test data / coverage
Only SITL tested yet (and there the problem described in #12680 is anyway not reproducible, as the transition switch on a joystick is doesn't have states but only triggers events)

…ing out of mission into manual mode, but keep current VTOL status (MC or FW) until transition switch is moved to the opposite position.

Signed-off-by: Silvan Fuhrer <[email protected]>
@hamishwillee
Copy link
Contributor

@sfuhrer Can you either update http://docs.px4.io/master/en/flight_modes/mission.html#description with this information or ping me when this is merged?

Note that it is not entirely obvious where you would put the info. I think I'd start by adding a section for VTOL and seeding it with the text from the current description: "VTOL vehicles follow the behavior and parameters of fixed-wing when in FW mode, and of copter when in MC mode." ... then describe this feature.

@RomanBapst
Copy link
Contributor

Based on discussion from Devcall. Move transition logic out of vtol controllers and have a vehicle command be published when transition switch changes.
@sfuhrer @dagar FYI

@stale
Copy link

stale bot commented Nov 19, 2019

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Nov 19, 2019
@sfuhrer sfuhrer removed the stale label Nov 20, 2019
@stale
Copy link

stale bot commented Feb 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Feb 17, 2020
@sfuhrer sfuhrer closed this Dec 9, 2020
@sfuhrer sfuhrer deleted the pr-VTOL_track_mode_of_mission_into_manual branch November 21, 2024 12:39
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.

3 participants