ethz-asl / mav_control_rw

Control strategies for rotary wing Micro Aerial Vehicles using ROS
Apache License 2.0
347 stars 159 forks source link

cleaner yaw wrap #20

Closed ZacharyTaylor closed 6 years ago

ZacharyTaylor commented 6 years ago

The fix in #19 was an ugly hack with two issues. It had an unneeded while loop and more importantly if the prediction became off by an entire revolution the system would become stuck in this state.

This pr should fix both issues, I will test on a platform later today