Go to Post Technology is everywhere, yet the human factor is what makes an event special. - synth3tk [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 01-02-2006, 11:59
naor52 naor52 is offline
Registered User
FRC #1578
 
Join Date: Dec 2005
Location: ISREAL
Posts: 23
naor52 is an unknown quantity at this point
green

I've got a little problam....i've got the values of the color green from the cam but hadn't found where to put them inside the user_routines.c, i would like if any one can write me where and how plz...cuz maby im noob but i havnt found where..
  #2   Spotlight this post!  
Unread 01-02-2006, 12:39
bush's Avatar
bush bush is offline
Registered User
AKA: Aaron
FRC #0710 (Pine Crest School)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Fort Lauderdale, Florida
Posts: 42
bush has a spectacular aura aboutbush has a spectacular aura about
Send a message via AIM to bush
Re: green

All you need is Kevin's code. All of the calibration parameters are programmed in, and the servos auto-track the target.

Either get the "bells and whistles" or the "streamlined" version of camera.zip from http://www.kevin.org/frc/
  #3   Spotlight this post!  
Unread 01-02-2006, 13:03
naor52 naor52 is offline
Registered User
FRC #1578
 
Join Date: Dec 2005
Location: ISREAL
Posts: 23
naor52 is an unknown quantity at this point
Re: green

I have downloaded the kevin code but when i download it to the controller nothing has happend...how should i make it work?!?
and anther q's when i use labview and take a pictuer the green light is comming out as white why is that?!?and how to make it back green?!?
  #4   Spotlight this post!  
Unread 01-02-2006, 16:06
David55 David55 is offline
Registered User
AKA: David Hillman
FRC #1577 (Steampunk) & FRC #125 (NUTRONS)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Raanana, Israel / Boston, MA
Posts: 279
David55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to behold
Re: green

הבעיה הזאת קרתה גם לנו
זה פשוט בגלל שהאור בהיר מדי
אבל זאת לא אמורה להיות בעיה...תנסה לעשות את הקליברציה במקום בלי פלורוסנט
  #5   Spotlight this post!  
Unread 01-02-2006, 17:38
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: green

Quote:
Originally Posted by David55
הבעיה הזאת קרתה גם לנו
זה פשוט בגלל שהאור בהיר מדי
אבל זאת לא אמורה להיות בעיה...תנסה לעשות את הקליברציה במקום בלי פלורוסנט
That's pretty impressive. My browser can handle jewish (?) characters. (The same can not be said for far-east languages.)

David55, seeing as most of us are obnoxious, monolingual Americans, you're probably going to need to use English. (As horrible of a language it is; highschoolers still don't get it right.)
  #6   Spotlight this post!  
Unread 01-02-2006, 17:42
Rick TYler Rick TYler is offline
A VEX GUy WIth A STicky SHift KEy
VRC #0010 (Exothermic Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Redmond, Washington
Posts: 2,000
Rick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond repute
Re: green

Quote:
Originally Posted by Astronouth7303
That's pretty impressive. My browser can handle jewish (?) characters.
YM "Hebrew"
__________________
Exothermic Robotics Club, Venturing Crew 2036
VRC 10A, 10B, 10D, 10Q, 10V, 10X, 10Z, and 575
  #7   Spotlight this post!  
Unread 01-02-2006, 17:50
David55 David55 is offline
Registered User
AKA: David Hillman
FRC #1577 (Steampunk) & FRC #125 (NUTRONS)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Raanana, Israel / Boston, MA
Posts: 279
David55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to behold
Re: green



I just wanted to check if this forum supports Hebrew

I guess the answer is positive

hooray
  #8   Spotlight this post!  
Unread 01-02-2006, 17:55
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: green

Quote:
Originally Posted by David55


I just wanted to check if this forum supports Hebrew

I guess the answer is positive

hooray

haha....madlik.

yesh laha ICQ?
__________________
  #9   Spotlight this post!  
Unread 01-02-2006, 17:57
Heretic121 Heretic121 is offline
The Resident Gamer -
AKA: Pat or Harry... if you ask its a long story...
FRC #0078 (AIR Strike)
Team Role: Tactician
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Rhode Island, USA
Posts: 876
Heretic121 has a reputation beyond reputeHeretic121 has a reputation beyond reputeHeretic121 has a reputation beyond reputeHeretic121 has a reputation beyond reputeHeretic121 has a reputation beyond reputeHeretic121 has a reputation beyond reputeHeretic121 has a reputation beyond reputeHeretic121 has a reputation beyond reputeHeretic121 has a reputation beyond reputeHeretic121 has a reputation beyond reputeHeretic121 has a reputation beyond repute
Send a message via AIM to Heretic121
Re: green

mkay i had the same problem w/ kevins code...

i tried to use his values with no success of tracking because it kept seeing the florescent lighting... even with my own values i have trouble =(

more tweaking time for me =( lol... *and im also having trouble w/ the tracking algorythim but thats a whole nother story where it finds the target the moves AWAY from it *ive tried using a jump to reverse which way it goes it doesnt help*
__________________
2004 - Team 121 Human Player
2005 - Team 121 Student Captian
2006 - Team 38 Drive Team Coach / Mentor
2007 - 2009 - Team 121 Mentor / Strategery Master
2010 - 2013 - Team 78 Mentor / Strategy / Scouting Lead
2014 - Team 78 coach
  #10   Spotlight this post!  
Unread 01-02-2006, 18:13
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: green

Quote:
Originally Posted by Heretic121
mkay i had the same problem w/ kevins code...

i tried to use his values with no success of tracking because it kept seeing the florescent lighting... even with my own values i have trouble =(

more tweaking time for me =( lol... *and im also having trouble w/ the tracking algorythim but thats a whole nother story where it finds the target the moves AWAY from it *ive tried using a jump to reverse which way it goes it doesnt help*

if you are using the "bells and wistles" version, just use the terminal window to reload the default values. if you are using the normal one then just load a fresh non "bells and wistles" version that has to modifications.

BASICLY keep all the default values, except the noise filter. Crank that up one by one until the camera works the way you want it to. Then just fine tune the other values as you need to.

Don't add any jumpers because you can just change it in the code:

Quote:
// If your camera suddenly moves away from the target once
// it finds it, you'll need to change the sign on one or
// both of these values.
#define PAN_ROTATION_SIGN_DEFAULT -1
#define TILT_ROTATION_SIGN_DEFAULT +1
or the termial window for the "bells and wistles" version.
  #11   Spotlight this post!  
Unread 02-02-2006, 00:27
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,313
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: green

We tested the code out for the first time today, it took about 30-40 minutes to get it tracking properly.

The default colors should work, we never modified those, and the camera picked up the target both with and without a lexan cover over the cathode lights.

Two problems that happened to us which might screw your stuff up...

1. At first the camera "ran away" from the light anytime it saw it. This was fixed by modifying the sign on both the pan and tilt default sign values.

2. The camera would pick up the light fine when pointed at it; however, when it turned from one side of the pan limit to the other, it would pick up the light part way through, lose it by the time it got to the pan position, and would restart the search repeatedly. This occurred because the camera searches with the same tilt value at 3 or 4 different pan positions, then rotates back to the start of the pan positions while shifting the tilt up to the next position. During the shift to the starting pan position, it would pick up the target because the tilt shifts at the same time and the camera was now at the new tilt angle. It no longer the saw the target when it got all the way to the pan start position though, and since it had seen the target and lost it, it restarted the search, which caused the pan position to be reset to 0 and the tilt to be reset to 127, which put us back in the place we had been before the camera's first sweep. It would then repeat indefinetely. To fix this, in the 2 lines of code that set the pan and tilt values for the start of a new search (this is in tracker.c), we just made it keep the current pwm values of the servos rather than reseting.

Anyway, hope this might help other teams with similar problems.
  #12   Spotlight this post!  
Unread 02-02-2006, 07:21
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: green

Quote:
Originally Posted by naor52
I've got a little problam....i've got the values of the color green from the cam but hadn't found where to put them inside the user_routines.c, i would like if any one can write me where and how plz...cuz maby im noob but i havnt found where..
They go in camera.h
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
FAHA: Green Paint Ken Leung General Forum 7 09-03-2005 22:47
Purple Image after tryin to capture green. Code\\Pilot Programming 2 02-02-2005 16:55
Concerns regarding the green paneling/green shirts Petey General Forum 127 15-01-2005 10:35
Reputation points SilverStar CD Forum Support 73 26-05-2004 02:14


All times are GMT -5. The time now is 01:52.

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