Go to Post "Dress to impress," typically, means no denim (sorry, Dean)... - Madison [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-01-2007, 13:06
cgront's Avatar
cgront cgront is offline
Registered User
None #0159
Team Role: Operator
 
Join Date: Jan 2006
Rookie Year: 2000
Location: blah blah
Posts: 5
cgront is an unknown quantity at this point
tracking multi targets question

does any one have any suggestions for tracking two targets using the mplab code?
  #2   Spotlight this post!  
Unread 13-01-2007, 15:12
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: tracking multi targets question

Quote:
Originally Posted by cgront View Post
does any one have any suggestions for tracking two targets using the mplab code?
Short of doing image analysis on a returned image, I'm not sure that its possible hardware wise.
__________________
http://www.mikesorrenti.com/
  #3   Spotlight this post!  
Unread 13-01-2007, 15:34
bobmonkey836's Avatar
bobmonkey836 bobmonkey836 is offline
BobMonkey07
AKA: Jeff Powers
FRC #0836 (Robobees)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2005
Location: maryland
Posts: 39
bobmonkey836 is on a distinguished road
Re: tracking multi targets question

what are the targets? it may be possible, but the code may take up too much space.
__________________
Solution to life's problems: "CTRL", "ALT", "DELETE".
"CTRL"+"Z" Saved my life.
Approximately Normal
2007 Annapolis Regional at USNA!!

Management is doing things right; leadership is doing the right things.
- Peter Drucker
  #4   Spotlight this post!  
Unread 13-01-2007, 17:39
JSonntag JSonntag is offline
Registered User
FRC #0486 (Positronic Panthers)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: United States
Posts: 16
JSonntag is on a distinguished road
Send a message via AIM to JSonntag
Re: tracking multi targets question

The camera's hardware is only capable of tracking one target at a time. But if there are two targets in its field of view, it will perform the equivalent of drawing a "box" around both of the targets and tracking the center of that "box". The robot can determine the number of targets it is tracking based on the size of that "box."
  #5   Spotlight this post!  
Unread 13-01-2007, 18:56
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: tracking multi targets question

Read this thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=51048
__________________
Eric Haskins KC9JVH
  #6   Spotlight this post!  
Unread 13-01-2007, 19:01
JakeC JakeC is offline
Registered User
FRC #1535 (The Knights of Alloy)
Team Role: Driver
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Sault Ste. Marie, Canada
Posts: 21
JakeC is an unknown quantity at this point
Re: tracking multi targets question

Quote:
The camera's hardware is only capable of tracking one target at a time. But if there are two targets in its field of view, it will perform the equivalent of drawing a "box" around both of the targets and tracking the center of that "box". The robot can determine the number of targets it is tracking based on the size of that "box."

Basically, you can tell how many targets there is by the number of pixels your camera counts, distance also affects this factor.
__________________
ATTENDING:
Wisconsin Regional 2009
Greater Toronto Regional 2009- Winners Engineering Inspiration Award
Championship

Lets Go TKOA 1535!


Formally Known as the 1596 International Instigators
  #7   Spotlight this post!  
Unread 13-01-2007, 19:22
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: tracking multi targets question

Quote:
Originally Posted by JakeC View Post
Quote:
The camera's hardware is only capable of tracking one target at a time. But if there are two targets in its field of view, it will perform the equivalent of drawing a "box" around both of the targets and tracking the center of that "box". The robot can determine the number of targets it is tracking based on the size of that "box."

Basically, you can tell how many targets there is by the number of pixels your camera counts, distance also affects this factor.
True, but distance would affect height and width of the box, whereas I believe two targets only primarily affects the width, so I think you could probably compensate for it fairly effectively with some basic math.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #8   Spotlight this post!  
Unread 13-01-2007, 21:46
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,420
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: tracking multi targets question

check out the video on kevin.org. It is very informative, and explains alot.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
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
Tracking 2 targets Smoking_Gun Programming 19 30-01-2007 21:33
Where is the multi object tracking code for the RC? EHaskins Programming 52 17-01-2007 11:55
How many targets? geeknerd99 Kit & Additional Hardware 19 16-01-2007 18:16
To all the multi-regional teams...a question. archiver 2001 14 24-06-2002 02:33


All times are GMT -5. The time now is 20: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