Thread: Robot Drive
View Single Post
  #1   Spotlight this post!  
Unread 29-01-2012, 12:06
ssirovica's Avatar
ssirovica ssirovica is offline
Programming Captain
AKA: Sasha Sirovica
FRC #1458 (Red Ties)
Team Role: Programmer
 
Join Date: Sep 2011
Rookie Year: 2010
Location: Alamo
Posts: 26
ssirovica is an unknown quantity at this point
Robot Drive

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?
__________________
Computers run on smoke. When you let the smoke out the computer stops working.
Reply With Quote