Quote:
Originally Posted by Gigakaiser
For example, if you know the robot is straight and want to turn 30 degrees (but your gyro drift is adding up), you could turn to gyro.getAngle() + 30.0. Another solution, as MagiChau wrote, is to reset the gyro if you know where your robot is pointed.
|
I already written a program for that but never get to test it because our robot is packed up and only thing i could access from our lab is bunch of sensors and a crio. does is work properly when you use it like that ?