adafruit / Adafruit_CircuitPython_BNO08x

Helper library for the Hillcrest Laboratories BNO080 IMU
MIT License
22 stars 29 forks source link

Fix game_rotation_vector initial value #10

Closed TwoTenPvP closed 3 years ago

TwoTenPvP commented 3 years ago

Ensures that game_rotation_vector will have a initial value of length 4 to be parsable as a quaternion.

Perhaps it should even be changed to a Identity quaternion?

This should probably also be done for geomagnetic_quaternion

siddacious commented 3 years ago

@TwoTenPvP A PR to add an init value for geomagnetic_quaternion would be appreciated! Thanks for your contribution.