Go to Post This isn't an engineering fair and demonstration, it's FRC. Defense is part of the game. You can't expect a good FRC team to just sit there and get clobbered by a full-court shooter; they're going to engineer a solution to the problem. - Kevin Sevcik [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 10-02-2007, 20:19
jesusescobar's Avatar
jesusescobar jesusescobar is offline
Jesus Escobar- PFTB-Programer
FRC #2066 (Pftb Of Doom)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: El Centro California
Posts: 32
jesusescobar is an unknown quantity at this point
Send a message via MSN to jesusescobar Send a message via Yahoo to jesusescobar
Exclamation Autonomous Mode HELP!

I need Help on Autonomous mode how can i make the Camera Search for the green light instead of just locking it and following it

Thanks In Advane
__________________
Beware Of PFTB OF DOOM Robotics Team From EL Centro California Southwest Eagles!!!!!!!!!

http://pftbrobotics.com Our Site
  #2   Spotlight this post!  
Unread 10-02-2007, 20:46
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Autonomous Mode HELP!

Quote:
Originally Posted by jesusescobar View Post
I need Help on Autonomous mode how can i make the Camera Search for the green light instead of just locking it and following it

Thanks In Advane
Is the camera not searching for the light or does it only search for a short amount of time then lock on? The default camera code I believe will automatically make the camera search until it finds the light.

-Mike
  #3   Spotlight this post!  
Unread 10-02-2007, 22:39
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: Autonomous Mode HELP!

Now, i am sorta of confused by your question. Do you want the robot to turn left, right, etc. to allow the camera to find the target? or Do you want the camera to move towards the target it has found?
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #4   Spotlight this post!  
Unread 11-02-2007, 16:08
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: Autonomous Mode HELP!

uhh...heh, that's quite a confusing question. I think what you want to ask is how to stop it from searching. If not, the camera has a built in(in Kevni's Code of course)code to make the camera search the light till it finds it(or the RC looses it's battery power). It will allways search as long as the functions Camera_Handler() and Servo_Tracking()[I think it's not the real name, but it's Servo something] are called upon in the Proccesor function in User_Routines.c or after the Getdata(&rxdata) line in the User_Autonomous() function in User_Routines_Fast.c .

Please try to think and tell us what exactly you want the camera to do and then we can help you more.
  #5   Spotlight this post!  
Unread 12-02-2007, 12:02
jdejoannis jdejoannis is offline
Registered User
FRC #1845
 
Join Date: Feb 2006
Location: Atlanta,GA
Posts: 48
jdejoannis will become famous soon enoughjdejoannis will become famous soon enough
Re: Autonomous Mode HELP!

Jesus, if you turn the light off, or block the camera with your body, a properly functioning system would go into search mode, with the servos systematically mapping the space. The camera's red light will go off and you will get "Searching..." messages if you have a terminal window hooked up. When the camera locks on to the target, you should see data printed to the terminal.

Jason
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
Autonomous Mode Slick Programming 22 01-02-2007 19:26
Help - Making the autonomous mode razer Programming 5 31-01-2007 16:25
autonomous mode seanl Programming 6 31-01-2007 15:59
Simulating autonomous mode - i need help!! :( itay_ms Programming 5 21-01-2007 11:28
autonomous mode Stephanie Programming 2 25-01-2003 19:57


All times are GMT -5. The time now is 04:54.

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