View Single Post
  #2   Spotlight this post!  
Unread 17-01-2007, 23:19
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: Servo & Tracking Problems

Quote:
Originally Posted by Team 849 View Post
We're having problems with the servos and our camera can't track. We tried using the demo program and it still doesn't work. What's wrong? The camera can move with the joystick but the autonomous doesn't work either.
Are you using EasyC or Kevin Watson's camera code?

What pwm output ports do you have the servos connected to? The 2007 easyC demo code expects pan and tilt to be on pwm 10 and 11 by default, respectively. You can change this with the macros and constants dialog by hitting F6 in easyC. Kevin's code by default has pan and tilt on pwm 01 and pwm 02. That can be changed by editing the values defined in tracking.h.
__________________
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