View Single Post
  #2   Spotlight this post!  
Unread 17-10-2015, 00:13
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,048
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: Autonomous Code Troubleshooting

The problem with your code right now is that your move variable is set to true in robotInit but nowhere else. Since robotInit is only called when the roboRio first boots up, your auto code will only run once.

The fix that requires the least changes would probably be to put Auto.move=true into autonomousInit instead of robotInit. However, this may not be the smartest way to go depending on what else your code is doing.
Reply With Quote