You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
If I remember correctly (this is not mentioned on the Phoenix javadoc), getFusedHeading() returns an angle modded by 360. We need a continuous angle, because we need to know how many revolutions have been made when we determine track width.
We could detect rollovers from 360 deg to 0 deg if you think that the additional accuracy is important, but I didn't have any issues last year using getRawHeading() to get the track width for trajectory following on our competition robot.
There's getYawPitchRoll and get6dQuaternion. The latter will be normalized on [-180, 180] when you convert to Euler angles, because you have an atan2 in that process. I don't know if getYawPitchRoll returns a non-modded angle. I vaguely recall it being modded from when we used it last year.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I suspect
getFusedHeading()
would be better for getting the current heading, for example.The text was updated successfully, but these errors were encountered: