View Single Post
  #4   Spotlight this post!  
Unread 16-01-2007, 16:17
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: Quetion about servo tracking function in easyC pro

Quote:
Originally Posted by itsme View Post
I was talking about the built-in function called: servo tracking.
BTW, in the kick-off demo it moves the servos too? I thought it only gives data about the target, and doesn't move anything.
IIRC, the kickoff demo code doesn't have anything built in for searching, but it does adjust the pan and tilt to stay centered on the target when it is acquired. The functions that do this I believe are called DistanceToPeg() and RotateToPeg().

I may be wrong here, but I think the built-in servo tracking functions require the servos to be connected to the camera board, and this isn't possible with the 2007 camera.
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award