![]() |
Encoder default distance per pulse
Does anyone know what it is? Other members of my teams made changes to the finalized code but i was using the default distance per pulse and i need to fix my values
e/ nvm its just 1.0 2e/ another question: whats the proportinal constant for converting an encoder value to degrees? (i want to turn 45 degrees but i need to know what to scale the encoder to) |
Re: Encoder default distance per pulse
Quote:
Here's the code in WPILib to getDistance(): Code:
public double getDistance() {Quote:
Brad |
Re: Encoder default distance per pulse
I meant turn the robot 45 degrees :\
the constant i was looknig for is roughly 1727/90 for a 1 DPP |
| All times are GMT -5. The time now is 10:13. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi