Quote:
Originally Posted by Xavbro
After you've done that, you can tune the values for deadzones and such as needed. You would then use those values to apply to the drive motors as such:
leftMotor1.set((rotate + straight));
leftMotor2.set((rotate + straight));
rightMotor1.set(rotate - straight));
rightMotor2.set((rotate - straight));
|
Or you could just use WPILib's own
RobotDrive->ArcadeDrive function.