Here are two screenshots: http://imgur.com/a/8IM9s
I am impressed but there is some delay and lagging behind when moving the phone.
Here are two screenshots: http://imgur.com/a/8IM9s
I am impressed but there is some delay and lagging behind when moving the phone.
I'm using a low pass filter on the raw sensor data to minimize any jittery input.
The code I'm using is as follows:
alpha = 0.1;
output = previous_output + alpha * (new_input-previous_output);
If anyone knows a better way to get a stable and also current read-out, I would be more than interested!Complementary filters works well enough and is very simple to implement even if you're a noob (e.g., high pass on accelerometer and low pass on gyro).
Madgwick, S. O., Harrison, A. J., & Vaidyanathan, R. (2011). Estimation of imu and marg orientation using a gradient descent algorithm. In Proceedings of the IEEE International Conference on Rehabilitation Robotics
http://stackoverflow.com/questions/7947352/exponential-movin...
http://blogs.interknowlogy.com/2011/10/27/kinect-joint-smoot...
Worked pretty well!