View Single Post
  #3   Spotlight this post!  
Unread 30-09-2012, 23:16
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Autonomous timeout

Quote:
Originally Posted by Bennett View Post
cannot find symbol
symbol: variable timeout
location:class edu.wpi.first.wpilibj.templates.commands.turnLeft
This error means that the compiler is looking for a variable named "timeout" and can't find it. I'm guessing you meant for timeout to be a parameter of the constructor, but forgot to actually put it in. The change is easy:

Code:
    public turnLeft(double timeout) {
Reply With Quote