|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Camera not tracking with default code
We seem to be having an issue with the default TwoColorTrackDemo code. We know for a fact that the camera can see the target ... but it does not search for/follow the target.
There are a few things I want to make sure of; is the default code supposed to be able to search for/follow a target? (I thought so, but this would not be the first time I was wrong) I have a checklist of things to look for on the robot tomorrow electronics wise, but is there anything in Windriver I should check as well? Our electronics guys are bent on saying it is a code issue, because they would not have messed up on something like this ![]() |
|
#2
|
|||||
|
|||||
|
Re: Camera not tracking with default code
I don't think the example code needs any changes in order to work, but I've not been using the WindRiver environment, so I can't say it with certainty.
Make sure your electronics checklist includes making sure the 6v LED is lit on the Digital Sidecar, and that the servo power jumpers are installed on the PWM outputs going to the pan/tilt servos. |
|
#3
|
|||
|
|||
|
Re: Camera not tracking with default code
Make sure you're running the latest updates--the most recent one(cRio 11/WR 3) fixed an issue in camera tracking and FindColor calls. If you're running an earlier version, FindColor will return the first particle it finds, even if that particle is just one pixel.
|
|
#4
|
|||
|
|||
|
Re: Camera not tracking with default code
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera not tracking | AG-chadd | Programming | 3 | 07-02-2009 10:51 |
| camera tracking code | mahmosh | Programming | 2 | 25-01-2009 18:37 |
| Camera Tracking not working? | NinJA999 | C/C++ | 0 | 25-01-2009 15:28 |
| Camera locked in "tracking", but not tracking | geeknerd99 | Programming | 1 | 18-02-2007 22:47 |
| problems using gyro/adc code with camera default code | tanstaafl | Programming | 7 | 22-01-2006 23:09 |