Spatial and quaternions

Supporting Max/MSP versions 6 and up
Posts: 29
Joined: Thu Feb 15, 2018 4:49 am

Spatial and quaternions

Postby IanBloomfield » Fri Oct 26, 2018 8:38 pm

Hi there,

Does anyone have any coding that can output the spatial values as quaternions?

I have used trigonometry to produce pitch and roll and complimentary filter to produce pitch and roll. For my next research however I need 3 axis and the pitch of the device is closer to 90 so it makes roll from the accelerometer quite poor. Seems like I need to introduce the magnetometer values to calculate roll when pitch is above a certain value?

Does anyone have experience with this? Or any suggestions for how to overcome?

Return to “Max/MSP”

Who is online

Users browsing this forum: No registered users and 0 guests