
31-01-2006, 19:26
|
 |
La Caņada High School
 FRC #2429
Team Role: Mentor
|
|
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
|
|
|
Re: Camera not working
Quote:
|
Originally Posted by st1nkm4n
Hello
Our camera tracking was working, but alas it has stopped.
By working, I mean that I loaded Kevin Watson's default code (from www.kevin.org/frc) and plugged my camera's power into Analog 1, the Pan servo on the camera into PWM1 and the Tilt servo on the camera into PWM2. And it magically moved the servos to track the object, as Kevin's code did. Oh, and I also plugged the serial port into the robot controller and the camera. (And did not plug in the DB9 cable at the same time). Is there a special condition to activate the PWMs? (And the COM1 terminal window would report the position and stop "searching...")
Oh, and on Labview the camera performs all functions, including servo tracking.
I suspect a special condition must be achieved that I had before (A 12 volt battery that our team electricians hooked up)? Would this matter?
|
Have you consulted the frequently-asked-questions document?
-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
|