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

Plane: add param Q_TILT_BIAS_CH for RC control of motor tilt forward bias #11378

Closed
wants to merge 2 commits into from

Conversation

kd0aij
Copy link
Contributor

@kd0aij kd0aij commented May 19, 2019

supersedes #11270
this lets you assign an RC channel (knob or slider) to tilt the motors forward for higher speed in QHOVER, QSTABILIZE and QACRO modes; pitch stick controls attitude as before
Has no effect in QAUTOTUNE mode or in FW modes with the motors fully forward.

flight tested In SITL and with PixRacer/Convergence

@kd0aij kd0aij requested a review from tridge May 19, 2019 20:29
@kd0aij
Copy link
Contributor Author

kd0aij commented May 24, 2019

low speed QSTABILIZE mode flight test looks good. RC8 is the tilt channel:
image

higher speed test (flown into the wind) including QHOVER mode; but do we want to allow this to affect QHOVER?
image

@kd0aij kd0aij added the WIP label May 25, 2019
Copy link
Contributor

@tridge tridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could be done a lot more simply by modifying tiltrotor_slew() to add to the slew

@kd0aij kd0aij force-pushed the pr-tiltrotor-bias2 branch 3 times, most recently from c277f9e to 4a461d2 Compare May 25, 2019 13:13
@kd0aij
Copy link
Contributor Author

kd0aij commented May 25, 2019

@tridge I don't see how the logic can be simplified by moving it down into tiltrotor_slew(), but I rearranged it to make things less confusing. Also moved the check for channel assignment out of the main loop and into init code.

@kd0aij
Copy link
Contributor Author

kd0aij commented May 25, 2019

E-Flite Convergence test flights: modes QHOVER and FBWA. Wind speeds 5-15 m/sec.
QLOITER mode seemed unstable when headed downwind. QHOVER mode behaved pretty well using tilt bias to compensate for wind.

log13-15

add @RebootRequired to metadata for param Q_TILT_BIAS_CH

scale manual tilt bias to Q_TILT_MAX
@kd0aij
Copy link
Contributor Author

kd0aij commented Jun 2, 2019

More flight testing with the Convergence; with tilt_max=25 degrees, top speed is 10-15 m/sec in Qmodes, and handling is good. Transitions to/from FBWA and QLOITER were fine at min and max tilt.

image

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.

None yet

2 participants