Go to Post "I'm not going to tell you all that you all are winners. At this point you are smart enough to know whether you are or you aren't." -Woodie Flowers - Barry Bonzack [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 11-01-2007, 18:03
yarb65 yarb65 is offline
Coach
AKA: T Bray
FRC #3189 (Circuit Breakers)
Team Role: Coach
 
Join Date: Jan 2005
Rookie Year: 2005
Location: El Dorado, CA
Posts: 85
yarb65 has a spectacular aura aboutyarb65 has a spectacular aura about
Camera HELP!

How did you get the Robot to "follow" the green light!

All i can do is get the camera to follow not the whole robot....

HELP!

I have used both MPLab and Easy C
__________________
2013 Sacramento Regional Winner (3189,701,2489))
2012 Israel Regional Winner (1662,1690,1937)
2008 Sacramento Regional Winner (1662,115,2122)
2006 Sacramento Regional Winner (1662,852,1726)
  #2   Spotlight this post!  
Unread 11-01-2007, 18:06
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Camera HELP!

You will have to program as in write code to that actually responds to the information you get from the camera. If you're using Kevin Watson's code, you get information such as blob size, dimensions and position of the light. You can use that information to track your robots position in respect to the light. Good luck.

More resources at: www.kevin.org/frc
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson

Last edited by Bharat Nain : 11-01-2007 at 18:42.
  #3   Spotlight this post!  
Unread 11-01-2007, 18:41
Eric W. Jones's Avatar
Eric W. Jones Eric W. Jones is offline
Rack & Roll, baby!
FRC #1646 (Precision Guessworks)
Team Role: Programmer
 
Join Date: Jun 2006
Rookie Year: 2006
Location: Lafayette, Indiana
Posts: 231
Eric W. Jones will become famous soon enoughEric W. Jones will become famous soon enough
Re: Camera HELP!

the camera includes a servo-type meter that allows you to track the pan/tilt axis. The way you would make the robot follow the green light would be to find if the camera is left or right from center and have the motors turn right or left, respectively. It's fairly simple. PM me if you need more information or a coding example.
__________________
2006 Boilermaker Regional
2006 Buckeye Regional - Third place overall
2006 Atlanta Finals
2006 IRI

2007 Boilermaker Regional
2007 St. Louis Regional
2007 Finals (hopefully )
2007 IRI

Why, yes. I do know what I'm doing!
  #4   Spotlight this post!  
Unread 11-01-2007, 20:33
yarb65 yarb65 is offline
Coach
AKA: T Bray
FRC #3189 (Circuit Breakers)
Team Role: Coach
 
Join Date: Jan 2005
Rookie Year: 2005
Location: El Dorado, CA
Posts: 85
yarb65 has a spectacular aura aboutyarb65 has a spectacular aura about
Re: Camera HELP!

ok...... so what variables apply here to get the motors to respond...

and does anyone have a clue in using easy C?

(I like easy C because it helps reduce the chance for error.....)
__________________
2013 Sacramento Regional Winner (3189,701,2489))
2012 Israel Regional Winner (1662,1690,1937)
2008 Sacramento Regional Winner (1662,115,2122)
2006 Sacramento Regional Winner (1662,852,1726)
  #5   Spotlight this post!  
Unread 11-01-2007, 20:40
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Camera HELP!

I would like to point you to a few resources: http://www.chiefdelphi.com/forums/sh...ad.php?t=30976 - that thread is for people who are getting started with programming.

http://www.chiefdelphi.com/forums/fo...play.php?f=144 - that is where you will find posts regarding the camera.

There are many sub forums dealing with different aspects of programming including easyC.

Please visit those pages and it will answer most, if not all of your questions. Use the Search function above for specific information on a subject. Good luck.
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #6   Spotlight this post!  
Unread 29-01-2007, 21:58
nickcvet89 nickcvet89 is offline
Registered User
FRC #1228 (RoboTribe)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Rahway,NJ
Posts: 99
nickcvet89 will become famous soon enough
Send a message via AIM to nickcvet89
Re: Camera HELP!

Hey Eric would you be able to post some coding on how you would be able to track the light by moving the robot, because I have been reading some of the posts and some people are saying to use trig. functions to calculate the movement of the robot towards the light. But I thought there would be an easier way. So if you would be helpful and maybe post a code to help me out.
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 help needed bluisnake Programming 9 08-08-2006 14:58
Camera Help (New to Camera Programming) Idaman323 Programming 6 14-01-2006 03:56
camera help! |20807 61|2|_ Programming 5 08-01-2006 14:44
camera help needed Anton Programming 0 17-02-2005 06:52
Lost Camera- HELP archiver 2000 0 23-06-2002 22:41


All times are GMT -5. The time now is 09:57.

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