Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How to get camera to move? (http://www.chiefdelphi.com/forums/showthread.php?t=81781)

TPNigl 02-02-2010 22:25

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

Re: How to get camera to move?
 
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

Re: How to get camera to move?
 
Quote:

Originally Posted by TPNigl (Post 912233)
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 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

Re: How to get camera to move?
 
If using Java look up the set methods in the Servo class in the Java docs.


All times are GMT -5. The time now is 02:05.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi