Quote:
Originally Posted by ollien
1. If your wheel RADIUS is 10cm, then you should set setDistancePerPulse(10/PULSES_PER_REVOLUTION). GetDistance will then get the total distance in cm and getRate will get the total cm per second.
2. Use ppr. The reason your values don't make sense is because you used circumference instead of radius.
|
Thanks for your help!!
Are you sure we should use the radius and not the circumference??
AFAK pulses represents degrees, so circumference/ppr will get the distanse per degree or degree fraction.