frankaemika / franka_ros

ROS integration for Franka research robots
https://frankaemika.github.io
Apache License 2.0
364 stars 312 forks source link

fix: `error_recovery` action should not recover future errors (#316) #329

Closed Maverobot closed 1 year ago

Maverobot commented 1 year ago

Previously, once error_recovery action is called during a motion, the action callback function will wait at the "mutex lock" until the motion stops. If the motion stops due to an error, the error will be recovered immediately which often results in an unexpected behavior of the robot.

This fix lets the action callback return early if there is no error present.

Fixes #316