forked from bitcraze/crazyflie-firmware
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manual flight: same yaw rate for PID and Mellinger
The PID and mellinger controllers had different behaviors (inverse yaw direction) in manual flight mode, see issue bitcraze#335. The root cause is that the legacy yaw input is actually inverse (with respect to the CF coordinate system). This change changes the sign accordingly before processing and fixes some other math issues related to yaw control. Tested with manual flight using PID and Mellinger controllers.
- Loading branch information
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters