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

Tiltrotor: move spin up tilt to control allocation #21991

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented Aug 22, 2023

Solved Problem

This removes the functionality around specifying a spin up tilt thorough the param VT_TILT_SPINUP in the VTOL module , and instead adds the functionality in slightly altered fashion in the control allocation for tiltrotor VTOLs. How it works now:

  • set the tilt outputs to NAN if in hover mode and disarmed
  • NAN in the outputs corresponds by definition to "set this actuator to the disarmed state"
  • allow the tilts to go to normal operation once spool up is completed (tunable through COM_SPOOLUP_TIME)

Changelog Entry

For release notes:

Feature: VTOL tiltrotor: remove VT_TILT_SPINUP and instead have tilts at the disarmed value during the spoolup (COM_SPOOLUP_TIME)

Alternatives

It would be nice if the specified slew rate limiting on the tilts is also active during the spin up. To achieve that we could again use a customized tilt for spin up (re-use VT_TILT_SPINUP in the control allocation) and set the tilts to this value until 1s after arming. Problem with that approach is that then the allocation will compensate for the loss in vertical thrust effectiveness due to the motor tilt, with results in the motor throttle going above the specified minimum when the motors are tilted for spin up, only to then go down again when idling on the ground with the tilts in MC configuration.

Test coverage

flight tested.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
@sfuhrer sfuhrer requested a review from bkueng August 22, 2023 11:34
…to COM_SPOOLUP_TIME

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
@sfuhrer sfuhrer merged commit 0eb276f into main Aug 24, 2023
82 of 86 checks passed
@sfuhrer sfuhrer deleted the pr-tiltrotor-spin-up-to-ca-main branch August 24, 2023 11:57
royratcliffe pushed a commit to royratcliffe/PX4-Autopilot that referenced this pull request Sep 6, 2023
EffectivenessTiltrotor: link time when to tilt motors to MC position to COM_SPOOLUP_TIME
- remove VT_TILT_SPINUP and special spin up tilt handling form the VTOL module
- now handle the spoolup in the allocation, directly linked to COM_SPOOLUP_TIME
- leave tilts at disarmed value during spoolup

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
EffectivenessTiltrotor: link time when to tilt motors to MC position to COM_SPOOLUP_TIME
- remove VT_TILT_SPINUP and special spin up tilt handling form the VTOL module
- now handle the spoolup in the allocation, directly linked to COM_SPOOLUP_TIME
- leave tilts at disarmed value during spoolup

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
ryrobotics pushed a commit to ryrobotics/PX4-Autopilot that referenced this pull request Jan 4, 2024
EffectivenessTiltrotor: link time when to tilt motors to MC position to COM_SPOOLUP_TIME
- remove VT_TILT_SPINUP and special spin up tilt handling form the VTOL module
- now handle the spoolup in the allocation, directly linked to COM_SPOOLUP_TIME
- leave tilts at disarmed value during spoolup

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants