Go to Post If the GDC can actually top Rebound Rumble, I might cry at the reveal. - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 14-01-2012, 23:42
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: Getting speed from an encoder

Quote:
Originally Posted by techkid86 View Post
i am not sure if this will give the same result, but the WPI libs already have an encoder class, and it can give rate in distance. theoretically this is the same, but what ever. im not sure if you are writing your own, but, if you want just he encoder funtions, they are as follows.

Encoder.setDistancePerPulse(x);
Encoder.getRate();

not sure what you wanted but i hope i could help ^_^ good luck ^_^
Thankyou ill try both
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi