Go to Post What does code sound like going though a complier? - Hiteak [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 14-02-2009, 18:09
elfinn elfinn is offline
Team 166 Mentor
AKA: Beth Finn
FRC #0166 (Chopshop Team 166)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Merrimack, NH
Posts: 14
elfinn is an unknown quantity at this point
Re: C++ Camera Problems

Quote:
Originally Posted by rl1806 View Post
Our camera will be tracking the target then sometimes it just looses it and other times the camera turns to the left and acts like it has locked onto something. When it turns to the left we have to put something in front of the camera to get it to start searching again. We are using the latest update to the software.
There are two things that may help you. One is fixing a bug in Target.cpp's FindTwoColors() if you are using the sample program. Search for memcpy and change the second line of each memcpy pair to copy secondTrackReport instead of firstTrackReport to par2.

The other thing which I think is really your problem, is that the camera configuration / HSL settings are not working in your test environment. The camera acts like this if there is a bright contrast, glare or other lighting conditions that are less than ideal. There is a white paper on NI's web site that can help explain this:
http://joule.ni.com/nidu/cds/view/p/id/1235/lang/en
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera problems(c++) Yuan Xue Lim Programming 12 04-02-2009 16:56
Camera Problems!!! spsteam1512 Programming 0 12-02-2007 13:45
Camera Problems CMB Programming 2 02-02-2007 18:24
Camera Problems 804_twidget1 Electrical 4 27-01-2007 11:28
Camera Problems pickle Programming 21 20-01-2005 20:43


All times are GMT -5. The time now is 21:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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