Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   2 CMU Cameras... AT ONCE! (http://www.chiefdelphi.com/forums/showthread.php?t=52786)

Michael Corsetto 26-01-2007 02:01

2 CMU Cameras... AT ONCE!
 
Today our programmers achieved something that I have not seen anyone do before. Get 2 CMU cameras up and running off of one robot controller. We recorded a bit of footage of them in action and I've uploaded videos in both YouTube and Google Video flavors.

http://www.youtube.com/watch?v=kqUAtuZEypM
http://video.google.com/videoplay?do...06641915286575

Enjoy!
Mike C.

PS. We will be replacing the board on the 2006 CMU camera in order to be in compliance with the rules. We just haven't gotten around to it yet.

Arkorobotics 26-01-2007 02:18

Re: 2 CMU Cameras... AT ONCE!
 
Woah! Now that is some nice stereo vision. It's a great idea to figure out your position relative to the rack. Autonomous mode would rock with this.

SPARKY1688 26-01-2007 02:19

Re: 2 CMU Cameras... AT ONCE!
 
First of all congrats on a job well done. How will two cameras help you out doesnt the camera(s) send a signal to the motor to approach the target? If your on the field and the cameras seek out two different sources , then what? Sorry if the questions seem stupid, its just out of curiosity.
marko

Tom Bottiglieri 26-01-2007 02:32

Re: 2 CMU Cameras... AT ONCE!
 
"Yeah I'm taking a video of it to put on Chief Delphi..." - priceless...

This seems pretty cool. I'm not sure how useful it will be, but I'd love for you to prove me wrong.

Michael Corsetto 26-01-2007 02:41

Re: 2 CMU Cameras... AT ONCE!
 
Quote:

Originally Posted by SPARKY1688 (Post 565552)
First of all congrats on a job well done. How will two cameras help you out doesnt the camera(s) send a signal to the motor to approach the target? If your on the field and the cameras seek out two different sources , then what? Sorry if the questions seem stupid, its just out of curiosity.
marko

We plan on using the two cameras to give us automatic scoring on not only the 4 columns underneath the lights, but allow us to even ourselves out between the two lights so we can easily score on the 4 other columns. We figured that if we can give the programmers enough time, a smooth autonomous scorer will be more effective than a manually controlled scorer.

Mike C.

chris31 26-01-2007 07:00

Re: 2 CMU Cameras... AT ONCE!
 
Theres alot of cool things to do with 2 cameras. Your cameras both run the same search algorithm. If you have one search the left and one search the right you will effectivly cover more area and they wount both be searching in the same area.

Tom Bottiglieri 26-01-2007 10:16

Re: 2 CMU Cameras... AT ONCE!
 
Quote:

Originally Posted by chris31 (Post 565581)
Theres alot of cool things to do with 2 cameras. Your cameras both run the same search algorithm. If you have one search the left and one search the right you will effectivly cover more area and they wount both be searching in the same area.

But for the half second you save, is it worth the extra weight, processor load, and development time?

jgannon 26-01-2007 10:20

Re: 2 CMU Cameras... AT ONCE!
 
Quote:

Originally Posted by Tom Bottiglieri (Post 565654)
But for the half second you save, is it worth the extra weight, processor load, and development time?

Sounds like you'll find out in March. ;)

Validius 26-01-2007 10:21

Re: 2 CMU Cameras... AT ONCE!
 
There is only one serial port on the controller (aside from the programming port). How did you get both cameras to interface?

jgannon 26-01-2007 10:36

Re: 2 CMU Cameras... AT ONCE!
 
Quote:

Originally Posted by Validius (Post 565661)
There is only one serial port on the controller (aside from the programming port). How did you get both cameras to interface?

I can't speak for certain, but I'm almost certain they did it by using the programming port. When you're not programming, it's just a regular UART.

MikeDubreuil 26-01-2007 11:02

Re: 2 CMU Cameras... AT ONCE!
 
Quote:

Originally Posted by Tom Bottiglieri (Post 565555)
I'm not sure how useful it will be, but I'd love for you to prove me wrong.

Very useful in winning a control system award :D

Validius 26-01-2007 11:10

Re: 2 CMU Cameras... AT ONCE!
 
Quote:

Originally Posted by jgannon (Post 565673)
I can't speak for certain, but I'm almost certain they did it by using the programming port. When you're not programming, it's just a regular UART.

Yup, that must be it.

At one point i thought it would be cool to make a scriptng API that used te programming port as a console of sorts. I abandoned the idea wen i saw how much of a pain it was to read/write to the EEPROM.

jgannon 26-01-2007 11:17

Re: 2 CMU Cameras... AT ONCE!
 
Quote:

Originally Posted by Validius (Post 565685)
At one point i thought it would be cool to make a scriptng API that used te programming port as a console of sorts. I abandoned the idea wen i saw how much of a pain it was to read/write to the EEPROM.

You might want to check out the "bells and whistles" version of Kevin Watson's camera code. He does exactly what you describe (prints to the terminal, takes input, stores new parameters to EEPROM), and from the looks of it, it's not all that complex.

sonofdad123 26-01-2007 11:32

Re: 2 CMU Cameras... AT ONCE!
 
holy moly that's incredible! did you alter the default code to make the cameras pan/tilt so smoothly?

chris31 26-01-2007 20:13

Re: 2 CMU Cameras... AT ONCE!
 
Quote:

Originally Posted by Tom Bottiglieri (Post 565654)
But for the half second you save, is it worth the extra weight, processor load, and development time?

Weight? The pan tilt assembly is already there. If they have two cameras working now I think they have dedicated people to development. I could be wrong. The processor load wouldnt be to much. But it also depends on it they are running alot of other sensors where that might be an issue. I guess we will have to wait and see what they do.


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

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