Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Wiring two cameras (http://www.chiefdelphi.com/forums/showthread.php?t=33037)

Karma 18-01-2005 21:18

Wiring two cameras
 
The newest team update stated that we could use two cameras, our team is considering a use for both of the cameras. None of our Electronics team or other members can figure out how to wire the two cameras though. So how would you wire two cameras up to the TTL Serial Port on the RC?

Dave Flowerday 18-01-2005 21:21

Re: Wiring two cameras
 
Quote:

Originally Posted by Karma
So how would you wire two cameras up to the TTL Serial Port on the RC?

You'll probably want to hook one camera to the TTL port and the other to the programming port. It will be very difficult to multiplex the TTL port for two cameras, requiring both electronics to switch between the cameras AND a good deal of software development to deal with both. You can't talk to two cameras at the same time over one serial port.

KVermilion 18-01-2005 21:22

Re: Wiring two cameras
 
Are you sure they said you can? I mean, I remember a team update that said you can't...

Nevermind... thats odd...

kjohnson 18-01-2005 21:36

Re: Wiring two cameras
 
Quote:

Originally Posted by KVermilion
Are you sure they said you can? I mean, I remember a team update that said you can't...

It was changed in Team Update #3.
http://www2.usfirst.org/2005comp/Upd..._Update_03.pdf

Karma 18-01-2005 21:38

Re: Wiring two cameras
 
Quote:

Originally Posted by KVermilion
Are you sure they said you can? I mean, I remember a team update that said you can't...

http://www2.usfirst.org/2005comp/Upd..._Update_03.pdf

Rule # 1007, 'You may use a 2nd vision camera with your robot.'

I think that this rule being in place, there should be a semi-simplistic solution to have two cameras. I appreciate your help Dave, but I still think there might be another way to wire them both.

phrontist 18-01-2005 21:43

Re: Wiring two cameras
 
We get TWO?!

kjohnson 18-01-2005 21:50

Re: Wiring two cameras
 
Quote:

Originally Posted by phrontist
We get TWO?!

No, you get one in the Kit of Parts, but FIRST is allowing you to use two on the robot. You would have to order another one from Innovation First at http://www.ifirobotics.com

KVermilion 18-01-2005 22:12

Re: Wiring two cameras
 
Quote:

Originally Posted by nukemknight

Quote:

Originally Posted by Karma
http://www2.usfirst.org/2005comp/Upd..._Update_03.pdf

Rule # 1007, 'You may use a 2nd vision camera with your robot.'

I think that this rule being in place, there should be a semi-simplistic solution to have two cameras. I appreciate your help Dave, but I still think there might be another way to wire them both.

I know... read the whole post.... :rolleyes:

dlavery 18-01-2005 23:40

Re: Wiring two cameras
 
To the first team that successfully enables two CMUcamIIs on their robot and uses the PIC microprocessor in the IFI robot controller to compute the stereo correlation from the two camera images to determine range to the designated target, within the time limits of the autonomous period, I will personally award six dozen Krispy Kreme donuts.

Yes, it is physically and electrically possible to connect multiple CMUcams to the RC. But once you do, what are you going to do with the data?

-dave

(OK, now that I have said this, just watch someone like Kevin Watson have a working solution by this Friday... :yikes: )

NoodleKnight 18-01-2005 23:46

Re: Wiring two cameras
 
Quote:

Originally Posted by dlavery
To the first team that successfully enables two CMUcamIIs on their robot and uses the PIC microprocessor in the IFI robot controller to compute the stereo correlation from the two camera images to determine range to the designated target, within the time limits of the autonomous period, I will personally award six dozen Krispy Kreme donuts.

Yes, it is physically and electrically possible to connect multiple CMUcams to the RC. But once you do, what are you going to do with the data?

-dave

(OK, now that I have said this, just watch someone like Kevin Watson have a working solution by this Friday... :yikes: )

Me any my friend used two old CMU cameras (the current release in the summer of 2003) to do that, although the Acroname GP boards weren't powerful enough to do it very well. In short we had our trikebot find a target, aim, and fire a paintball gun at it (all done on a 2d plane though, 3d wasn't possible, processor too slow). The theory sounded cool, never did get it to perfectly work though... But hey, with the new CMUII cams and PIC processors, shouldn't be too hard :D :D :D.

Kevin Watson 19-01-2005 00:24

Re: Wiring two cameras
 
Quote:

Originally Posted by dlavery
To the first team that successfully enables two CMUcamIIs on their robot and uses the PIC microprocessor in the IFI robot controller to compute the stereo correlation from the two camera images to determine range to the designated target, within the time limits of the autonomous period, I will personally award six dozen Krispy Kreme donuts.

Yes, it is physically and electrically possible to connect multiple CMUcams to the RC. But once you do, what are you going to do with the data?

-dave

(OK, now that I have said this, just watch someone like Kevin Watson have a working solution by this Friday... :yikes: )

Dave,

I just happen to be working on getting the camera code to work with my serial port driver. And now that you mention it, it wouldn't be too hard to have a second instance of the camera code running... Does your offer include those really tasty glazed, raspberry filled gems?

-Kevin

dlavery 19-01-2005 00:43

Re: Wiring two cameras
 
Quote:

Originally Posted by Kevin Watson
Dave,

I just happen to be working on getting the camera code to work with my serial port driver. And now that you mention it, it wouldn't be too hard to have a second instance of the camera code running... Does your offer include those really tasty glazed, raspberry filled gems?

-Kevin

I knew almost as fast as I typed that message that it would be a mistake. :) Yes, if you get a stereo correlation algorithm working on the PIC with two CMUcamIIs that runs fast enough to provide a solution within the 15 seconds of the autonomous period, then the award will include 72 delectable morsels of your choice. And I already know where all the Krispy Kreme stores in LA are located (actually, the Burbank store may be closer).

OK, so is anyone else going to give Kevin a challenge for the donuts?

-dave

Stephen Kowski 19-01-2005 00:50

Re: Wiring two cameras
 
program our robot and you will recieve two dozen doughnuts.....that'd be cool just to say NASA programmed our robot ;)

jgannon 19-01-2005 01:39

Re: Wiring two cameras
 
Quote:

Originally Posted by dlavery
OK, so is anyone else going to give Kevin a challenge for the donuts?

I'll tell you what, Dave. Mail me another CMU cam, and I'll gladly demonstrate two-camera code for you in Atlanta. :p

Conceptually, it's not that difficult. Get them both operational (with a little help from Kevin), and mount them on opposite corners of the front your robot. You know the width of your robot (likely 28"), and you can get the two angles from the values of the pan servos. You have angle-side-angle, and there's only one solution to the triangle. Now you know how far away you are. Pivot until the two base angles are congruent, and charge forward until you're the proper distance from the vision tetra. Use the same theory with the yellow triangle to the goal. It's very doable, and I'd love to pull it off. I can't think of a more incredible nerd feat attainable at this age than to meet Dave Lavery's personal challenge. ;)

That being said, I don't think my team is interested in spending $200 on 72 donuts. Thanks for the offer, though, Dave. :rolleyes:

Al Skierkiewicz 19-01-2005 07:48

Re: Wiring two cameras
 
Quote:

Originally Posted by dlavery
I knew almost as fast as I typed that message that it would be a mistake. :) Yes, if you get a stereo correlation algorithm working on the PIC with two CMUcamIIs that runs fast enough to provide a solution within the 15 seconds of the autonomous period, then the award will include 72 delectable morsels of your choice. And I already know where all the Krispy Kreme stores in LA are located (actually, the Burbank store may be closer).

OK, so is anyone else going to give Kevin a challenge for the donuts?

-dave

You know he was just waiting for someone to raise the stakes high enough! 72 is too rich for my blood, I fold.


All times are GMT -5. The time now is 05:07.

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