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

UNTESTED Yaw in angle PID #109

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Conversation

Quick-Flash
Copy link
Contributor

Often times the fastest way to reach the desired gravity vector (what is used in angle mode) is to yaw. This adds yaw to only angle mode and not NFE racer or horizon modes. This also fixes an issue where when a drone is at 90 deg pitch and angle setpoint is at 90 deg roll the angle PID will not ask for any corrections as roll and pitch error will be 0.

@bkleiner bkleiner changed the base branch from master to develop December 20, 2023 22:07
@bkleiner bkleiner force-pushed the 3d-attitude-PID branch 5 times, most recently from f383fd8 to 131026a Compare December 21, 2023 21:35
@bkleiner bkleiner force-pushed the 3d-attitude-PID branch 2 times, most recently from 412b2eb to 09da44a Compare December 22, 2023 00:49
@bkleiner bkleiner force-pushed the develop branch 2 times, most recently from 78a1c93 to fa68a6c Compare December 27, 2023 22:16
@bkleiner bkleiner force-pushed the 3d-attitude-PID branch 2 times, most recently from d5d98db to 3f17236 Compare December 28, 2023 17:20
@bkleiner bkleiner force-pushed the develop branch 2 times, most recently from f1aff7d to a6590bf Compare December 29, 2023 00:45
@bkleiner bkleiner force-pushed the 3d-attitude-PID branch 3 times, most recently from 4e145db to 22576e0 Compare December 29, 2023 12:34
@bkleiner bkleiner force-pushed the 3d-attitude-PID branch 2 times, most recently from e0e397b to c8966c4 Compare January 21, 2024 01:21
…. Also fixes issue where when at 90 deg pitch and setpoint is at 90 deg roll angle PID will ask for no corrections.
@bkleiner bkleiner merged commit fe00801 into BossHobby:develop Jan 25, 2024
1 check passed
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