|
Re: ftc mecanum code
Here are the screen shots of our code.
There are 3 pictures.
The way it works by adding and subtracting the values of the joysticks depending of the wheel. The middle attempts to normalize the value of the joysticks because if you don't it will end up driving really fast all the time.
**I have not included our code from last year directly because we had a really weird problem with our code that we couldn't figure out. When ever the joystick value got higher than aprox. 100 the motor outputs were reversed. I rewrote this code several times and could never get it to work.
__________________
Stronghold
Student 2013-2016
3135 -- Robotic Colonels
3507 -- Robotheosis (FTC)
|