Search Results

by IanBloomfield
Wed Nov 07, 2018 3:54 pm
Forum: Max/MSP
Topic: Direction Cosine Matrix
Replies: 0
Views: 33414

Direction Cosine Matrix

If anyone is interested I have successfully learnt the math that computes a direction Cosine Matrix from the raw accelerometer and magnetometer readings from the phidget spatial. I just need to implement the gyroscope into this then decide how best to output my data but happy to share my patch if an...
by IanBloomfield
Wed Oct 31, 2018 12:46 am
Forum: Labview
Topic: Madgwick filter
Replies: 0
Views: 32963

Madgwick filter

Does anyone have any experience with the 3rd part madgwick filter by Roger Isaacs in LabVIEW? it takes accel 3 axis output in g/s, gyro 3 axis deg/s and magnetometer G/s and converts to Quat or Euler angles. I can't work out how to alter it into to take my phidget outputs? I can't attach the Madgwic...
by IanBloomfield
Mon Oct 29, 2018 7:13 pm
Forum: General
Topic: Calibration of spatial 1042
Replies: 0
Views: 14554

Calibration of spatial 1042

Hi, can I ask regarding the magnetometer aspect of the phidget spatial. I read regarding the calibration software. I have two phidgets connected via a VINT. it defaults to one so I sequentially connected them and ran the calibration software. following the instructions. I'm using MAX/MSP for my prog...
by IanBloomfield
Sun Oct 28, 2018 10:53 pm
Forum: Phidgets
Topic: Phidget Spatial 1042
Replies: 0
Views: 31137

Phidget Spatial 1042

Hi, can I ask regarding the magnetometer aspect of the phidget spatial. I read regarding the calibration software. I have two phidgets connected via a VINT. it defaults to one so I sequentially connected them and ran the calibration software. following the instructions. I'm using MAX/MSP for my prog...
by IanBloomfield
Fri Oct 26, 2018 8:38 pm
Forum: Max/MSP
Topic: Spatial and quaternions
Replies: 0
Views: 34894

Spatial and quaternions

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...
by IanBloomfield
Thu Mar 15, 2018 3:40 pm
Forum: Max/MSP
Topic: setHubPort not working?
Replies: 19
Views: 119205

Re: setHubPort not working?

Do you think it would work with the jit.axisquat obj? If I plug gyro data into it with an expr $f1*timestamp to create a degree rotation? That obj is supposed to convert 3axis rotation into a quaternion? My numbers at present work completely fine accept if I rotate the pitch >60degrees then try to r...
by IanBloomfield
Tue Mar 13, 2018 3:42 am
Forum: Max/MSP
Topic: setHubPort not working?
Replies: 19
Views: 119205

Re: setHubPort not working?

What I don't understand with quaternions is what value do I take from the raw gyro for the angles for quaternions? I've read lots of forums etc about it. I have the atan2 formula for the accelerometer calculation - but I use this as my correction for they gyro when its not moving. I can't work out r...
by IanBloomfield
Thu Mar 08, 2018 5:39 pm
Forum: Max/MSP
Topic: setHubPort not working?
Replies: 19
Views: 119205

Re: setHubPort not working?

not sure if this is a good way have incorporated a way of calibrating the gyros using switches and bangs then automatically feed this result back to my gyros. I have the complimentary filter in place but was still getting significant drift from the gyro - mainly from pitch it never returned to 0 wou...
by IanBloomfield
Wed Mar 07, 2018 7:43 pm
Forum: Max/MSP
Topic: setHubPort not working?
Replies: 19
Views: 119205

Re: setHubPort not working?

Smokes - fixed this

had space between words

should read - setDataInterval 20

it is phenomenal now the number speed
by IanBloomfield
Wed Mar 07, 2018 7:32 pm
Forum: Max/MSP
Topic: setHubPort not working?
Replies: 19
Views: 119205

Re: setHubPort not working?

here is my screenshot