Go to Post This will likely fall on deaf eyes but - - JaneYoung [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 16-01-2007, 08:41
Lablabla Lablabla is offline
Registered User
AKA: Carmel Barak
FRC #1957 (LighTeam)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 25
Lablabla is an unknown quantity at this point
Re: Camera Calibration

How did you calibrate it?
I calibrated using LabView CMUcam demo, and it works fine for me (using MPLab, but the settings are on the camera)
__________________
LighTeam #1957
2006 GM/Technion Israel Regional Finalist (Robot: W.Bob)

Attending: Israel GM\Technion Regional (Robot: Laika)
  #2   Spotlight this post!  
Unread 16-01-2007, 09:55
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Re: Camera Calibration

The easyC project that Dave Lavery demo'd at the 2007 kickoff is available for download here:

http://first.wpi.edu/FRC/25814.htm

Try loading that. If it works, I would suggest rebuilding your easyC project around that one, unless it's super easy to transplant their working code into your project.
__________________
What place are we at? ... TODAI!
  #3   Spotlight this post!  
Unread 16-01-2007, 10:36
itsme itsme is offline
Registered User
FRC #2217 (FOMH)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Israel
Posts: 86
itsme is an unknown quantity at this point
Re: Camera Calibration

Quote:
Originally Posted by JohnC View Post
The easyC project that Dave Lavery demo'd at the 2007 kickoff is available for download here:

http://first.wpi.edu/FRC/25814.htm

Try loading that. If it works, I would suggest rebuilding your easyC project around that one, unless it's super easy to transplant their working code into your project.
Yes, I've downloaded this, but this program only makes the camera send back information and show them on the terminal window, it deosn't track the light.
Lablabla- we also did this on labview, and saved the configuration (an ini file), then changed the .ini file to a .ecc file by renaiming it (it worked), and used that table in easyC. But still, it deosn't track anything (it does'nt move the servos a bit). Could someone maby uplaod a simple easyC program tracking the light with the servos?
  #4   Spotlight this post!  
Unread 16-01-2007, 11:08
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Camera Calibration

By default easyC has cablibration data that should allow the camera to see the green light. If you want to make your robot automagicly center on the light. I'd check out tutorial number 8 in the help file.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #5   Spotlight this post!  
Unread 16-01-2007, 11:42
itsme itsme is offline
Registered User
FRC #2217 (FOMH)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Israel
Posts: 86
itsme is an unknown quantity at this point
Re: Camera Calibration

Quote:
Originally Posted by Kingofl337 View Post
By default easyC has cablibration data that should allow the camera to see the green light. If you want to make your robot automagicly center on the light. I'd check out tutorial number 8 in the help file.
I have cheked tutorial number 8, it explains how to make the robot follow the light, but I want the servos (that are moving the camera) to follow the light. For now the camera doesn't even notice any target (I put the default table in easyc).
  #6   Spotlight this post!  
Unread 16-01-2007, 13:02
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Camera Calibration

Standard question: Do you have a charged backup battery attached to the RC? That power is required to move the servos.

Does the red LED on the camera board go on if you physically point the camera at the target light?

Quote:
Originally Posted by itsme View Post
I have cheked tutorial number 8, it explains how to make the robot follow the light, but I want the servos (that are moving the camera) to follow the light. For now the camera doesn't even notice any target (I put the default table in easyc).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #7   Spotlight this post!  
Unread 16-01-2007, 13:13
itsme itsme is offline
Registered User
FRC #2217 (FOMH)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Israel
Posts: 86
itsme is an unknown quantity at this point
Re: Camera Calibration

Quote:
Originally Posted by Mark McLeod View Post
Standard question: Do you have a charged backup battery attached to the RC? That power is required to move the servos.

Does the red LED on the camera board go on if you physically point the camera at the target light?
The backup battery is attached to the RC, the servos are working (if I tell them to work) there is a red light and a green light on the camera. Sometimes it is only green and sometimes red and green (what does it indicate?).
  #8   Spotlight this post!  
Unread 16-01-2007, 13:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Camera Calibration

Quote:
Originally Posted by itsme View Post
... there is a red light and a green light on the camera. Sometimes it is only green and sometimes red and green (what does it indicate?).
The camera firmware is setup to turn the red LED on when the target color you've requested is visible, and it'll go off if it's not visible. Sometimes the red LED will remain on constantly if the camera doesn't initialize properly on powerup.

It's an easy feedback to see if the camera is seeing the color you told it to look for. If it's going on and off when you wave the camera at the light then your calibration is fine.

The green LED is the camera power indicator.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-01-2007 at 13:25.
  #9   Spotlight this post!  
Unread 16-01-2007, 15:15
itsme itsme is offline
Registered User
FRC #2217 (FOMH)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Israel
Posts: 86
itsme is an unknown quantity at this point
Re: Camera Calibration

Well, the only time the red light lid was when it remained even after I removed the target. The Centroid_x is always 0...
:::EDIT:::
Ok, the camera works fine
Now left just to program it....

Last edited by itsme : 17-01-2007 at 09:35.
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
Default Camera Calibration TuaMater Programming 1 25-01-2006 11:23
Victor Calibration railerobotics Electrical 11 16-01-2006 18:24
Camera Calibration organgtool Programming 0 11-01-2006 23:56
Camera DB9 / Calibration Port roboticsguy1988 Programming 10 26-01-2005 14:15
Game Field Camera Calibration Matthew_H Regional Competitions 2 15-01-2005 23:09


All times are GMT -5. The time now is 22:15.

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