Go to Post Upon entering FIRST you immediately apply Murphy's Laws. - A_Reed [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-01-2006, 23:00
kmazh kmazh is offline
Registered User
FRC #1241
 
Join Date: Jan 2006
Location: Canada
Posts: 3
kmazh is an unknown quantity at this point
Change CMU target on the fly

Does anyone know if CMU target (meaning image) can be changed on the fly (meaning when robot in autonomous or driver controlled via radio).
Konstantin
  #2   Spotlight this post!  
Unread 10-01-2006, 23:21
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Change CMU target on the fly

Quote:
Originally Posted by kmazh
Does anyone know if CMU target (meaning image) can be changed on the fly (meaning when robot in autonomous or driver controlled via radio).
Konstantin
I don't understand what you mean by image, but the parameters that define what the camera is looking for can be changed on the fly. EVERYHTING cna be changed on the fly
__________________
1139 Alumni
  #3   Spotlight this post!  
Unread 12-01-2006, 23:10
kmazh kmazh is offline
Registered User
FRC #1241
 
Join Date: Jan 2006
Location: Canada
Posts: 3
kmazh is an unknown quantity at this point
Re: Change CMU target on the fly

I guess my understanding of the camera functionality was not complete. I had an impression (by reading the setup guide) that you have to "teach" the camera by giving it a target image. Looks like GUI can convert the target image into set of parameters to be loaded to the camera. Is it correct understanding? My idea was to track the ball when you shoot it and track the goal when you drive to it.
Konstantin
  #4   Spotlight this post!  
Unread 12-01-2006, 23:17
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Change CMU target on the fly

Quote:
Originally Posted by kmazh
I had an impression (by reading the setup guide) that you have to "teach" the camera by giving it a target image. Looks like GUI can convert the target image into set of parameters to be loaded to the camera. Is it correct understanding? My idea was to track the ball when you shoot it and track the goal when you drive to it.
Konstantin
First, you kind-of "teach" the camera what the thing you want to track looks like. In this case, the green light box. You do this by downloading new parameters into it.

Second, you should have no problems tracking the green light box, but I very much doubt you will be able to track the ball in flight. The issue is that the color is not constant - not only do the balls come in different colors, they are half black and half red (for example) and so the camera doesn't know what to track - red or black.

Your understanding of the camera function is reasonably correct. You teach it a color to track, and it returns not an image but a set of coordinates, telling you where the target is relative to (something)-- 26 degrees up and 13 degrees to the left, for example.

That's a bit of a simplification, but not much. Read the CMUcam book from usfirst.org

Don
__________________

I am N2IRZ - What's your callsign?
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
The *BIG* CMU Howto pi_guy578 Programming 17 21-12-2005 13:24
If you could change one rule - eliminate ship requirement discussion Andy Baker General Forum 53 28-10-2005 22:23
Error - symbol 'e' has multiple definitions. HELLPPPPP BookerT Programming 2 24-01-2005 21:50
heres the code. y this not working omega Programming 16 31-03-2004 15:18


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

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