View Single Post
  #2   Spotlight this post!  
Unread 24-01-2015, 17:52
Jalerre's Avatar
Jalerre Jalerre is offline
Registered User
FRC #4965 (FIRE)
Team Role: Alumni
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Anderson, SC
Posts: 147
Jalerre is on a distinguished road
Re: Robot won't drive. Help with "command based" programming

I believed the line you are concerned about should be
Code:
Scheduler.getInstance().add(teleopCommand);
Substitute teleopCommand with the drive command that you want to run. That command should be instantiated in robotInit. Also the line should be in teleopInit.

Last edited by Jalerre : 24-01-2015 at 17:54.
Reply With Quote