View Single Post
  #1   Spotlight this post!  
Unread 27-09-2012, 19:20
Bennett Bennett is offline
Registered User
FRC #2977 (Sir Lancer Bots)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Minnesota
Posts: 26
Bennett is an unknown quantity at this point
Autonomous timeout

We are trying to program autonomous code for our robot and in our commands we have
Code:
    public turnLeft() {
        m_timeout = timeout;
        requires(chassis);
but the m_timeout = timeout; says that m_timeout has private access in edu.wpi.first.wpilibj.command.Command
cannot find symbol
symbol: variable timeout
location:class edu.wpi.first.wpilibj.templates.commands.turnLeft

any ideas as to why?
thanks.
Reply With Quote