Log in

View Full Version : How do you program mecanum in iterative robot java


vinharish7
10-01-2015, 14:26
Hi I am a rookie programmer and I am trying to program mecanum wheels in iterative robot java. I see the code in sample robot but I want to convert it into iterative robot. Any suggestions? Any help with be appreciated.

Joey1939
10-01-2015, 14:32
Look here (http://wpilib.screenstepslive.com/s/4485/m/13809/l/241862-driving-a-robot-using-mecanum-drive). It is written in C++, but it should be easy to translate it.

vinharish7
10-01-2015, 15:01
Thank you very much

PikaDotus
10-01-2015, 21:17
Last year our team wrote our own mecanum drive in order to have more fine-grained control over the process. https://gitorious.org/frc-3501/curry-lover/source/b62e30ac4b4ba23b88757e6cc7ae5d90e6dd919f:src/edu/wpi/first/wpilibj/templates/Drivetrain.java