|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#15
|
|||
|
|||
|
Re: Unidentifiable Problem
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.SimpleRobot; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.RobotDrive; public class RobotTemplate extends SimpleRobot { RobotDrive myDrive=new RobotDrive(1,2); Joystick driveStick=new Joystick(1); public void autonomous() { } public void operatorControl() { while(isAutonomous()&& isEnabled()){ myDrive.arcadeDrive(driveStick); } } public void test() { } } |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|