Thread
:
RPM calculator
View Single Post
#
8
28-02-2012, 11:39
ProgrammerMatt
Programmer-Electrical-Mechanical
FRC #0228 (Gus)
Team Role: Mentor
Join Date: Jan 2011
Rookie Year: 2010
Location: Southington
Posts: 138
Re: RPM calculator
The encoder class works with both i belive..
if so
Code:
Encoder myencoder = new Encoder(#); myencoder.getRate();
the the rate works off ticks per secound you need to scale it down.
ProgrammerMatt
View Public Profile
Find all posts by ProgrammerMatt
Find CD-Media Photos by ProgrammerMatt
Find CD-Media Papers by ProgrammerMatt