AutonomyLab / ardrone_autonomy

ROS driver for Parrot AR-Drone 1.0 and 2.0 quadrocopters
http://wiki.ros.org/ardrone_autonomy
BSD 3-Clause "New" or "Revised" License
357 stars 226 forks source link

Fixed error with odometry caused by clockwise/counterclockwise angles #215

Open HALtheWise opened 6 years ago

HALtheWise commented 6 years ago

During testing with the AR Drone 2.0, we noticed that odometry and state estimation was behaving incorrectly when the drone was not facing North or South. We tracked this down to a missing negative sign in the state estimate calculations, caused by clockwise angles coming from the drone, and counterclockwise angles expected by the trigonometry.