|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
- Made the cam mount assembly
- Attached the cam to robot - Cam works fine - I load kevin's default code into the Controller - In I/O window i get "CR" (What does that mean?) It keeps repeating "CR" - Once i press reset button onto the robot in I/O window i see "RM" (what does that mean?) How i set the cam up ************************************************** ******** - I connected my pan to pwm01 - connected my tilt to pwm02 - I give power to my cam throught pwm03 - Connected my TTL (Mini chip) on to the controller where it says TTL Questions ************************************************** ******** 1) What should my next step be to make my camera work? 2) When i get the values for Red, Green and Blue through GUI? How can i turn it so i can put this colour value into my code? and where and how can i put this colour value into my code? Thank You Very Much ![]() |
|
#2
|
|||
|
|||
|
Re: Steps to make cam work?
Disconnect your laptop from the camera itself.. it doesn't know if it should be talking to you or the robot controller.
You do not have to change the code to track the target. You may want to calibrate the camera to make it track better, but that is well documented in the CMUCam2 Workbook at http://kevin.org/frc/ |
|
#3
|
|||
|
|||
|
Re: Steps to make cam work?
Quote:
1) when i first did it their was nothign showing up in I/O window however after reading the text files i figured out that you have to change the port values by commenting and uncommenting. 2) After i did that, some stuff started to show up in I/O window for e.g. "CR" repeating itself, so i chose to press reset button on controller and "RM" showed up and than "CR" again repeating itself. How are you guys connecting your camera. Also, how did you guys make ur camera to show values in I/O window? It would be really helpful if someone can briefly make it clear. Thanks ![]() |
|
#4
|
|||||
|
|||||
|
Re: Steps to make cam work?
The camera itself has 4 connections:
1) PWM cable - Power In (camera) to PWM Out (RC) 2) PWM cable - Pan Servo to PWM Out (RC) 3) PWM cable - Tilt Servo to PWM Out (RC) 4) PWM cable - RS232 3pin (camera) to TTL232 adapter to TTL port (RC) If you want to view output on your computer, connect your computer's serial port to the Program port on the RC. Open the Terminal window in IFI Loader, and then you can view output. |
|
#5
|
|||||
|
|||||
|
Re: Steps to make cam work?
Quote:
|
|
#6
|
|||
|
|||
|
Re: Steps to make cam work?
I did but all i see is <IFI> nothing more than that? like the I/O window is completely blank. I don't see any messages in I/O so how can i troubleshoot such problem? What are the possible mistakes.
|
|
#7
|
|||||
|
|||||
|
Re: Steps to make cam work?
If all you get is the IFI> prompt, your RC is apparently not starting up the user program. Is it communicating properly with the OI?
|
|
#8
|
|||
|
|||
|
Re: Steps to make cam work?
my I/O works fine with other codes. I don't know y it doesn't work with camera code?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| When to leave that first tech job? | Morenoh149 | Career | 4 | 07-10-2005 00:40 |
| QUESTION OF THE WEEK!!! | archiver | 2000 | 14 | 24-06-2002 00:22 |
| Who knows how the motors [I]really[/I] work? | Wetzel | Chit-Chat | 5 | 13-02-2002 21:50 |