Go to Post A good teacher always needs to be a good student - Redhead Jokes [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 18-02-2006, 10:45
itzrobz itzrobz is offline
Registered User
None #0333
 
Join Date: Jan 2006
Location: BROOKLYN
Posts: 29
itzrobz is an unknown quantity at this point
pan & tilt errors

Pan Error : 24
Tilt Error : 104

Can anyone help us make it so that the error is is closer to 0 and not 104?

Thanks
  #2   Spotlight this post!  
Unread 18-02-2006, 13:20
Windward's Avatar
Windward Windward is offline
Registered User
FRC #1452
Team Role: Programmer
 
Join Date: Nov 2005
Rookie Year: 2004
Location: So Cal
Posts: 88
Windward is an unknown quantity at this point
Re: pan & tilt errors

Set the value closer to zero in the code or if you have the "bells and whistle" version use the tracking menu (press t in the command prompt from IFI loader)
__________________
  #3   Spotlight this post!  
Unread 19-02-2006, 19:12
Keith Watson Keith Watson is offline
Registered User
FRC #0957 (WATSON)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Wilsonville, OR
Posts: 112
Keith Watson is just really niceKeith Watson is just really niceKeith Watson is just really niceKeith Watson is just really nice
Re: pan & tilt errors

Quote:
Originally Posted by itzrobz
Pan Error : 24
Tilt Error : 104

Can anyone help us make it so that the error is is closer to 0 and not 104?

Thanks
Are you sure the camera is locked on with those values? In tracking.c the algorithm uses the maximum number of pixels between the camera center and the target center as:
Code:
#define PAN_ALLOWABLE_ERROR_DEFAULT 6
#define TILT_ALLOWABLE_ERROR_DEFAULT 6
So anything higher than an error of 6 should mean the camera is not locked on to the target in the Servo_Track() function.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.
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
green naor52 Programming 11 02-02-2006 07:21
CMUCam pan and tilt sheyna Programming 9 14-01-2006 23:20
Dashboard View of Pan and Tilt Servo Values JoeXIII'007 Programming 1 02-02-2005 22:34
Digital inputs, bandwith, errors? Micah Brodsky Programming 7 20-01-2003 16:08


All times are GMT -5. The time now is 01:32.

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