Go to Post I think there are a ton of teams that would kill for one let alone three engineering mentors (especially one with the knowledge and experience that Rich Olivera has). - XaulZan11 [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 15-01-2007, 16:55
Ghosty Ghosty is offline
El Geeko Diablo
FRC #1357
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Loveland, Colorado
Posts: 6
Ghosty is an unknown quantity at this point
Tracking

I noticed that whenever the camera was tracking it was tilting downwards and then stopped tracking the green. Is this because I don't have a setting right for the noise filter or a value wrong for the RGB values. Any help would be great.
__________________
"Let's sing a song about safety, because safety is pretty important."-Bob the Ball
  #2   Spotlight this post!  
Unread 15-01-2007, 17:17
JSonntag JSonntag is offline
Registered User
FRC #0486 (Positronic Panthers)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: United States
Posts: 16
JSonntag is on a distinguished road
Send a message via AIM to JSonntag
Re: Tracking

If you are using Kevin's code, the way the camera is mounted matters. If you mount it with the on-off switch near the top, you have to go and change a few signs in your code or else it will always try to move away from the light instead of centering on it.
  #3   Spotlight this post!  
Unread 15-01-2007, 17:48
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Tracking

Here's what JSonntag is refering to in the code.
From tracking.h

Code:
// If your camera suddenly moves away from the target once
// it finds it, you'll need to change the sign on one or
// both of these values. Start with the tilt first.
#define PAN_ROTATION_SIGN_DEFAULT -1
#define TILT_ROTATION_SIGN_DEFAULT 1
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 15-01-2007, 18:03
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Tracking

Quote:
Originally Posted by Ghosty View Post
I noticed that whenever the camera was tracking it was tilting downwards and then stopped tracking the green. Is this because I don't have a setting right for the noise filter or a value wrong for the RGB values. Any help would be great.
See question nine: http://kevin.org/frc/camera/. It's best to rotate the camera 180 degrees. I've been trying to get 'em to fix that illustration for a year *sigh*.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #5   Spotlight this post!  
Unread 16-01-2007, 10:53
Ghosty Ghosty is offline
El Geeko Diablo
FRC #1357
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Loveland, Colorado
Posts: 6
Ghosty is an unknown quantity at this point
Re: Tracking

Thanks Kevin, your solution worked, I'm eternally grateful to your greatness.
__________________
"Let's sing a song about safety, because safety is pretty important."-Bob the Ball
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
Tracking Mr.Fahrenheit Programming 3 10-01-2006 21:50
Tracking in HyperTerminal cprogrammer Programming 2 20-02-2005 15:54
'tracking' flag zdeswarte Programming 3 20-02-2005 13:53
IR tracking nzj1 General Forum 3 26-01-2004 22:46
Tracking Wetzel Championship Event 11 06-03-2002 18:18


All times are GMT -5. The time now is 20:42.

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