Quote:
Originally Posted by sunny1118
We plan to use on the x-axis left turn the robot counter clock wise and right to trun the robot clock wise. We want to know if it is possible and how? We program in java.
|
You didn't say what kind of drivetrain you have.
If it's a skidsteer, what you are describing sounds like Arcade Drive. Look in RobotDrive.java in the WPILib.
If you have mecanum, and you want independent control of FWD/REV, strafe Left/Right, and rotate (turn) CW/CCW, then you need three inputs.