Any one know the best way to recieve data from sparkfun’s 6DOF sensor (3 axis gyro+acceleromater + bluetooth) directly to a MAX/MSP patch ???
Or has any one have an object that already dose the job ?
Quote: firstname.lastname@example.org wrote on Fri, 08 February 2008 05:16
> Any one know the best way to recieve data from sparkfun’s 6DOF sensor (3 axis gyro+acceleromater + bluetooth) directly to a MAX/MSP patch ???
I’d be surprised if hi worked, but the serial object probably will.
hi yaal, i did try to interface that beast. getting it in is not a problem, using it is another.
the problem is the data from this module is very jittery and sensor drift is unavoidable. projects that use low cost 6dof solutions like this usually apply some sort of advanced filters that use the input from the accelerometers and from the gyro’s to continuously feedback each other. so if one stream is jittery and the other is drifting you still can get some sort of usable result, when combined.
unfortunately this kind of filtering (a.k.a kalman type filtering) is pretty difficult to apply.
attched is basic parsing and also an [explain] subpatch for more resources and some forumlas.