Go to Post You can be legal and be graciously professional, but still be dumb. - dlavery [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-01-2009, 12:13
ijk90825 ijk90825 is offline
Registered User
FRC #3017
 
Join Date: Jan 2009
Location: NY
Posts: 4
ijk90825 is an unknown quantity at this point
Camera moving but not tracking

it's kind of weird, that camera moves, and moves kinda differently when it sees the color, especially green

It seems to simply follow the routine that it supposed to move, and it moves faster for a sec or two when it sees the color

Also, it works fine but often it faces the sky, do not move vertically but only horizontally
  #2   Spotlight this post!  
Unread 31-01-2009, 12:33
mcb's Avatar
mcb mcb is offline
Registered User
AKA: Katie
FRC #1732 (Hilltoppers)
Team Role: College Student
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Milwaukee, WI
Posts: 38
mcb is an unknown quantity at this point
Re: Camera moving but not tracking

Is the camera locking onto something else? In other words, have you limited the range for the hue, saturation, and luminescence? Is there a lot of "noise" when you're tracking something?

Considering some of those might help a bit...
  #3   Spotlight this post!  
Unread 31-01-2009, 14:34
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,753
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: Camera moving but not tracking

Is this LV based or C++ based?

If LV, use probes or the panel displays to determine the actual colors and such.

From your description, it sounds like you may even have the servos hooked up different from what the SW expects. You might try disconnecting one and see if the movement doesn't indicate the bug. Also, turning off the servo movement and looking at the error terms and the value that would be sent to the servo is useful for debugging.

Greg McKaskle
  #4   Spotlight this post!  
Unread 31-01-2009, 14:40
ijk90825 ijk90825 is offline
Registered User
FRC #3017
 
Join Date: Jan 2009
Location: NY
Posts: 4
ijk90825 is an unknown quantity at this point
Re: Camera moving but not tracking

We just figured out how to track the color

Now we have to figure out how to make robot follow

We're using windriver, c++.

Now the problem is, as soon as it starts, camera faces up and doesn't move vertically. It moves horizontally, and it stops when it sees the color in the sky lol
Closed Thread


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 tracking but not moving penguain NI LabVIEW 9 30-01-2009 10:10
Moving the robot automatically to follow camera tracking potnisanish Programming 3 29-01-2009 21:01
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
Moving robot while tracking with camera questions... Steve Orr Programming 6 02-02-2006 22:24


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

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