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: Quadpalne: move tiltrotor functionality to own class #18579

Merged
merged 1 commit into from Sep 16, 2021

Conversation

IamPete1
Copy link
Member

@IamPete1 IamPete1 commented Sep 4, 2021

Makes quadplane slightly cleaner and lets us hide tilt params. Removes remaining confusion between tailsitters and tiltrotors.

@IamPete1
Copy link
Member Author

IamPete1 commented Sep 5, 2021

All seems to work as expected with the Griffin in RF

@IamPete1
Copy link
Member Author

IamPete1 commented Sep 8, 2021

rebased on mode changes and re-tested param conversion.

@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label Sep 13, 2021
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.

queue this after peters quadplane enable PR

ArduPlane/tiltrotor.cpp Outdated Show resolved Hide resolved
@IamPete1 IamPete1 force-pushed the tiltrotor_class branch 2 times, most recently from 2c29127 to e447308 Compare September 14, 2021 01:42
tridge
tridge previously requested changes Sep 16, 2021
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.

@IamPete1 testing fails badly on Griffin model in RF9. The motors end up tilting down:
image
it tries to take off like that and does a nose down
parameters attached
griffin.txt

@IamPete1
Copy link
Member Author

I had "fixed" all of those tilt_mask > 0 checks to tilt_mask != 0 including the tilt_mask < 0 that should have been tilt_mask == 0 for early return.

I have done it properly now.

@tridge tridge merged commit c4a1ae4 into ArduPilot:master Sep 16, 2021
@IamPete1 IamPete1 deleted the tiltrotor_class branch September 16, 2021 22:41
@kris000 kris000 removed their request for review September 18, 2021 16:18
@Hwurzburg Hwurzburg removed the WikiNeeded needs wiki update label Apr 2, 2022
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

4 participants