• Correcting the Magnetometer

    Josh Cole07/16/2022 at 16:36 0 comments

    Today I am implementing Rodrigues Rotation Formula.

    This is a mathematical formula for rotating a 3-dimensional vector about another arbitrary vector. What does that mean?

    I've been developing this "remote sensor cluster" for my telescope which will allow me to use an app to figure out where the telescope is pointed at. The sensor itself is offset about the Y-axis by 45 degrees. This means that the magnetometer (the compass) is slewing in a weird way through space when the telescope moves, thus giving a skewed heading.

    By applying Rodrigues Rotation Formula I can compensate the sensor readings about the mounted angle, and theoretically correct them somewhat.

    Correcting those sensor readings is my goal for this weekend.