|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Getting the camera to work in autonomous
I've now got the camera working in human operated mode but when we switch over to autonomous nothing happens. I've also included tracking.h in user_routines_fast.c, Our code currently looks something like this:
Code:
Getdata(&rxdata);
Camera_Handler();
Servo_Track();
if (Get_Tracking_State == TARGET_IN_VIEW)
{
pwm13 = pwm15 = 170;
}
else
{
pwm13 = pwm15 = 127;
}
Generate_Pwms(pwm13,pwm14,pwm15,pwm16);
Putdata(&txdata);
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting the Camera out of Idle | Eclipse | Programming | 2 | 13-02-2007 04:06 |
| Camera did not work for well at the regionals, but worked great at home. | Alan Ing | Programming | 12 | 17-04-2006 17:43 |
| even simple autonomous code doesn't work?? | colman77 | Programming | 4 | 17-02-2006 23:58 |
| Getting the Camera and Default Code to Work | nukem | Programming | 5 | 18-01-2006 11:48 |
| Anyone get Autonomous mode to work? | Larry Barello | Control System | 4 | 13-01-2004 15:15 |