![]() |
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. |
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.
|
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 |
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. |
Re: 2 CMU Cameras... AT ONCE!
Quote:
Mike C. |
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.
|
Re: 2 CMU Cameras... AT ONCE!
Quote:
|
Re: 2 CMU Cameras... AT ONCE!
Quote:
|
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?
|
Re: 2 CMU Cameras... AT ONCE!
Quote:
|
Re: 2 CMU Cameras... AT ONCE!
Quote:
|
Re: 2 CMU Cameras... AT ONCE!
Quote:
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. |
Re: 2 CMU Cameras... AT ONCE!
Quote:
|
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?
|
Re: 2 CMU Cameras... AT ONCE!
Quote:
|
Re: 2 CMU Cameras... AT ONCE!
Nice work guys!
I like! It'd be sweet to get both cameras, one to track one target, and the other to track another, and place a tube in one of the rows where the light box isn't. Can't wait to see it in action! |
Re: 2 CMU Cameras... AT ONCE!
While the dual cameras are sweet and everything, I can't help but wonder what the music playing in the back of the video is...
Any Ideas :D? |
Re: 2 CMU Cameras... AT ONCE!
How difficult would you say it was to write code that used two cameras at once?
I'm currently trying to get the RC to talk to a single camera via the program port using Kevin's serial_ports code... no luck so far. |
Re: 2 CMU Cameras... AT ONCE!
Quote:
-Kevin |
Re: 2 CMU Cameras... AT ONCE!
Quote:
And a very important question: Are you using a null-modem cable? |
Re: 2 CMU Cameras... AT ONCE!
Quote:
|
Re: 2 CMU Cameras... AT ONCE!
You can find the pinout for a null modem cable here. Basically, all the pins dealing with transmitting on one side are the pins dealing with receiving on the other side (i.e. The Tx and Rx pins are crossed), allowing the ports to talk to each other.
|
Re: 2 CMU Cameras... AT ONCE!
Thanks for the tip... works much better now. That was the easy part, now to modify the code to track on two cameras.
|
Re: 2 CMU Cameras... AT ONCE!
How quickly does that wear out your backup battery?
I want the charger from the main battery for one camera, I can't even imagine the worry about battery power with two... |
Re: 2 CMU Cameras... AT ONCE!
Congrats:) cant wait to see it:)
|
Re: 2 CMU Cameras... AT ONCE!
Quote:
|
Re: 2 CMU Cameras... AT ONCE!
Happy to report that I have two cameras tracking independently as of about 5pm this evening :-)
|
Re: 2 CMU Cameras... AT ONCE!
Nice Job. Fun to watch. hope it helps somehow.
|
Re: 2 CMU Cameras... AT ONCE!
now is this legal?.... if so do they (cameras) have to be the new 2007 models?
|
Re: 2 CMU Cameras... AT ONCE!
Correct me if I'm wrong, but I believe the only part of the camera that can't be used from the 2006 KOP is the "motherboard", the thing the the CMU camera plugs into on the module (forgive me for not using correct terms, i am a lowly mechanical team member :p ) We ordered an entire second camera, with another mount, just to have a spare lying around incase things go wrong.
Mike C. |
Re: 2 CMU Cameras... AT ONCE!
proud to say that 1392 has also succesfully intergrated two cameras this year:) ... only we need to buy another legal camera:(
|
Re: 2 CMU Cameras... AT ONCE!
Team 1389, we got it working too. But does anyone know what rule actually says we can't use last year's Camera? If we aren't using the pwm outputs to control the servos, then we aren't really using any functionality that isn't available on the new motherboard.
Any ideas? ****EDIT**** After doing some checking, I realized that rule R28 pretty much directly reads that you can't use the old boards. Are there any teams who don't plan on using there camera this year? We really don't have budget for a second camera, and we've already got some pretty good ideas on how to make autonomous work really quickly with two cameras. Thanks in advanced! |
| All times are GMT -5. The time now is 23:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi