Go to Post This place is much brighter than most institutions I have seen. It also seems to be lacking straight jackets which I think is a mistake for many of us. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2009, 19:47
Ibanez549's Avatar
Ibanez549 Ibanez549 is offline
Registered User
AKA: Chris
FRC #0549 (Devil Dawgs)
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Leominster MA
Posts: 2
Ibanez549 is an unknown quantity at this point
Send a message via AIM to Ibanez549
Talking Color tracking not working.

Hey, im from team 549 and we are currently working on our color tracking program in labview. We downloaded the Two color tracking program from the first website to use. Our problem is that when we try to use it the camera scans, then finds the target, and then seems to go all the way left and start scanning again right away. Is there some thing we are doing wrong or something not set? We havent changed the program we downloaded at all. Thanks for the help.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2009, 01:13
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Color tracking not working.

If your camera is mounted with the power and network connectors at the top, it's upside down from the way the software expects. It will tend to "run away from" the target instead of tracking it.

If this is the case, you can connect the camera directly to your computer and log on to it (user FRC, password FRC) to configure it to rotate the image 180 degrees.

It's also possible to build the pan/tilt assembly as a mirror image of the intended design, in which case the tilt servo is going to drive the camera up when the software thinks it's going down. Looking into the camera lens, the tilt servo ought to be to the camera's left.

If neither of these is your issue, i'm not sure what else to suggest.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2009, 08:11
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Color tracking not working.

The proportional constants for determining how the gimbal moves due when the image isn't centered are on the gimbal control subVI. I believe one is positive and one is negative. If you think one is backwards, negate it. If that fixes it, be sure to make current value default on the control.

Greg McKaskle
Reply With Quote
Reply


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
Two Color Tracking Demo Bharat Nain Programming 43 25-01-2009 18:58
Camera Tracking not working? NinJA999 C/C++ 0 25-01-2009 15:28
Video: Color Camera Tracking laultima Programming 10 22-01-2009 22:43
Team 399 Color Tracking EricGoodchild Robot Showcase 2 15-01-2009 22:38
Tracking Color? haywirerobotics Programming 0 14-01-2006 13:55


All times are GMT -5. The time now is 08:45.

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