Spatial and quaternions

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

Spatial and quaternions

Post by IanBloomfield »

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests