frankaemika / franka_ros

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

Safety Violation Error Triggered by External Abrupt Movements #341

Closed HumbertoE closed 1 year ago

HumbertoE commented 1 year ago

When an external abrupt movement is applied to the robot, a safety violation error occurs, prompting the message "Please confirm the safety violation(s) have been resolved." as shown in the following screenshot:

Screenshot from 2023-05-09 14-20-55

And this is the rule 2 description under "work" safety scenario as stated in the generated Safetyexport: image

This error first occurred when the mobile platform to which the robot is mounted passed above something, causing an abrupt movement. Upon further testing, we observed that the error consistently happens when we move one of the robot's axes quickly but only a little bit. Interestingly, if we move it slowly, even with the same small distance, the error doesn't occur. The error happens regardless of whether the robot is locked or unlocked and whether the Franka Control Interface (FCI) is enabled or disabled.

The main problem we have is that we cannot confirm this error programmatically through ROS.

We need help identifying the cause of this error and finding a solution. Since the mobile platform won't always move on smooth surfaces, we expect to come across this issue quite often. Any insights, suggestions, or fixes to eliminate this error and ensure safe robot operations would be greatly appreciated.

andrejpan commented 1 year ago

Can you show the complete rule? We need info about activation space and safety function. Screenshot from 2023-05-10 15-03-15. Currently, you could easily set up a rule that will always engage safety violations if the brakes are locked or not.

FCI currently (and probably in the future) will not be able to modify or resolve safety-relevant issues. Resolving these issues can only be done via Desk.

HumbertoE commented 1 year ago

These are the 2 rules we have currently: image

If it is useful, I could also send the safety report generated by the robot (privately if possible).

FCI currently (and probably in the future) will not be able to modify or resolve safety-relevant issues. Resolving these issues can only be done via Desk.

This makes sense and understandable for major safety-relevant issues, but the current error we have is triggered very easily.

andrejpan commented 1 year ago

These two rules are almost default ones. You should get in touch with our customer support since this looks like an internal problem with a robot.

HumbertoE commented 1 year ago

Abrupt movements cause accelerations on the robot that trigger the SMS. This makes sense and is the desired behavior so I will close the issue. Thank you.