last line is:
for (axis=0;axis<2;axis++) angle[axis] = A[axis]*570.29577951; //angle in multiple of 0.1 degree
but 180/M_PI is 57.29
so the line must be:
for (axis=0;axis<2;axis++) angle[axis] = A[axis]*572.9577951; //angle in multiple of 0.1 degree
Bug in getEstimatedAttitude
Re: Bug in getEstimatedAttitude
This can cause an angle jump.
-
- Posts: 1630
- Joined: Wed Jan 19, 2011 9:07 pm
Re: Bug in getEstimatedAttitude
right, it's a small bug
but why an angle jump ?
but why an angle jump ?