Team-2502 / RobotCode2018

All of our code for our 2018 robot.
GNU General Public License v3.0
3 stars 0 forks source link

Use accelerometer data for localization when robot is detected to be slipping (more than usual) #46

Closed andrewgazelka closed 6 years ago

ritikmishra commented 6 years ago

Even with the a working NavX, the accelerometer is pretty "noisy". This noise is amplified when the double integral is taken, so I doubt that the accelerometer data will be accurate to any degree

andrewgazelka commented 6 years ago

accelerometer is bad

ritikmishra commented 5 years ago

also how do you detect robot slippage

sounds like the proper solution is to forego using encoders for localization and instead attach a mouse to the bottom of the robot for localization.

andrewgazelka commented 5 years ago

slippage would be detected when the calculated position per a unit time is significantly different between the accelerometer and the encoders. I think a mouse sounds like a good idea to try.