![]() |
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; |
| All times are GMT -5. The time now is 21:56. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi