BossHobby / QUICKSILVER

Flight Controller Firmware
MIT License
176 stars 42 forks source link

UNTESTED Yaw in angle PID #109

Closed Quick-Flash closed 10 months ago

Quick-Flash commented 11 months ago

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.