|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
HI EVERYBODY!!!!
we have connected the camera correctly and when we downloaded the kevin's program " Version 2.1 of the "bells and whistles"to the RC. it wrote in the terminal window" camera not detected" or something like that. it is the first time we try to use this code. we connected the rc to oi by radio . i also have changed in the file "tracking.h" the pwms and also copied our Default_Routine in user_routines.c. what we did wrong?? or what we have to change to make the camera work? tnx for your help!!! ![]() |
|
#2
|
|||
|
|||
|
Re: help me plz
How did you connect it?
Are you sure the camera is getting power? Are the little LEDs lighting up? |
|
#3
|
|||
|
|||
|
Re: help me plz
Hmm..why did you double post?
Anyway my response is on your other thread: http://www.chiefdelphi.com/forums/sh...&highlight=SOS Last edited by pheadxdll : 14-02-2007 at 10:51. |
|
#4
|
|||||
|
|||||
|
Re: help me plz
Check your TTL and connections.
|
|
#5
|
|||
|
|||
|
Re: help me plz
yes I will check the TTL but also I Want to ask you what I have exactly to change to make the robot moves towards the green light except the tracking pwms and why wheN I am moving the joysticks nothing happens with kevin's code ??
|
|
#6
|
|||||
|
|||||
|
Re: help me plz
Quote:
To track the light, we decided to let the driver have a switch (the trigger on our single joystick) when he (or she) holds it, he has control of the y or forward motion. We use the camera servo position data, so nicely packaged by Kevin, and a PID control function to control the x or side-side motion. I'll leave the details of that to you ![]() |
|
#7
|
|||||
|
|||||
|
Re: help me plz
You claim that your camera is connected properly, but the error message says it's not. Does the camera have power? The green light should be on. Is it getting data? The red light should flicker slightly.
We can't tell you what "exactly to change", because we don't know anything about your robot. It also isn't fair -- either to us or to you -- for us to do your work for you. The reason none of the joysticks do anything in Kevin's camera code is because he has disabled the call to Default_Routine(). That's the function in the default code which copies joystick values to motor outputs. It conflicts with the servo tracking outputs, so before you put it back in, you'll have to change it to match how your robot is wired and avoid setting the camera servo pwm outputs. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| program camera w/o RC? (was: PLZ HELP!!!) | RDD | Programming | 2 | 31-01-2007 14:30 |
| Aim high poster help plz? | Clam | Website Design/Showcase | 3 | 07-02-2006 21:26 |
| Missing Item plz help! | Cory | Chit-Chat | 12 | 06-05-2003 00:39 |
| Plz help with codec | Chris Nowak | 3D Animation and Competition | 7 | 18-02-2003 16:15 |
| HELP W/ CONVERTING FILES PLZ... | Matt Attallah | Chit-Chat | 3 | 03-01-2002 18:47 |