Fix axis backlash correction when motion is stopped breaks a test
Merge request !150 (merged) breaks a test. It is not sure if the test is wrong, or if the merge request introduced a bug.
This is the test failure report:
======================================================================
FAIL: testHardLimitsAndSetPosition (__main__.TestGroup)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/motors/TestGroup.py", line 185, in testHardLimitsAndSetPosition
self.assertEquals(robz._set_position(), robz.position())
AssertionError: 3.0 != 2.0
----------------------------------------------------------------------
Ran 10 tests in 0.749s
FAILED (failures=1)
Commit cc58808c is the first bad commit
(from git bisect
)