qbead / firmware

GNU General Public License v3.0
0 stars 9 forks source link

document mapping from IMU reference frame to LED reference frame #6

Open Krastanov opened 6 months ago

Krastanov commented 6 months ago

The motion sensor (and the whole microcontroler) are usually not oriented such that its Z axis goes through the axis of the LED sphere.

This line takes care of that: https://github.com/qbead/firmware/blob/8b6110f3facfd6b61ff4049e48b7dc6030dbf7fd/qbeadfirmware/qbeadfirmware.ino#L191-L198

It would be nice to be able to reconfigure this mapping without having to modify the library.

Krastanov commented 4 days ago

These are now configurable:

https://github.com/qbead/firmware/blob/78bbb0b4dd0bb6808103f601b4091156f9616696/src/Qbead.h#L115-L120

but they need documentation (potentially as part of #26 )