Thread: Robot Drive
View Single Post
  #4   Spotlight this post!  
Unread 10-02-2012, 08:42
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
Re: Robot Drive

Quote:
Originally Posted by ssirovica View Post
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?
Not really. As long as you are fine with using both joysticks. It will also become a lot easier to fine tune.

Last edited by eddie12390 : 10-02-2012 at 11:35.
Reply With Quote