« SERIAL DATA IN MAX | Main | AMNH: THE HALL OF HUMAN ORIGINS »

GL AND SMOOTHING ATTEMPT

ATTEMPT IN MAX TO SMOOTH OUT X,Y,Z AND OPEN GL

I have been trying to smooth out the signal coming in from the accelerometer. I started by dividing by 2, although i think i will remove that part. Then i made the average between the new and old value. I will apply a simple averaging or moving averaging math to the Arduino program or I will do it in MAX. I can't figure out which one is more reliable and less energy consuming. I think MAX would be the best option, but with Serial data sometimes i have seen it crash.

patch_gl.png


Then I started playing with the plane with Open GL objects, but i am still far from a good result. I will see what i can do.

sq1.png sp2.png sp3.png

TrackBack

TrackBack URL for this entry:
http://itp.nyu.edu/~bp432/cgi-bin/mt/mt-tb.cgi/77