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

FW Pos C: add option to disable airspeed setpoint via stick input #19003

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented Jan 13, 2022

Describe problem solved by this pull request
Currently moving the throttle stick in manual Altitude and Position flights changes the airspeed setpoint. I think for most users it would be easier to be able to set the speed in the UI of QGC, like I'm pushing for with #18834. And especially for setups with spring loaded sticks the UX for airspeed setting via sticks is particularly bad.

Describe your solution
Rename FW_POSCTL_INV_ST to FW_POS_STK_CONF and make bitmask out of it:

  • bit 0: alternative mapping (height rate on throttle stick, airspeed on pitch)
  • bit 1: enable/disable airspeed setpoints via stick

Test data / coverage
Flight tested on various platforms.

-rename FW_POSCTL_INV_ST to FW_POS_STK_CONF and make bitmask out of it:
  - bit 0: alternative mapping (height rate on throttle stick, airspeed on pitch)
  - bit 1: enable/disable airspeed setpoints via stick

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
@sfuhrer sfuhrer merged commit 632dfa5 into master Jan 19, 2022
@sfuhrer sfuhrer deleted the pr-fw-stick-airspeed-off-master branch January 19, 2022 09:13
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.

2 participants