tum-vision/tum_ardrone

Rotation with more than 180 degrees

Opened this issue · 0 comments

Hi, I am using this package for my research and I must say it has been extremely useful. I am hoping to develop some sort of autopilot for the ARDrone, but have run into an issue with rotating past 180 degrees. Has anyone encountered this?

It seems like the drone gets "stuck" (never reaches the current target) whenever it crosses that threshold. You can recreate this easily by starting up the drone and sending incremental commands like:

goto 0 0 0 10
goto 0 0 0 20
.
.
.
and so on until you reach 180. Going past this number becomes impossible and you have to clear the command queue before the drone can move past it.

The problem is easily fixable by changing the reference pose, but it seems like there is a bug somewhere. It's worth noting that this does not seem to be a problem with ardrone_autonomy as similar tests have no problem.