Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Can't find CMUCam2 demo.llb (http://www.chiefdelphi.com/forums/showthread.php?t=41722)

Chris_Elston 15-01-2006 14:08

Re: Can't find CMUCam2 demo.llb
 
Quote:

Originally Posted by Danny Diaz
Could be a number of things.

1. Make sure the backup battery is FULLY CHARGED.
5. Make sure the backup battery is FULLY CHARGED.

And above all, make sure your backup battery is fully charged.

-Danny


I am sorry, but this hits HOME for us...I dunno how many times the camera stopped working only to find out the backup battery was dead or not charged. Only a week into this, and this is an inside joke for our team....

Backup battery charged? CHECK!

Chris_Elston 15-01-2006 14:12

Re: Can't find CMUCam2 demo.llb
 
Quote:

Originally Posted by N3OW
We have an issue with the pan going the wrong way from the target.
We had a issue with the image being upside down so we rotated the camera and that fixed that problem bur the pan goes opposite of the target any ideas as to why? :ahh:


Jay,

Providing that you are using the PWM servo drivers onboard the camera.....

Put the camera back the way it was, then just install a JUMPER on the CMU board. Your looking for a PAN REVERSE and TILT REVERSE jumper. See page #5 from this document:

First Camera Document

railerobotics 15-01-2006 14:59

Re: Can't find CMUCam2 demo.llb
 
We have an electronics engineer who took a 12v power supply and transformed it so that it has an output of 7.2 volts, so we are absolutely positive that the camera is getting power.

Joe Hershberger 15-01-2006 15:43

Re: Can't find CMUCam2 demo.llb
 
Quote:

Originally Posted by railerobotics
That has been already downloaded. But now, we can start the program without any errors then when clicking the "grab frame" button it downloads all the way and no picture appears on the screen, and it restarts itself over and over. What's wrong?

Does it look like the button is sticking down? There is a "Mechanical Action" option for the button that will change the way it acts. if it is stickingm you will need to change the mechanical action. If you haven't change that, though, it should be ok by default.

Is it possible that youare double clicking the button?

Are you sure you downloaded the latest version there? The old version is still there along with the updated one. Look at the dates in the file names.

Are you still seeing the behavior? Can you give any more information about what is happening?

-Joe

railerobotics 15-01-2006 19:04

Re: Can't find CMUCam2 demo.llb
 
We have fixed the problems with labview, we just over wrote our Cmucam2 demo files. The problems we are have know is that when we download the camera code through ifi loader the terminal window is blanck. It is suppose to say searching and then give values.

Chris_Elston 15-01-2006 23:28

Re: Can't find CMUCam2 demo.llb
 
Quote:

Originally Posted by railerobotics
We have an electronics engineer who took a 12v power supply and transformed it so that it has an output of 7.2 volts, so we are absolutely positive that the camera is getting power.


Becareful with this rule and circuit diagram from FIRST. I think the rules say "charging circuit". That means, the 7.2 battery should STILL be on the robot is the way I interpret the rules, not missing and powered soloely by the 12V battery.

I know your probablly only testing it on the bench now and only need the 7.2 power directly from your 12V, but I figured I would point that out incase anyone got any bright ideas.


<R53> The 7.2v backup battery may be charged on or off the robot. When off the robot, the battery is to be
charged with the provided 7.2V backup battery charger. When mounted on the robot, the backup battery may
be charged from the EX18-12 primary battery by using the custom charging circuit available from Innovation
First Inc. (note: IFI will provide the design for this circuit on the IFI website, however teams must obtain the
parts for this circuit and assemble it themselves)

Chet Urata 16-01-2006 03:27

Re: Can't find CMUCam2 demo.llb
 
I hate to sound like a goof here (but it's too late to worry about that now since I already established that last year), but did you remove the lens cap?

railerobotics 16-01-2006 09:18

Re: Can't find CMUCam2 demo.llb
 
We're using the power supply for testing purposes only and yes we did remove the lens cap.

Shadow 28-01-2006 11:21

Re: Can't find CMUCam2 demo.llb
 
Quote:

Originally Posted by Kevin Watson
Can you try the software mentioned here and report back with the results?

-Kevin

I've been having the same type of error working with our camera. Everything is wired correctly, TTL port is set up, backup battery is charged, program loaded correctly (using the most updated version from your website, Kevin), etc. Everything is verbatim to what I've been reading thus far, and I'm still getting a hangup on STATE 3.

I've downloaded the diagnostic program, and run it. It doesn't show "Serial Port Diagnostics Running..." until after I restart the RC, and when I type something "To Port ->" I get no feedback.

The camera has a green light from what seems to be labeled DS1, DS2 is off, but DS3 is red.

This all seems to say to me, "your TTL port isn't working!!" but I know beyond a doubt I have hooked it up properly. So sould I assume that's a defective part or is there someone out there with more insight into the issue than I have? (I hope, I hope, I hope... :D )

Kevin Watson 28-01-2006 11:29

Re: Can't find CMUCam2 demo.llb
 
Quote:

Originally Posted by Shadow
I've been having the same type of error working with our camera. Everything is wired correctly, TTL port is set up, backup battery is charged, program loaded correctly (using the most updated version from your website, Kevin), etc. Everything is verbatim to what I've been reading thus far, and I'm still getting a hangup on STATE 3.

I've downloaded the diagnostic program, and run it. It doesn't show "Serial Port Diagnostics Running..." until after I restart the RC, and when I type something "To Port ->" I get no feedback.

The camera has a green light from what seems to be labeled DS1, DS2 is off, but DS3 is red.

This all seems to say to me, "your TTL port isn't working!!" but I know beyond a doubt I have hooked it up properly. So sould I assume that's a defective part or is there someone out there with more insight into the issue than I have? (I hope, I hope, I hope... :D )

Now that you know your serial communication with the camera is not happening, follow the instructions in Q14 of the CMUcam2 FAQ: http://kevin.org/frc/camera and report back here with the results.

-Kevin

Shadow 28-01-2006 12:20

Re: Can't find CMUCam2 demo.llb
 
Quote:

Originally Posted by Kevin Watson
Now that you know your serial communication with the camera is not happening, follow the instructions in Q14 of the CMUcam2 FAQ: http://kevin.org/frc/camera and report back here with the results.

-Kevin

Read the instructions in Q14, did that in essence, with the exception of switching out pwm cables first (just to make sure that wasn't the problem, and with the hope of actually saving some time). In the end, it didn't matter, and it seems as though the signal is not going past the FRC.

Any ideas?

cvbritton 06-02-2006 18:40

Re: Can't find CMUCam2 demo.llb
 
Quote:

Originally Posted by railerobotics
After downloading the code to the robot controller and the terminal window pops up, nothing happens in it. Why is this?

This may have been said already... but it never hurts to say it again.

My team has wasted 4 weeks on the same problem. The code will not load correctly and execute if the robot radio OI (what runs your joystick) is not connected and functioning. The out-of-the box code should always work as long as you have not altered it in any way and have it wired according to the instructions. (PWM 1 & 2 for Pan/Tilt, TTL chip connected to controller, and power pwm cable) To make sure your OI is working, make sure the light next to RADIO on the controller is green, and not red or orange.

I really hope this helps... this camera gets really frustrating. Keep working hard guys, see ya at competition.

~ Team 900 infinity

:cool:


All times are GMT -5. The time now is 03:37.

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