|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Camera Tracking Woes
Has anyone been able to get the camera to track and follow (or get close to) one of the vision tetras?
I had an idea about having the drive motors try and turn so that the pan servo on the camera returns to zero, but that doesn't seem to be working. I have something like this Code:
if (cam.pan_servo < 127) // Camera is turned left
{
pwm01 = 70; // Left Drive Motor
pwm-2 = 200; // Right Drive Motor Forward
}
else
Any ideas? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Scripting Setup and the Camera + Serial Port Drivers | CJO | Programming | 22 | 11-01-2006 17:42 |
| Kevin Watson's Kick-off Demo Code! | Mr. Lim | Programming | 27 | 22-01-2005 03:38 |
| Camera Auto Tracking? | Ryan Cumings | Programming | 9 | 22-01-2005 02:20 |
| Game Field Camera Calibration | Matthew_H | Regional Competitions | 2 | 15-01-2005 23:09 |
| CMUCam2 Camera Code - Are important parts commented out? | Mr. Lim | Programming | 4 | 14-01-2005 12:11 |