Gathiyo / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Potential error for converting lat/lon to roll/pitch #319

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Arducopter V2.2 b4 (latest code)

What steps will reproduce the problem?
Looking at code in Arducopter.pde.

What is the expected output? What do you see instead?
In the function update_trig, lines 1781 and 1782, the first element (a.x) of 
the DCM matrix is taken to be sin(yaw) and the element b.x is taken to be 
cos(yaw).

I just looked at the DCM matrix that we are using and thought that it should be 
the other way round, with the a.x element being cos(yaw) and b.x being sin(yaw).

Please let me know if I am mistaken or is this an error that should be fixed? 
Thanks!

Original issue reported on code.google.com by cheeguan...@gmail.com on 24 Jan 2012 at 4:47

GoogleCodeExporter commented 8 years ago
Closing all issues on the old issues list and marking them WontFix 'cuz I don't 
want to mark them as "done"

Original comment by rmackay...@gmail.com on 21 Jul 2013 at 2:11