Hällo!
Im receiving the rotation of my Gyroscope (MPU6050) as Quaternion and like to move a Box in VVVV like in the real world. I already tried Angle to Axis but its rotating kind of weird.
Here is my Patch.
mpu_quaternion2.zip (7.5 KB)
I also recorded the movement of the gyroscope as xml and let VVVV read it out.
Just hit the read button.
Has anyone an idea?
id144
January 7, 2017, 5:15pm
2
In your sample patch, just use Vector (4d Join) insteead of AxisAngle (Quaternion Set)
@microdee made an amazing workshop on rotations
joreg
January 7, 2017, 5:17pm
3
one thing for a start: it seems you’re parsing w, x, y, z but then assigning w->x, x->y, y->z and z->w?
oh yeah thanks. It was a mistake by copying the patch. It did not solve it.
Here is the corrected version.
mpu_quaternion2.zip (7.5 KB)
Yep I tried it but it did not change.
system
Closed
January 7, 2018, 6:35pm
6
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.