Go to Post I would feel more comfortable if you used rock-paper-scissor-lizard-Spock. - IndySam [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-01-2007, 18:00
xrabohrok's Avatar
xrabohrok xrabohrok is offline
hunter of errors
FRC #1208 (The Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2006
Location: O'Fallon
Posts: 62
xrabohrok is an unknown quantity at this point
Exclamation Where in the world is the new 2007 cmu camera docs?!?!?

We have been messing around with this new camera and we are utterly confounded, how does one wire the thing to the controller, much less configure it?

We are in the dark here.
__________________
"It's programming's fault" may be a viable excuse for just about everything, except the robot falling apart.

It will 'cause it can!

constants aren't. variables won't.
  #2   Spotlight this post!  
Unread 06-01-2007, 18:03
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Where in the world is the new 2007 cmu camera docs?!?!?

http://kevin.org/frc/

Kevin Watson (the amazing soul he is) compiled all the info you request.

Good luck
JBot
__________________
Aren't signatures a bit outdated?
  #3   Spotlight this post!  
Unread 06-01-2007, 18:19
xrabohrok's Avatar
xrabohrok xrabohrok is offline
hunter of errors
FRC #1208 (The Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2006
Location: O'Fallon
Posts: 62
xrabohrok is an unknown quantity at this point
sorry, but no.

The camera described in the documentation here (page 17 for the diagram), is vastly different from the one our team got this year, as described on the ifi robotics page. The one from last year has pins for the servos to plug into, and the new one has no servo pins at all, the things at the bottom of this year's camera are solderable jumper settings (I think).

Help!
__________________
"It's programming's fault" may be a viable excuse for just about everything, except the robot falling apart.

It will 'cause it can!

constants aren't. variables won't.
  #4   Spotlight this post!  
Unread 06-01-2007, 18:25
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: sorry, but no.

Quote:
Originally Posted by xrabohrok View Post
The one from last year has pins for the servos to plug into, and the new one has no servo pins at all, the things at the bottom of this year's camera are solderable jumper settings (I think).
Wow, I didn't even look at the camera yet, so I haven't seen the missing servo outs. However, Kevin's code doesn't use them, rather, it uses PWM outputs from the RC itself to drive the two servos. You will have to open some of his code, I believe, to figure out which to plug into. Your programmer needs this info (if you're not the programmer).

Those docs should still be valid with this year's camera; it just sounds like they short-cutted and skipped the servo outputs that we weren't supposed to use anyway. I'll post back tomorrow after I've had a chance to look at the camera in person and make sure it is the same.

JBot
__________________
Aren't signatures a bit outdated?
  #5   Spotlight this post!  
Unread 06-01-2007, 18:39
Inverted Inverted is offline
Registered User
AKA: Eric P.
FRC #1228 (Robo Tribe)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Rahway, NJ
Posts: 25
Inverted is an unknown quantity at this point
Send a message via AIM to Inverted
Re: Where in the world is the new 2007 cmu camera docs?!?!?

I'm probably completely wrong here, but I'm just curious. I thought I heard somewhere about a new, standalone CMUcamGUI that was just released, but the one I just downloaded still uses Java. Does anyone know where the new one is, or did I just make all of this up?
  #6   Spotlight this post!  
Unread 06-01-2007, 18:48
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Where in the world is the new 2007 cmu camera docs?!?!?

I tried to verify this, but usfirst.org is timing out--probably looks like a distributed denial of service attack from their end...I'd hate to be on the IT staff there!

When the site is accessible again, I will try to confirm this for you.

The old CMUcamGUI app (yes, the one in Java) should work fine; it looks like it's the same camera as last year minus some connectors (probably cost-reducing in effect here).

JBot
__________________
Aren't signatures a bit outdated?
  #7   Spotlight this post!  
Unread 06-01-2007, 22:47
xrabohrok's Avatar
xrabohrok xrabohrok is offline
hunter of errors
FRC #1208 (The Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2006
Location: O'Fallon
Posts: 62
xrabohrok is an unknown quantity at this point
Re: Where in the world is the new 2007 cmu camera docs?!?!?

I guess the question now remains on how to connect the camera to labview for configuration, a labview was dependant on those servo connectors, or maybe one doesn't? Maybe we have to do it through mplab, which would be somewhat painful.
__________________
"It's programming's fault" may be a viable excuse for just about everything, except the robot falling apart.

It will 'cause it can!

constants aren't. variables won't.
  #8   Spotlight this post!  
Unread 06-01-2007, 23:06
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Where in the world is the new 2007 cmu camera docs?!?!?

2007 Camera function 100% the same as the 2005/2006 camera. I headers for the servos have just been removed. The camera should work the same in JavaApp and Labview. The only change is anything that mentions the servos no longer does anything.

This fixes two issues.

1.) You don't have to stop the camera to change servo posistions.
2.) You can't run victors off you camera anymore which was kind of a saftey
hazard as the camera doesn't know about being disabled. I'm pretty sure
this is why they were removed.

To make it work just run a PWM cable from the Analog or Digital port of the RC to the connector next to the switch. This will run your camera off the 12v supply instead of the backup battery. On the CMU board it has a "B" that is where the black wire goes. Then just run a serial cable from your computer into the CMUCAM.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #9   Spotlight this post!  
Unread 07-01-2007, 21:26
darist darist is offline
Registered User
AKA: David Aristizabal
no team
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Newark, NJ
Posts: 36
darist is an unknown quantity at this point
Re: Where in the world is the new 2007 cmu camera docs?!?!?

Documentation for this year's camera is available here:

http://www.ifirobotics.com/camera.shtml

To use it with LabView, last year, we used a serial cable directly connected between the camera and the computer, and we used the CMUCAM demo LabView application that was posted by NI (I think I found the link somewhere on this forum).

By the way, does anyone know if there is a new LabVIEW application this year?

Also, what's this Java application people are talking about? I haven't seen it. Can anyone post a link?

Thanks!
  #10   Spotlight this post!  
Unread 07-01-2007, 21:40
darist darist is offline
Registered User
AKA: David Aristizabal
no team
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Newark, NJ
Posts: 36
darist is an unknown quantity at this point
Re: Where in the world is the new 2007 cmu camera docs?!?!?

Quote:
Originally Posted by Kingofl337 View Post

To make it work just run a PWM cable from the Analog or Digital port of the RC to the connector next to the switch. This will run your camera off the 12v supply instead of the backup battery.
One of the diagrams says that you should connect it to the PWM header of the Robot Controller. If I remember correctly, this was the same last year as well. And if I'm still not wrong, I think the PWM header is powered by the backup battery at 7.5V.
Kingofl337, do you know for sure if the CMU Cam can handle 12V?
I think it might be a good thing to run off the main battery, and that way you don't really have to worry about discharging your backup battery.
On the other side, the power supply from the main battery will be very noisy (compared to the backup battery) because you will have motors, etc, running off it. Do you know if this is a potential problem?
  #11   Spotlight this post!  
Unread 07-01-2007, 21:43
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: Where in the world is the new 2007 cmu camera docs?!?!?

The servos are also powered off of the backup battery, so you would still need to worry about having a fully charged backup battery.
__________________
  #12   Spotlight this post!  
Unread 07-01-2007, 22:16
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Where in the world is the new 2007 cmu camera docs?!?!?

Quote:
Originally Posted by Kingofl337 View Post
2007 Camera function 100% the same as the 2005/2006 camera. I headers for the servos have just been removed. The camera should work the same in JavaApp and Labview. The only change is anything that mentions the servos no longer does anything.

This fixes two issues.

1.) You don't have to stop the camera to change servo posistions.
2.) You can't run victors off you camera anymore which was kind of a saftey
hazard as the camera doesn't know about being disabled. I'm pretty sure
this is why they were removed.

To make it work just run a PWM cable from the Analog or Digital port of the RC to the connector next to the switch. This will run your camera off the 12v supply instead of the backup battery. On the CMU board it has a "B" that is where the black wire goes. Then just run a serial cable from your computer into the CMUCAM.
Um, the servo PWM headers went away because the Ubicom SX52 microcontroller is no longer available and IFI was forced to transition to the SX48, which has fewer I/O pins. As it doesn't make sense to use the on-board PWM outputs for our application anyway, they were removed to aid in the transition to the SX48.

Using the camera PWM outputs to drive a victor would be strictly illegal under FRC rules, so I have no idea why this would be a problem that needed to be fixed.

The camera *must* be powered from a RC PWM header. Using power from any other header -- which supply 5 volts, not 12 -- won't work because the camera has its own voltage regulator and it needs an input voltage of at least 6.25 volts to function correctly.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #13   Spotlight this post!  
Unread 07-01-2007, 22:20
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Where in the world is the new 2007 cmu camera docs?!?!?

So does this mean that there is a was a firmware update aswell?

Any new features?
  #14   Spotlight this post!  
Unread 08-01-2007, 20:28
xrabohrok's Avatar
xrabohrok xrabohrok is offline
hunter of errors
FRC #1208 (The Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2006
Location: O'Fallon
Posts: 62
xrabohrok is an unknown quantity at this point
Re: Where in the world is the new 2007 cmu camera docs?!?!?

The camera works perfectly now, though the picture comes out kind of dark...
It even tracks the light! Now I have to make this feature meaningful...
__________________
"It's programming's fault" may be a viable excuse for just about everything, except the robot falling apart.

It will 'cause it can!

constants aren't. variables won't.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
our own allternative code for the cmu camera Gili Programming 16 17-02-2006 00:16
Where in the World is? Sgraff_SRHS06 General Forum 4 16-02-2006 14:46
New Model Posted - 2005 CMU Camera Ed Sparks Inventor 1 04-01-2006 23:36
pic: Where in the world is....Tom Schindler? Eric O Extra Discussion 6 28-04-2005 04:29
Where in the World is GizMOE Today Contest Bill Enslen Robot Showcase 43 05-05-2004 13:20


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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