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)

Mike Starke 26-01-2007 20:22

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!

Cody Carey 26-01-2007 20:50

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?

Ben Englert 27-01-2007 19:24

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.

Kevin Watson 27-01-2007 19:37

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

Originally Posted by Ben Englert (Post 566483)
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.

The port is specified as the first option in camera.h. Other than building a suitable cable, that's all you have to do.

-Kevin

DanDon 27-01-2007 19:38

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

Originally Posted by Ben Englert (Post 566483)
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.

Did you define the correct serial port in camera.h? And comment out the other one?

And a very important question: Are you using a null-modem cable?

Ben Englert 27-01-2007 19:41

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

Originally Posted by dhoizner (Post 566492)
Did you define the correct serial port in camera.h? And comment out the other one?

And a very important question: Are you using a null-modem cable?

I am using a male to male DB9 cable... I'm fairly certain it's straight-through, is there a special pinout neccesary?

DanDon 27-01-2007 19:47

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.

Ben Englert 27-01-2007 20:53

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.

Brad Voracek 28-01-2007 00:30

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...

teh_pwnerer795 28-01-2007 01:15

Re: 2 CMU Cameras... AT ONCE!
 
Congrats:) cant wait to see it:)

teh_pwnerer795 28-01-2007 01:24

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

Originally Posted by Brad Voracek (Post 566687)
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...

1392's battery inst that bad, i can the camera for 2-3 days for only a couple of hours each day until battery is gone...

Ben Englert 28-01-2007 20:38

Re: 2 CMU Cameras... AT ONCE!
 
Happy to report that I have two cameras tracking independently as of about 5pm this evening :-)

Sean Marks 28-01-2007 21:09

Re: 2 CMU Cameras... AT ONCE!
 
Nice Job. Fun to watch. hope it helps somehow.

teh_pwnerer795 30-01-2007 02:20

Re: 2 CMU Cameras... AT ONCE!
 
now is this legal?.... if so do they (cameras) have to be the new 2007 models?

Michael Corsetto 30-01-2007 03:53

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.


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