franka_ros2 icon indicating copy to clipboard operation
franka_ros2 copied to clipboard

Control Error & Reflex Recovery

Open jcarpinelli-bdai opened this issue 11 months ago • 3 comments

The franka_ros documentation specifies an ErrorRecoveryAction which can be used to restart controller nodes after an error or reflex. Is there a similar mechanism in franka_ros2? I do not see any mention of error recovery in the ROS2 documentation.

jcarpinelli-bdai avatar Mar 12 '24 18:03 jcarpinelli-bdai

Good point. It's not yet available in Franka_ros2. We will prepare it for the coming releases.

BarisYazici avatar Mar 26 '24 10:03 BarisYazici

Good point. It's not yet available in Franka_ros2. We will prepare it for the coming releases.

Thank you! For what it's worth... I think it would be really valuable to have an allow-list of errors that we want franka_hardware to ignore. In ROS1, these errors delay the control loop because they are thrown, then caught. We see the robot "hiccup" as the error is caught on the user side. It would be helpful if we could prevent franka_hardware from throwing some errors in the first place. In addition, it would be helpful to have more control over the thresholds for some errors. The 20ms UDP timeout in particular would be great to have the option to increase.

jcarpinelli-bdai avatar Mar 26 '24 13:03 jcarpinelli-bdai

@BarisYazici do you all have an ETA on this? I may have limited availability to help add error recovery to these hardware_interface classes.

jcarpinelli-bdai avatar Jul 08 '24 14:07 jcarpinelli-bdai