juancarlostinoco / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Takeoff angle bug #651

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've been playing around with the takeoff command (APM 1.4) and any time I put 
in a takeoff angle of greater than around 260 degrees, the angle in the 
autopilot gets set to a radically different angle. For instance, when I set the 
takeoff angle to 330 and then read it back in mission planner, I wind up with a 
takeoff angle of around 070. Not double checking this resulted in the 
destruction of one of our Bixlers. Perhaps I am not understanding the angle 
portion of the takeoff command. Is this a bug or is the takeoff angle parameter 
not related to compass direction?

Thanks,

- Mark

Original issue reported on code.google.com by markpe...@gmail.com on 2 Jun 2012 at 4:52

GoogleCodeExporter commented 8 years ago
it's probably an int overflow bug ( ie it wrapps around at values greater than 
255 ) ? 

Original comment by davidb...@gmail.com on 2 Jun 2012 at 7:31

GoogleCodeExporter commented 8 years ago
User was confused about function. It describes pitch (1-45 degress), not 
compass angle. 

Original comment by analogue...@gmail.com on 2 Jun 2012 at 4:48