Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Servo Tracking (http://www.chiefdelphi.com/forums/showthread.php?t=54423)

agriffchs08 18-02-2007 02:34

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.

cmptrgy412 03-03-2007 21:35

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.

Kingofl337 05-03-2007 13:50

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.


All times are GMT -5. The time now is 04:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi