View Full Version : How to get camera to move?
For some reason, I can't find this. What methods are used to make the camera servos move? What are the method names and arguments? Is there anywhere I can find them? Thanks guys!
Alan Anderson
02-02-2010, 22:55
You speak of "methods" and "arguments", so I will assume you're using C++. The way to control a Servo is with the Servo class.
Look at page 64 of the C Programming Guide for FRC.pdf file. It is installed by default in the C:\windriver\docs\extensions\FRC directory.
Joe Ross
02-02-2010, 22:58
For some reason, I can't find this. What methods are used to make the camera servos move? What are the method names and arguments? Is there anywhere I can find them? Thanks guys!
The default code this year does not use servos to move the camera. You'll find the FRC Vision Whitepaper (http://usfirst.org/roboticsprograms/frc/content.aspx?id=10934) helpful in understanding how the vision software works.
I don't think the circular target lends itself well to using the servos to search for the target.
AlexD744
03-02-2010, 23:17
If using Java look up the set methods in the Servo class in the Java docs.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.