-
Notifications
You must be signed in to change notification settings - Fork 17.2k
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
QuadPlane TVBS: set plane.nav_roll/pitch in QACRO mode #11102
Conversation
LGTM, i will see if i can work out whats going on with my TVBS bronco in realflight and test this tommorow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, works great!
ac6680d
to
7847a11
Compare
@IamPete1 This is still WIP because the motors don't tilt up until I raise the throttle in SITL. This would likely result in prop strikes with real vehicles. |
I have just checked this again in SITL, tilts seems to always point up for me as they should |
nav_pitch_cd should have been correct here, I'd like to know why it wasn't |
7847a11
to
b1dddd4
Compare
@tridge @IamPete1 I found the root cause of the nav_pitch_cd problem and fixed it with a minimal change. |
@tridge I just noticed that ACRO mode has the same issue with not setting nav_pitch/roll. |
b1dddd4
to
82c5972
Compare
… roll controls and limit integrated error in bf_roll_pitch_yaw_3
1c79d5e
to
0940aa5
Compare
Using plane.nav_pitch_cd resulted in motors tilting up when flying level in Q modes.
It might also be a good idea to disable this when in flight to avoid the possibility of inducing control instability during attitude upsets. But is_flying() doesn't seem to be the right test...