Quote:
Originally Posted by ssirovica
Our team does not use the robot drive method. Instead we use a hand written drive method.
PHP Code:
public void drive(){
leftMotor1.set(leftStick.getY());
leftMotor2.set(leftStick.getY());
rightMotor1.set(-rightStick.getY());
rightMotor2.set(-rightStick.getY());
}
Do we lose any functionality with this hand written method?
|
You lose arcade drive. I took code that I want from RobotDrive.java and implemented low pass filter on it.