Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   2007 camera code (http://www.chiefdelphi.com/forums/showthread.php?t=51692)

paulcd2000 12-01-2007 19:50

2007 camera code
 
where is the camera code for 2007? Is it in http://kevin.org/frc/ or is it somewhere else? how does one include it in one's code? Thanks!

chris31 13-01-2007 19:29

Re: 2007 camera code
 
Are you using MPlab or EasyC?

Ghosty 15-01-2007 10:35

Re: 2007 camera code
 
Yeah, I was wondering where this was. I thought Kevin was working on it this weekend. Does anybody know where this is?

Ghosty 15-01-2007 12:32

Re: 2007 camera code
 
Yeah, I don't mean to be rude, but we can't really work on the camera if we don't have default code for it. So it would be nice if somebody could get us something to work on.

jtdowney 15-01-2007 13:53

Re: 2007 camera code
 
The camera code is on http://kevin.org/frc scroll down until you see "2007 FRC-RC Example Code and Utilities." Despite the last updated date this code will search for and track the green light used in this years game. Just make sure to read the readme files so you set it up correctly.

Ghosty 15-01-2007 15:36

Re: 2007 camera code
 
But does Kevin's code from last year track multiple targets. That's basically what I'm wondering is whether or not we actually need a new camera code to work off of.

jtdowney 15-01-2007 15:40

Re: 2007 camera code
 
There was a discussion on http://www.chiefdelphi.com/forums/sh...ad.php?t=51048 about how there is no real way to track multiple targets you can only tell if you get a huge blob size that you have more then one target in view.

Kevin Watson 15-01-2007 15:58

Re: 2007 camera code
 
Quote:

Originally Posted by Ghosty (Post 557352)
But does Kevin's code from last year track multiple targets. That's basically what I'm wondering is whether or not we actually need a new camera code to work off of.

As has been said elsewhere, the camera can only track one object at a time. You can, however, infer what is in the cameras view by examining the data present in the t-packet. This has been discussed elsewhere.

-Kevin

Edit: There is a video, done by FRC engineering staff, that shows you how the camera deals with multiple green objects. There is a copy on my website.


All times are GMT -5. The time now is 01:25.

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