MadgwickAHRS icon indicating copy to clipboard operation
MadgwickAHRS copied to clipboard

Pitch and yaw reversed in Visualizer

Open descampsa opened this issue 8 years ago • 3 comments

I noticed a minor issue in the visualizer example : the pitch and yaw angles are reversed. When i rotate the board in one direction along one of these axes, the visualization rotate in the opposite direction.

descampsa avatar Sep 01 '16 19:09 descampsa

Are you using the visualizer that comes with this library, or the buggy one from Arduino's website?

https://github.com/01org/corelibs-arduino101/issues/151

PaulStoffregen avatar Sep 01 '16 23:09 PaulStoffregen

I am using the visualizer that comes with the library, and the last git revision.

descampsa avatar Sep 02 '16 06:09 descampsa

Hi Paul. Know you are busy but have a really quick question. @hanyazou (author of the BMI160 lib) gave me code for using the BMI160 FIFO. Had trouble at first but finally got it working with his help. So I incorporated into the visualizer code and works fairly well but having problems with orientation in the Processing visualizer. Don't want to say exactly until I can make sure its not just me. Can you tell me where the transformation matrix came from that is in the code? Looking at a RPY rotation matrix and trying to align it with the matrix I have seen.

Thanks Mike

mjs513 avatar Mar 14 '17 22:03 mjs513