|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hey guys!
(First post on CD, yay! )I need some help making our robot less sensitive to the joystick, or some relative acceleration. I am using the basic tutorial code and an arcade drive. Code:
RobotDrive chassis = new RobotDrive(1,2);
Joystick main = new Joystick(1);
Code:
public void operatorControl() {
chassis.setSafetyEnabled(true);
while(isOperatorControl() && isEnabled()) {
chassis.arcadeDrive(main);
Timer.delay(0.01);
}
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|