Quote:
Originally Posted by nfusselman1
Hello I am trying to make a code that will take the roboRIO's built in accelerometer and a Gyroscope so we can know how far the robot has traveled and the direction it is facing. The code will need to be integrated into the autonomous code to make the robot stop after a certain distance has been traveled and the angle it is facing.
|
Using an accelerometer to measure distance will require integrating a noisy signal twice.
It would be better to put encoder(s) on the wheel(s).