What would be the most appropriate way to implement a controlled stop or eased stop for cartesian or joint movements?
emergency_stop would instantly stop the movement. Instead, I am looking for stopping with a slowdown - I’d like the trajectory to continue for a specified amount of time or distance with speed gradually reducing to 0.
We use set_state(4) for emergency_stop, set_state(6) for eased stop, you can try both.
state4: robot is in STOP state, can not receive and execute command. Will automatically switch to this state when any error occurs.
state6: robot is performing decelerated stop, currently decelerating at maximum acceleration.