|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#8
|
||||
|
||||
|
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;
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|