Page 1 of 1

Encoder Read Values

Posted: Fri Jun 09, 2017 11:06 am
by vivek26
Hi there,
I am currently involved in a project which requires me to analyze the encoder read values and further utilize them in my program. But, I found that the values are inconsistent as they vary with battery level of the robot. So, I am unable to gather a fixed set and hence unable to analyze . Kindly help me to fix this issue.

Re: Encoder Read Values

Posted: Tue Jun 13, 2017 11:40 am
by Benj
Hello,

what values are you getting from the different charge levels, are the numbers wildly different or just one or two out.

The motor speeds ramp up and ramp down to try and get the precise encoder count but can overshoot slightly depending on the battery voltage and also the varying motor mechanics from robot to robot.

If the robot is being driven without feedback then the battery voltage will directly impact the speed of the motor and hence the encoder reading will differ.

The encoder read API function is designed to allow you to gauge roughly how far the robot has travelled. For more precise control the Logo type API functions should be used.