Puck.js gyro/accel and mag orientation. #4231
Unanswered
espruino-discuss
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment
-
Posted at 2023-08-29 by @gfwilliams I'm afraid there isn't any diagram available at the moment, but it's usually pretty easy to see by dumping the output as you turn the Bangle. For accel/gyro:
For magnetometer it's flipped which is a bit confusing:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2023-08-24 by adasim
Hi everyone. I just wanted to check if there is a diagram showing the axis alignment for the gyro/accel and magnetometer. The documentation seems to give an answer for the magnetometer, but isn't specific as to the positive and negative directionality, and I can't find it for the gyro and accelerometer.
The reason that I ask is because, I seem to have to do some odd flipping when using this library:
https://github.com/psiphi75/ahrs
In order to not have the mag readings fight with the faster accelerometer and gyro readings.
Beta Was this translation helpful? Give feedback.
All reactions