View Single Post
  #1   Spotlight this post!  
Unread 02-02-2014, 23:53
Zaque Zaque is offline
FF: Bobo Brigade
AKA: Zachary H.
FRC #3352 (Flaming Monkeys)
Team Role: Programmer
 
Join Date: Mar 2013
Rookie Year: 2013
Location: Belvidere, Illinois
Posts: 91
Zaque has a spectacular aura aboutZaque has a spectacular aura aboutZaque has a spectacular aura about
What to put in disabled() and robotinit()?

Hello all,

In my quest to better understand the control system of the robots, I have noticed that the default disabled and robotinit functions are usually running. I am aware that this is acceptable, but was wondering what could these functions could be used for. I have seen the camera initialized in robotinit() in the sample vision code, and from my understanding nothing will run that is put in the disabled method. What sorts of things does your team program in these methods?

Thanks,
Zaque.
__________________
Zaque (Zach) H.
President
Programming/Electrical Lead
Reply With Quote