Skip to content

autotest: add QuadPlane TiltrotorVectoringRoll test - #19

Open
peterbarker wants to merge 1 commit into
IamPete1:fixTiltrotorVectoringRollfrom
peterbarker:pr-claude/tiltrotor-vectoring-roll-test
Open

autotest: add QuadPlane TiltrotorVectoringRoll test#19
peterbarker wants to merge 1 commit into
IamPete1:fixTiltrotorVectoringRollfrom
peterbarker:pr-claude/tiltrotor-vectoring-roll-test

Conversation

@peterbarker

Copy link
Copy Markdown

Summary

adds a test for poor tiltrotorvectoring

Classification & Testing (check all that apply and add your own)

  • Checked by a human programmer
  • Non-functional change
  • No-binary change
  • Infrastructure change (e.g. unit tests, helper scripts)
  • Automated test(s) verify changes (e.g. unit test, autotest)
  • Tested manually, description below (e.g. SITL)
  • Tested on hardware
  • Logs attached
  • Logs available on request

Description

Checks that a vectored-yaw tiltrotor tilts its rotors the correct way for a roll demand. Tilting a rotor forward reduces its vertical thrust, so a right roll demand must tilt the left rotor back, which is the opposite of the tilt used for a right yaw demand.

The vehicle is armed on the ground in QACRO with air mode on, where SITL holds it level with zero body rates, so a stick demand gives a steady rate controller output. Manual tilt control via the FWD_THR RC option puts the rotors near Q_TILT_MAX so the sin(tilt) roll term dominates the cos(tilt) yaw term.

tiltrotor-vectoring-34086.pdf

Checks that a vectored-yaw tiltrotor tilts its rotors the correct way
for a roll demand.  Tilting a rotor forward reduces its vertical thrust,
so a right roll demand must tilt the left rotor back, which is the
opposite of the tilt used for a right yaw demand.

The vehicle is armed on the ground in QACRO with air mode on, where SITL
holds it level with zero body rates, so a stick demand gives a steady
rate controller output.  Manual tilt control via the FWD_THR RC option
puts the rotors near Q_TILT_MAX so the sin(tilt) roll term dominates the
cos(tilt) yaw term.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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