Go to Post water electricity=bad - Chuck Glick [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 13-02-2005, 10:26
BobC's Avatar
BobC BobC is offline
Big Daddy
FRC #0176 (Aces High)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2000
Location: Windsor Locks, CT
Posts: 296
BobC is a name known to allBobC is a name known to allBobC is a name known to allBobC is a name known to allBobC is a name known to allBobC is a name known to all
Send a message via AIM to BobC
Camera tracks backwards

We have got our camera tracking off the robot. One problem is that when you pick up one of the colored triangles and move in front of camera as look you at the person and they move left, and yiou look at the screen on computer the object moves right.

Is this correct or not? Also the color numbers I have come up with are green 49, yellow 24, red 118, red is iffy it does not find it all time, still have to play with numbers.

thanx and good luck all
Big Daddy

Last edited by BobC : 13-02-2005 at 10:28. Reason: wrong number
  #2   Spotlight this post!  
Unread 13-02-2005, 11:16
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: Camera tracks backwards

Quote:
Originally Posted by BobC
We have got our camera tracking off the robot. One problem is that when you pick up one of the colored triangles and move in front of camera as look you at the person and they move left, and yiou look at the screen on computer the object moves right.
Yeah, the GUI screen is rotated 180 degrees. The camera tracks fine anyway.
Quote:
Is this correct or not? Also the color numbers I have come up with are green 49, yellow 24, red 118, red is iffy it does not find it all time, still have to play with numbers.
Red is almost impossible with the mercury vapor lighting at our shop. We have managed to get it to calibrate once, though it has never tracked at all. Since there's no reason for us to seek out red, we're not worried about it. It tracks vision tetra green like a champ.

(Or it used to -- the electrical team tells me they let out the camera's magic smoke after they wired a connector backwards.)
  #3   Spotlight this post!  
Unread 13-02-2005, 16:41
logicalhippo logicalhippo is offline
Registered User
AKA: Russell McClellan
#0213 (Dirty Birds)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Keene, NH
Posts: 11
logicalhippo is an unknown quantity at this point
Send a message via AIM to logicalhippo
Re: Camera tracks backwards

Quote:
Originally Posted by BobC
We have got our camera tracking off the robot. One problem is that when you pick up one of the colored triangles and move in front of camera as look you at the person and they move left, and yiou look at the screen on computer the object moves right.
you prolly have the camera upside down ;-). you can compensate in software if you need to
  #4   Spotlight this post!  
Unread 13-02-2005, 20:12
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Camera tracks backwards

Check the manual again. There's jumpers that mirror the pan/tilt servo directions. It took me like a week to find this out.
  #5   Spotlight this post!  
Unread 13-02-2005, 23:48
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: Camera tracks backwards

No no no. You are just fine. As long as the camera tracks it doesnt matter, and as Alan said the GUI screen is backwards. The only color we can track reliably is red. Though we always illuminate the target with a work light, so that may be why. It definetly has to do with having yellow walls, blue tables, and lights that the camera seems to think are green... It is actually kind of fun to play with the robot and watch to see which part of the wall it goes to when we tell it to track yellow.
  #6   Spotlight this post!  
Unread 15-02-2005, 07:15
BobC's Avatar
BobC BobC is offline
Big Daddy
FRC #0176 (Aces High)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2000
Location: Windsor Locks, CT
Posts: 296
BobC is a name known to allBobC is a name known to allBobC is a name known to allBobC is a name known to allBobC is a name known to allBobC is a name known to all
Send a message via AIM to BobC
Re: Camera tracks backwards

Quote:
Originally Posted by devicenull
Check the manual again. There's jumpers that mirror the pan/tilt servo directions. It took me like a week to find this out.
I read about the jumper but could not figure out where it is.

Big Daddy
  #7   Spotlight this post!  
Unread 16-02-2005, 09:51
aziandorkess aziandorkess is offline
Registered User
no team (Midnight Mechanics)
Team Role: Alumni
 
Join Date: Feb 2003
Rookie Year: 2003
Location: San Diego/Boston currently
Posts: 31
aziandorkess is on a distinguished road
Send a message via AIM to aziandorkess Send a message via MSN to aziandorkess
Re: Camera tracks backwards

The diagram is on ifirobotics.com
Here's a link to the zip file.
http://www.ifirobotics.com/docs/came...d-markings.zip
In the pdf called CMU Cam Assembly, there's a section called mode header. You should put a jumper on the pan reverse or the tilt reverse.
Good luck.
__________________
2007 SD Engineering Inspiration Award
2006 SoCal Chairman's Award
2005 SoCal Chairman's Award
2004 Championships Engineering Inspiration Award
2004 SoCal Engineering Inspiration Award
2003 Arizona Judges Award
2003 SoCal Team Spirit Award
2002 SoCal All Star Rookie Award

Alumna of The Midnight Mechanics (03-06).
  #8   Spotlight this post!  
Unread 16-02-2005, 10:59
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: Camera tracks backwards

You people didnt read his post. He said the camera tracks fine, its just the immage on the computer screen that is backwards. This is a problem with the software on the computer, and it no way affects the camera's ability to track.

Bob: Dont put the reverse jumpers on the camera, as if you do it will not track properly (assuming it is tracking ok now) The jumper pins run along the edge by where you plug the servos in, but like I said if it is working ok now then dont mess with it.
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
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
Unresponsive camera neilsonster Programming 9 17-02-2005 08:51
camera tracks but no movement from Robot Stillen Programming 4 04-02-2005 17:16
Kevin Watson's Kick-off Demo Code! Mr. Lim Programming 27 22-01-2005 03:38
CMUCam2 Camera Code - Are important parts commented out? Mr. Lim Programming 4 14-01-2005 12:11


All times are GMT -5. The time now is 23:59.

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