View Single Post
  #3   Spotlight this post!  
Unread 03-02-2014, 12:21
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: What to put in disabled() and robotinit()?

Here are some of the things we've put in disabled and robotInit:

robotInit:
Read preferences to determine if practice robot flag has been set
Read autonomous file
configure sensors that need additional configuration beyond the constructor

disabled:
read and display sensors (It's really handy to verify a sensor is working without enabling the robot)
check for changes in autonomous file
select autonomous mode
Reply With Quote