![]() |
CmuCam problem
Our cmucam does not track the target. We got the code from kevin's site. download it to the rc. did everything. I searched before posting but couldnt find any answers. cam just stays there. The lights are green. what could be the problem?
|
Re: CmuCam problem
Quote:
Did you test separately with Labview? |
Re: CmuCam problem
We are having the exact same problem and we can access the camera and tracking menus but the terminal window never display's searching. We have a red and green light lit up on our camera.
|
Re: CmuCam problem
when you say pwm 1,2. do you mean the robot controller. if yes. then yes the pwm are in 1 and 2. the power is also good. we checked in labview. it works fine there. but when we use the robot. it does not work. After uploading the code to rc nothing happens in the terminal window.
Can you call up Kevin's tracking and camera menus? sorry, dont what you mean. maybe this is the part im lost at. |
Re: CmuCam problem
To get the tracking menu you type "t" at the bottom of the terminal window.
To get the camera menu you type "c" at the bottom of the terminal window. You'll probably have to reset the robot after you download the code. If you get no response in the terminal window try resetting the robot. |
Re: CmuCam problem
I'm assuming that you chose the pwm01 and 02 on the rc and not the jumpers on the camera itself. Also, the default code from Kevin's files are too large to fit in the EduBot Controller, is there a special file for using on the Edu or do I have to commit a hack job on the code to lighten it?
And whoever came up with the idea of only writing the LabView program for Windows 2001 SP1 or higher? |
Re: CmuCam problem
Quote:
-Kevin |
Re: CmuCam problem
My compiled version with other small tidbits of code was nearly 500Kb, when I exported it I used 0x800, would I have to change this?
|
Re: CmuCam problem
Quote:
-Kevin |
Re: CmuCam problem
Quote:
What? -Joe |
Re: CmuCam problem
I have the same problem
Quote:
|
Re: CmuCam problem
Quote:
-Kevin |
Re: CmuCam problem
hmm...
ok you are having the smae problem we did. you have to calibrate your camera, because there is too much noise in your background that is affecting your stats. the calibration manual (Here) Contains the information you need to calibrate. also, make sure that you dont have the wrong axes flipped :) (read the cam manual if you dont know what i maen) |
Re: CmuCam problem
Servos are hooked up to pwm01 & 02? YES
Camera power is connected by PWM cable to an empty RC PWM output? YES PWM cable is attached to the camera serial port and the RC via TTL converter? YES Backup battery is connected to the RC and fully charged? YES 12v battery is hooked up to the RC and fully charged? YES OI is tethered or linked by radio to the RC and powered?YES Green power LED on the camera power is on? YES Can you call up Kevin's tracking and camera menus? YES Did you test separately with Labview?YES everything is fine. But the servos dont move. even if you try to move them through the menu. |
Re: CmuCam problem
Quote:
If they are uncommented, then they are being processed after the camera code, and therefore, are overwriting the values set by the camera code. During testing they should look like this. Code:
//pwm01=p1_y;Code:
/*pwm01=p1_y; |
Re: CmuCam problem
try drawing your power from the digital out instead of the PWM out that fixed the problem for us with the camera not tracking
|
Re: CmuCam problem
Quote:
But I guess if it works... -Joe |
Re: CmuCam problem
My bad, Windows 2000 Service Pack 1, I had to go buy Win XP yesterday.
|
Re: CmuCam problem
Thanks for the help. we got the cam working. there was a problem with the backup battery. it would power the camera but the servos wouldnt move. after changing the battery it started to look for the target. As in other post the camera moved away from the target. switching the jumper fixed that. it works perfect. if you are haveing any problems try to change the battery. also change the jumper. so it doesnt run away from the target.
|
Re: CmuCam problem
That's good news.
I've been away from CD for a few days visiting rookie teams, so I'm sorry about not responding with more ideas Zoom. |
Re: CmuCam problem
Quote:
This did actually happen, but the camera still works (not quite as well) and we're getting some new parts. |
Re: CmuCam problem
Hey-
Out team is having a horrible time with the camera- much like what everyone else is having in this thread. The only difference is sometimes the camera will search and sometimes it won't. We had the camera working at one point, but now it doesn't. We started from square one, but it still won't work. We're using the camera_s code, and we have calibrated the camera just as the instructions say. We noticed that the red light goes on when the camera sees the target in LabVIEW, but when we try to search with Kevin's code, it seems to be seeing the target all over. If anyone can offer any help at all it would be much appreciated! |
Re: CmuCam problem
pwm 1 and 2 are right on the camera board...on the top or bottom.....depending on the mounting of your camera
|
Re: CmuCam problem
Did you try changing the focus of your camera, ours works fine. But If its focussed wrong it wont track it at all.
|
| All times are GMT -5. The time now is 16:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi