Closed HumbertoE closed 1 year ago
@HumbertoE I create a PR for fixing this issue. Feel free to take a look at it or try it out.
Thank you. We will and will report back if it fixes the error for us
@HumbertoE We merged the PR because locally we can confirm that it fixed the issue. If you still have the issue, feel free to reopen this.
Sorry for taking long to check this solution.
I repeated the experiment with the latest franka ros version (358406952597c3735d43625595650901be84a5d8) and it worked well. Now a message is shown when an error recovery goal is sent without an active error.
Thank you for the support.
Context
System version: 5.2.1 libfranka version: 0.10.0 franka_ros version: 0.10.1 controller: position_joint_trajectory_controller
Problem
When a goal is sent to the error_recovery action server and no error is present in the robot, the goal is accepted, and when then an error happens (for example a cartesian reflex), it is confirmed almost immediately. This can be dangerous.
Steps to reproduce
libfranka: Move command aborted: motion aborted by reflex! ["cartesian_reflex"]
andRecovered from error
The simplest way to reproduce the error we think is the one described above, but the error can also be reproduced sending the goals from a script in python.