fix lift runstop drop and adjust homing sensitivity#52
Conversation
|
Thank you for the cancel homing fix Aaron! |
|
Test 1: Tested once: Lift started homing and i runstopped midway and the left fell. [I had a clamp so crash was avoided] Test 2: Tested thrice: Lift started homing and i runstopped midway and the lift didnt move. |
|
Test 3: Tested thrice: Started robot homing,, lift startd moving and i runstopped midway and the lift didnt move Test 4: Tested thrice: Started robot homing,, lift started moving and i runstopped midway and there were two different behaviours.
In both cases, the homing script will fail to home lift but continue to home the arm and eoa. |
This fixes an issue where the lift would drop when runstopped. The new cancel routine functions were exiting the homing routing prior to resetting the stiffness and other controller params, that are temporarily modified during homing. This logic is now correct.
In addition, on 4032 the homing contact would false positive when started very low. Decreased the sensitivity and tested thoroughly. Should be tested on other robots.