Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CAN (http://www.chiefdelphi.com/forums/forumdisplay.php?f=185)
-   -   CAN distance (http://www.chiefdelphi.com/forums/showthread.php?t=107118)

nydnh01 28-06-2012 16:47

CAN distance
 
I have a encoder connected to the jaguar and when testing i get rpm readings but i was wondering if it is possible to get distance readings from the encoder?

mikets 28-06-2012 17:16

Re: CAN distance
 
Quote:

Originally Posted by nydnh01 (Post 1175718)
I have a encoder connected to the jaguar and when testing i get rpm readings but i was wondering if it is possible to get distance readings from the encoder?

Are you calling the GetSpeed() function of the WPI lib? If so, there is also a GetPosition() function that returns the encoder position. You can derive the distance from it with information such as your gear ratio and wheel diameter.


All times are GMT -5. The time now is 20:25.

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