Go to Post Eription- the condition of shredding the eardrum from excessive cheering at robot competitions - Wayne C. [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2010, 22:25
TPNigl TPNigl is offline
Registered User
FRC #0069 (Team HYPER)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Quincy, MA
Posts: 94
TPNigl is an unknown quantity at this point
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!
__________________


2011 Pit Crew:
2011 CT Xerox Creativity Award

HYPER Alumni
  #2   Spotlight this post!  
Unread 02-02-2010, 22:55
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
  #3   Spotlight this post!  
Unread 02-02-2010, 22:58
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: How to get camera to move?

Quote:
Originally Posted by TPNigl View Post
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.
  #4   Spotlight this post!  
Unread 03-02-2010, 23:17
AlexD744 AlexD744 is offline
Registered User
FRC #0744 (744 Shark Attack)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ft. Lauderdale, FL
Posts: 639
AlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond repute
Re: How to get camera to move?

If using Java look up the set methods in the Servo class in the Java docs.
__________________
www.sharkattack744.com
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera - how to get out of B&W? pgaston Technical Discussion 9 19-12-2008 09:00
Off-Season Challenge - I Like to Move It, Move It! Kevin Thorp 3D Animation and Competition 11 03-11-2008 16:04
Where do I begin to get the robot to move using the camera? Ianuser Programming 10 16-02-2007 17:55
How do I get distance between Camera and the target? sjung9442 Programming 5 27-01-2006 09:44
how does your robot move? gondorf Technical Discussion 9 16-01-2006 16:36


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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