View Single Post
  #8   Spotlight this post!  
Unread 20-01-2007, 14:03
josh291 josh291 is offline
Registered User
FRC #0291 (CIA)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Erie, Pennsylvania
Posts: 6
josh291 will become famous soon enoughjosh291 will become famous soon enough
Re: Our two problems...

Quote:
Originally Posted by teh_r4v3 View Post
You'll want to make sure the servos are on the default PWM outs 1 and 2. (This conflicts with the drive motors of Default_Routine(), by the way, so make sure that the call to Default_Routine() is commented out.) The fact that the servos are twitching upon activation makes it sound like they're just getting a 127 output to me. If you can't use PWMs 1 and 2, you can easily redefine them in tracking.h (for the Kevin.org streamlined code, I've never used anything else).
Thanks, I'll try commenting out that Default_Routine() when I go back on Monday... I'm sure the camera itself works, I can take snapshots on it when I use it with the computer...

Quote:
Originally Posted by Eric Finn
If your camera code from last year worked fine, couldn't you just use that? Sure, the more recent code has more features, but your old code works.
We didn't use the camera last year in the end, so the only people who have the old camera code are the college students who borred the camera for a few days...

Quote:
Originally Posted by lynca
Take a look at the streamlined kevin watson's code , it worked off the bat , except you might have to change a few constants in tracking.h to get the servos to move in a different direction.
http://www.kevin.org/frc/frc_camera_s_21.zip
That is the one that I've been using