View Single Post
  #5   Spotlight this post!  
Unread 31-01-2011, 21:10
Omgsar's Avatar
Omgsar Omgsar is offline
Registered User
AKA: Evan Gray
FRC #2745 (S.A.R.)
Team Role: Programmer
 
Join Date: Apr 2009
Rookie Year: 2008
Location: San Antonio
Posts: 7
Omgsar is an unknown quantity at this point
Re: How do I upload code to the Robot with Java?

Here are all of our declarations:
Code:
 public Joystick leftStick = new Joystick(1);
    public Joystick rightStick = new Joystick(2);
  public Jaguar jagFrontLeft = new Jaguar(1);
  public Jaguar jagFrontRight = new Jaguar(2);
   public Jaguar jagBackLeft = new Jaguar(3);
    public Jaguar jagBackRight = new Jaguar(4);
    public RobotDrive driveRobot = new RobotDrive(1, 3, 2, 4);
    public Gyro roboGyro = new Gyro(7);
    double leftX =0;
    double leftY =0;
    double rotationRate =0;
    double gyroAngle =0;
    int i = 0;
Reply With Quote