USU-Robosub / Poseidon

USU's third-generation autonomous submarine
http://usub.cs.usu.edu
17 stars 0 forks source link

Feature/compass helpers #220

Closed TekuConcept closed 6 years ago

TekuConcept commented 7 years ago

The compass alone is not sufficient at producing the correct angle. In order to get the correct angle, the compass needs to be transformed back to the XY plane. This can be done with an accelerometer and some vector algebra.

CompassTools is also accompanied by a test using ideal angles to prove the algorithm's integrity.

TekuConcept commented 7 years ago

Your updates to the vector test script look good to me.