Skip to content
Snippets Groups Projects
Commit d5b61921 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

DCM: use rotation_matrix_from_euler() to calculate initial yaw

When we first get a compass reading or we first start motion we need
to setup the DCM matrix with the right yaw. This uses
rotation_matrix_from_euler() to get a DCM matrix corresponding to our
current roll/pitch, but with the correct yaw
parent ab945f36
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment