thingswebuilt / osod24_firmware

0 stars 0 forks source link

create a set_heading method in state_estimator #33

Closed markmellors closed 4 months ago

markmellors commented 6 months ago

We need a means of either setting a heading offset, or taring the IMU, so that an arbitary angle can be considered the new zero heading. A heading offset is probably the preferable method, as that then allows us to set the zero heading to an orientation we're not currently in. For example if we know we're currently at 45degrees to the arena's alignment, we should be able to set the current heading to 45degrees, rather than having to rotate back 45degrees then set the heading to zero.

markmellors commented 4 months ago

achieved by PR #54