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

Add support for fullStateSetpoint in PID controller #1100

Merged

Conversation

whoenig
Copy link
Contributor

@whoenig whoenig commented Aug 25, 2022

When using fullState CRTP package, the desired rotation is encoded as a
quaternion. The Mellinger controller correctly computes the desired yaw
in this case. In the PID controller, this is currently ignored. This
change adds the same logic.

Test case: Crazyswarm2 teleoperation.

When using fullState CRTP package, the desired rotation is encoded as a
quaternion. The Mellinger controller correctly computes the desired yaw
in this case. In the PID controller, this is currently ignored. This
change adds the same logic.

Test case: Crazyswarm2 teleoperation.
@krichardsson
Copy link
Contributor

Nice, thanks!

@krichardsson krichardsson merged commit 872ea2b into bitcraze:master Aug 26, 2022
@whoenig whoenig deleted the bugfix_full_state_setpoint_pid branch August 26, 2022 06:51
@krichardsson krichardsson added this to the 2022.09 milestone Sep 7, 2022
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.

2 participants