Good Day,
In testing the AsyncPosition controller I’ve noticed a behavior that I do not understand.
I have a external encoder (Rotation Sensor) that I am using for an arm’s true position. In testing I’ve noticed that on startup of the robot code if the arm’s true position is greater than the zero position at all the arm will attempt to travel 360 the long way around to arrive back to zero…instead of traveling the shorter path backwards. Both AsyncPositionController devices you see defined in the code have done this bad behavior.
Is this an error in the code you see attached or…?