Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Where is the multi object tracking code for the RC? (http://www.chiefdelphi.com/forums/showthread.php?t=51048)

EHaskins 06-01-2007 14:24

Where is the multi object tracking code for the RC?
 
Dave said the multi object code was available online, but I can't find it. Does anyone know where it is?

Thanks,
Eric Haskins

Ctrl Alt Delete 06-01-2007 17:29

Re: Where is the multi object tracking code for the RC?
 
Does kevin's code work for this?
http://kevin.org/frc/frc_camera_2.zip

Jeff Rodriguez 06-01-2007 17:36

Re: Where is the multi object tracking code for the RC?
 
http://www.intelitekdownloads.com/easyCPRO/

DanDon 06-01-2007 17:39

Re: Where is the multi object tracking code for the RC?
 
Quote:

Originally Posted by Ogre (Post 549159)

Do we use last year's unlock code for this?

Alexa Stott 06-01-2007 17:39

Re: Where is the multi object tracking code for the RC?
 
Quote:

Originally Posted by Ogre (Post 549159)

So wait, are you only able to use that code with EasyC?

Kingofl337 06-01-2007 17:51

Re: Where is the multi object tracking code for the RC?
 
Currenty only easyC and WPILib have code written for Multi-Target.
Brad Miller will be making a project on Monday for WPILIB.
The reason being the GDC used easyC for FRC to program
the Demo and most of the test robots.

easyC PRO has a full IDE builtin now so you can write C code
as much as your heart desires. Also, easyC PRO has a graphics
display window that works similar to the way the demo did.

Team contacts will recieve a CD-KEY Monday.
You can run in evaluation mode till then.

Kevin Watson 06-01-2007 18:08

Re: Where is the multi object tracking code for the RC?
 
Quote:

Originally Posted by Kingofl337 (Post 549178)
...Only easyC and WPILib have code written for Multi-Target....

Really?

-Kevin

JBotAlan 06-01-2007 18:09

Re: Where is the multi object tracking code for the RC?
 
I am confused; I didn't even know that the *hardware* supported multiple objects. I'll have to have a look-see at that code to figure out how multi-tracking works.

JBot

chris31 06-01-2007 18:10

Re: Where is the multi object tracking code for the RC?
 
Quote:

Originally Posted by Kevin Watson (Post 549195)
Really?

-Kevin

:) I canr wait.

Quote:

Originally Posted by JBotAlan (Post 549197)
I am confused; I didn't even know that the *hardware* supported multiple objects. I'll have to have a look-see at that code to figure out how multi-tracking works.

JBot


If course it could. Its all about the software implementation.

Ctrl Alt Delete 06-01-2007 18:14

Re: Where is the multi object tracking code for the RC?
 
OK, so we have to use WPILib to get the tracking code? We were going to use FusionEdit and not easyC.

JBotAlan 06-01-2007 18:15

Re: Where is the multi object tracking code for the RC?
 
Quote:

Originally Posted by chris31 (Post 549199)
If course it could. Its all about the software implementation.

Yes, but if you have 2 targets in one field-of-view, you will get a wide box and a low confidence value. That's at the camera's firmware level. So just by looking at the tracking packets, you wouldn't be able to see 2 targets. And I know we couldn't dump the contents of the frame into the RC; we don't have that kind of bandwidth.

However, if you only had one target in the field-of-view, and panned until you saw another, this would work fine. I'm guessing that's how the software works.

JBot

Kevin Watson 06-01-2007 18:27

Re: Where is the multi object tracking code for the RC?
 
Quote:

Originally Posted by JBotAlan (Post 549197)
I am confused; I didn't even know that the *hardware* supported multiple objects. I'll have to have a look-see at that code to figure out how multi-tracking works.

JBot

The hardware doesn't support tracking of multiple objects. The code that Dave mentioned, written by FIRST's Neil Rosenberg, infers the location of a "spider leg" by looking at the size of the image. If there are two lights in the scene -- which is not always the case -- the camera returns a blob size that is far too big to be from one light. If the blob size is small, you know that there is only one light in the scene and there is a spider leg directly underneath.

-Kevin

DanDon 06-01-2007 18:39

Re: Where is the multi object tracking code for the RC?
 
Kevin,

If you did write code (I hope I'm not misinterpreting your post), do you have an approximate release date?

robind 06-01-2007 18:52

Re: Where is the multi object tracking code for the RC?
 
Bump? It sounds like Kevin's leading us on a little, but I would love love love to have that code. :D

Kingofl337 06-01-2007 22:07

Re: Where is the multi object tracking code for the RC?
 
Kevin, if your 2007 code can has the tracking similar to what Neil wrote then I apologize as I was misinformed.

Kevin is 100% correct the CMU can't track multiple objects the code just looks at the size of the target region and if its over a certain size prints that its looking a 2 targets. In the demo they used a terminal emulation program and used VT100 calls. We made our own custom terminal window and function to do the same thing in easyC PRO.

WPILIB is 100% compatible with MPLAB, and Eclipse. Infact it's currently being written and maintained in Eclipse,
WPI has been using it since 2005 on their FRC robots.


All times are GMT -5. The time now is 18:14.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi