View Single Post
  #1   Spotlight this post!  
Unread 03-02-2013, 23:42
spyla spyla is offline
Registered User
FRC #3616 (Phenomena)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: USA
Posts: 11
spyla is an unknown quantity at this point
Encoder - E4P-360-250-D-H-D-B

Hi,

First time mentor. Trying to get RPM from Encoder E4P-360-250-D-H-D-B. looked at two examples, "encoder" and "motor and encoder" rate is defined as different in one it is distance/sec in the other it is deg/sec where as when I click on detailed help for "encoder get" it tells me that rate is pluses in Hz. which is right?

if detailed help is right, then I would need to divide the rate by 1440 and multiply by 60 to get RPM

if it is Deg/sec then I would divide it by 360 and multiply by 60 to get RPM

if it is distance /sec then divide it by (6*pi) and multiply by 60 to get RPM assuming a 6" wheel.

Also we have not been able get the the "motor and encoder" example run properly. I can turn wheel by hand and get values to change but the motor won't turn by Joystick. Only thing I changed on the example was to change open motor to Jaguar. But I can run the motor through the default robot project.

thank you

spyla
team 3616
Reply With Quote