View Single Post
  #2   Spotlight this post!  
Unread 11-01-2007, 07:46
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: Question about CMUCAM servo output

The CMU gives PWM outputs from 0 to 255 which on a servo unlike a motor is a commanded posistion not a speed to drive a motor. The units 0 to 255 on a servo are pretty close to a degree but not exactly 1 degree for each unit. 127 is the middle of the servo's rotation. I'd hook up the servo and check out how it moves in the online window. Then you can drag the slider an observe it in action.

The CMU cam doesn't have PWM ports any longer so if you wanted to track via the camera. You could write the values the camera returns to a variable "unsigned char" and then grab a SETPWM block and set the speed
to the same variable.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni