strongback / strongback-java

A library for FIRST Robotics Competition robots that makes it easier to write and test your robot code.
MIT License
41 stars 38 forks source link

MecanumDrive cartesian is inverted in the horizontal direction #114

Open rothso opened 7 years ago

rothso commented 7 years ago

This was following the recent update to MecanumDrive. It appears that left/right are now inverted for relative cartesian drive. Driving at an angle also moves the bot in the wrong directions, which leads me to think something doesn't check out in the math. Everything was working fine before the update.

agausmann commented 7 years ago

Yes, you are correct; the input axes were changed for 2017.2.0 so they would be consistent with the inputs of the TankDrive#arcade() methods. Read the latest JavaDoc and compare its expected inputs to your current input scheme to make sure this is actually a bug.