![]() |
Encoder setDistancePerPulse()
So I hooked up our encoder and tried out both counter and encoder
all i essentially did was this: Code:
roboInti{If I used the getRate(), I get NaN I'm assuming that I need to use setDistancePerPulse I have the E4P, so what should I set as the distance per pulse? |
Re: Encoder setDistancePerPulse()
Quote:
|
Re: Encoder setDistancePerPulse()
Quote:
Code:
//Assuming Encoder is connected to DIO 1 and 2 and not reversedHope that helps! :) |
Re: Encoder setDistancePerPulse()
Quote:
|
Re: Encoder setDistancePerPulse()
Quote:
Any idea what it means? UPDATE nvm, I did a powercycle and i got better numbers what are the units the encoder returns? |
Re: Encoder setDistancePerPulse()
Quote:
Hope that helps :D |
| All times are GMT -5. The time now is 22:19. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi