Gyr0sc motion sensor


hello, I am trying to create an animation that interacts with motion sensor gyrOsc. The animation is showing correctly and recives outputs. However, the outputs are all very small numbers which lead the animation to hardly move or interact. Are there any way to increase the output results??



Try the ofMap function:

float ofMap(float value, float inputMin, float inputMax, float outputMin, float outputMax, bool clamp=false)

It will map between values, I have never tried the software you are using, but ata guess it is spitting out values between 0 and 1 as floats and you want to map them between 0 and 360.


Thank you so much! I was able to map the values and able to move the animation :smile: