Quote:
|
Originally Posted by DemonYawgmoth
We were trying out some things in the code, and when we loaded on the frc_camera_s code that is available on kevin.org/frc, we found that no robot functions are working. We tested out the code without any of our changes and found once again that no functions worked. We tested it with the default code without any camera stuff and it worked. Joysticks are working properly, and the digital sensor code that we wrote before worked as well. Is there anything that we have to set in kevin's code to make it work?
|
In Kevin's code in the file "user_routines.c" in the
Process_Data_From_Master_uP function, the call to default_routine() is commented out. Uncomment that call and you should have drive control. If you want the drive code to have highest priority and execute regardless of whether camera is connected or not, move the call to default_routine() to in front of the call to the camera functions.
<EDIT>
Kevin beat me to it by 3 minutes ; )
<EDIT>
Hope this helps,