|
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
|