View Single Post
  #5   Spotlight this post!  
Unread 11-02-2007, 22:18
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Problem with easy C CameraTracking function

Quote:
Originally Posted by mjveld1018 View Post
In short, I can't figure out why the CaptureTracking is returning everything as 0.
It's possible that the camea is not being initialized properly. You can test this by turning on debugging output for the camera. To do this, call the function:
Code:
SetCameraDebugMode(1);
just before the camera initialize block.

What you should see in the terminal window is a bunch of somewhat cryptic lines where easyC tries to send commands to the camera. For each command it sends you'll see a "->" at the front of the line indicating that it's going to the camera. You should see responses from the camera (mostly ACKs - acknowledge) with a "<-" in the front of the line. If you don't see that sequence then it means that the camera never received the initialization commands correctly.

I would also try to use the default camera parameters built into easyC just as a baseline. Those should work out of the box. After you see it working, then go back to LabView to tweak the setup.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute