|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How should we call camera tracking functions during autonomous mode?
Where, or how, should we call the camera tracking functions to get the camera to track in autonomous mode? Calling the individual Servo_Track and Camera_Handler functions didn't work. We copied Process_Data_From_Master_uP, gave it a new name, commented out the call to Default_Routine, and called that from within User_Autonomous_Code and that didn't work either. We moved things around relative to the getdata and putdata statements, and even tried commenting some of them out, to no avail. The camera stops tracking as soon as it goes into autonomous mode. Any suggestions would be appreciated.
|
|
#2
|
|||
|
|||
|
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();
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| camera in autonomous | LightWaves1636 | Programming | 1 | 12-02-2006 00:20 |
| Scripting Setup and the Camera + Serial Port Drivers | CJO | Programming | 22 | 11-01-2006 17:42 |
| Receiving info from OI to select autonomous mode | Mr. Lim | Programming | 21 | 17-02-2005 00:56 |
| Autonomous With Camera | schenkin | Programming | 20 | 16-02-2005 23:52 |
| Programming Autonomous mode | Jared Stofflett | Programming | 3 | 11-11-2003 09:32 |