ClemensElflein / OpenMower

Let's upgrade cheap off-the-shelf robotic mowers to modern, smart RTK GPS based lawn mowing robots!
Other
4.65k stars 276 forks source link

WT901 overflow issue #31

Closed ClemensElflein closed 1 year ago

ClemensElflein commented 2 years ago

If the magnetic offset of the WT901 is too large, the values will overflow or clip. This way the orientation in the open mower software will be nonsense. The solution is to move the WT901's offset register in such a way that the values are in a sensible area. We should probably detect the overflow somehow and move the offsets accordingly.

ClemensElflein commented 2 years ago

Example of the overflow: overflowing_magnetometer

Example of clipping: clipped_magnetometer

Example of a good magnetometer plot: good_magnetometer

ClemensElflein commented 1 year ago

closing this, since we don't need the magnetometer anymore