View Single Post
  #4   Spotlight this post!  
Unread 30-01-2014, 13:48
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
Re: [cRIO] Robot Drive... Output not updated often enough.

Quote:
Originally Posted by Team 4939 View Post
Here is the new code:

Code:
-snip-
 public void OperatorControl()
 {
 while (true && isOperatorControl() && isEnabled())
 {
 drivetrain.arcadeDrive(mainStick);// drive w/joysticks
 Timer.delay(0.02);
 }
 }
}
You didn't rename OperatorControl() to operatorControl() as suggested.

Also, the initial part of that while condition does absolutely nothing.
Reply With Quote