Open mxa opened 7 years ago
For didactic purposes it would be interesting to implement the MARG algorithm in Pd, even though it ideally should be run on the phone in higher frequency and then down-sampled for OSC transmission. It can be found at http://x-io.co.uk/res/doc/madgwick_internal_report.pdf and https://github.com/xioTechnologies/Open-Source-AHRS-With-x-IMU
As per https://stackoverflow.com/questions/27106607/get-rotation-and-display-in-degrees I need to implement a rotation matrix, because the axis of rotation change when the phone is rotated. Possibly using iemmatrix . See also https://github.com/SensorApps/Sensors2OSC/issues/15