So as far as I am aware of, the gyro sensor returns values from -3600 to 3600. However, when I print the values on to the LCD screen, I get values wayy off that, like 10000
Is it a problem with the gyro, or …
So as far as I am aware of, the gyro sensor returns values from -3600 to 3600. However, when I print the values on to the LCD screen, I get values wayy off that, like 10000
Is it a problem with the gyro, or …
What do you see in the sensors debug window ?
yes, the gyro should return values in the +/- 3600 range, make sure you have correctly setup the gyro in the motors&sensors setup dialog. Also, make sure you have connected the gyro to the same analog port you specified in that dialog. Finally, make sure the 3 wire cable is connected correctly. The black wire goes to the pin labeled “B” on the gyro. The black wire should be on the outer side of the cortex.
There is more information that may help here.
http://www.robotc.net/blog/2011/10/13/programming-the-vex-gyro-in-robotc/