|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
Re: Where is the multi object tracking code for the RC?
|
|
#4
|
|||||
|
|||||
|
Re: Where is the multi object tracking code for the RC?
Quote:
|
|
#5
|
|||||
|
|||||
|
Re: Where is the multi object tracking code for the RC?
Quote:
|
|
#6
|
||||
|
||||
|
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. Last edited by Kingofl337 : 06-01-2007 at 22:14. |
|
#7
|
||||
|
||||
|
Re: Where is the multi object tracking code for the RC?
Quote:
-Kevin |
|
#8
|
|||
|
|||
|
Re: Where is the multi object tracking code for the RC?
I canr wait.Quote:
If course it could. Its all about the software implementation. |
|
#9
|
|||||
|
|||||
|
Re: Where is the multi object tracking code for the RC?
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 |
|
#10
|
||||
|
||||
|
Re: Where is the multi object tracking code for the RC?
So...IS there going to be multi-object tracking code available?(Not the EasyC) Or do we have to modify the existing camera code ourselves?
|
|
#11
|
||||
|
||||
|
Re: Where is the multi object tracking code for the RC?
If you look at the EasyC code it is very simple. All the information from the camera is available through Kevin's code. I think it took me about 2-3 to get it working.
|
|
#12
|
||||
|
||||
|
Re: Where is the multi object tracking code for the RC?
Quote:
Anyway, I have an idea for an algorithm that I'll have time to test out over the next few evenings. If it works well, I'll post it on my website. As all good engineers keep a backup plan in their pocket, you might consider implementing one of the other algorithms discussed in the forums, or invent your own. Either way, your time won't be wasted thinking about the problem. -Kevin |
|
#13
|
||||
|
||||
|
Re: Where is the multi object tracking code for the RC?
Quote:
|
|
#14
|
|||
|
|||
|
Re: Where is the multi object tracking code for the RC?
Sounds like we're all thinking along the same track.
Lets say the rack is turned so an unlighted sided is directly in front of the robot. The two lights will be on the opposite sides of the tracking box and the centroid about in the middle. So keep the centroid in the middle and march to the unlighted goal. Too Simple??? perhaps. BC |
|
#15
|
||||
|
||||
|
Re: Where is the multi object tracking code for the RC?
Another method for approaching the spider leg head on is to know your position on the field (meaning you have to get a gyro and accelerometer/encoder combo working in addition to the camera). If you know your position and the angle of the light you're tracking relative to you, you can determine what angle the light is facing and thus what angle you need to go in at.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing the visibility of an object | 65_Xero_Huskie | 3D Animation and Competition | 9 | 28-01-2006 17:12 |
| Where to get the 2006 default code? | Eldarion | Programming | 12 | 15-01-2006 15:48 |
| where can I find the code for the first 15 seconds? | CompMaster | Programming | 2 | 16-02-2005 16:23 |
| Where is the CMUcam2 code? | Matthew_H | Programming | 1 | 14-01-2005 17:49 |
| The object of Zone Zeal???? | Jay5780 | General Forum | 15 | 09-04-2002 19:54 |