Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Camera not tracking with default code (http://www.chiefdelphi.com/forums/showthread.php?t=73926)

iTHOS=awesome 08-02-2009 16:26

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 :rolleyes:

Alan Anderson 08-02-2009 20:50

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.

nathanww 08-02-2009 23:22

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.

iTHOS=awesome 09-02-2009 11:14

Re: Camera not tracking with default code
 
Quote:

Originally Posted by nathanww (Post 816990)
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.

Thanks for the help; we updated to version 11 last week troubleshooting the code.


All times are GMT -5. The time now is 02:31.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi