Thread: RPM calculator
View Single Post
  #8   Spotlight this post!  
Unread 28-02-2012, 11:39
ProgrammerMatt ProgrammerMatt is offline
Programmer-Electrical-Mechanical
FRC #0228 (Gus)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Southington
Posts: 138
ProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really nice
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.
Reply With Quote