Go to Post My goal as a mentor is to make myself irrelevant. Is that possible? Probably not. But this is one place I am willing to aim stupidly high. - Ian Curtis [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-2007, 02:34
agriffchs08 agriffchs08 is offline
Team Captain/Head Programmer
AKA: Antonio
FRC #1827 (Center RoboJackets)
Team Role: Programmer
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 5
agriffchs08 is an unknown quantity at this point
Send a message via AIM to agriffchs08 Send a message via Yahoo to agriffchs08
Servo Tracking

I'm working in easyC and have got my teams camera to RECOGNIZE the green target light. However, whenever the program starts running the pan and tilt servos go to one specific set of coordinates and stay there. According to the terminal the camera is tracking the light but in actuality it reads it but does not move towards it...anybody know what I need to do to fix it? I've tried adding a Set Servo Tracking function block, but don't know where to place it.
  #2   Spotlight this post!  
Unread 03-03-2007, 21:35
cmptrgy412 cmptrgy412 is offline
Robohawks Programmer
AKA: Jacob G
FRC #1985 (Robohawks)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Missouri
Posts: 7
cmptrgy412 is an unknown quantity at this point
Re: Servo Tracking

I don't remember the global variable names exactly, but make sure that the pwms for your pan and tilt servos are set to the correct pwms. Are you using kickoff code or your own. If your own, some source would be appreciated.
__________________

Last edited by cmptrgy412 : 04-03-2007 at 19:32.
  #3   Spotlight this post!  
Unread 05-03-2007, 13:50
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Servo Tracking

I'd recommend on clicking the help button on the "Set Servo Tracking" block and it will explain how to use it.

Then you just make two variables "unsigned char' call them pan and tilt persay and write data to them in the caputre tracking data panel. Then write those values to a PWM Output.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
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
Quetion about servo tracking function in easyC pro itsme Programming 5 31-01-2007 11:30
Servo & Tracking Problems Team 849 Programming 4 28-01-2007 01:28
Servo tracking... pan reverse Terry Yiu Programming 2 23-01-2007 22:26
Servo behavior question / advanced servo/PIC programming question DanL Electrical 12 18-10-2005 18:33
Tracking beacon without servo Paul Marshall Technical Discussion 17 10-02-2004 20:58


All times are GMT -5. The time now is 00:26.

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