View Single Post
  #2   Spotlight this post!  
Unread 15-02-2006, 18:33
Keith Watson Keith Watson is offline
Registered User
FRC #0957 (WATSON)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Wilsonville, OR
Posts: 112
Keith Watson is just really niceKeith Watson is just really niceKeith Watson is just really niceKeith Watson is just really nice
Re: How should we call camera tracking functions during autonomous mode?

Our User_Autonomous_Code() looks like this:
Code:
  while (autonomous_mode)   /* DO NOT CHANGE! */
  {
		
    if (statusflag.NEW_SPI_DATA)      /* 26.2ms loop area */
    {
        Getdata(&rxdata);   /* DO NOT DELETE, or you will be stuck here forever! */
        Camera_Handler();
        Servo_Track();
The trick iss to look in Process_Data_From_Master_uP() to see what functions looked necessary and what order things were called in.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.