generateCollisionTable does not detect "Always in collision" pairs with min_collision_faction 1.0 or if using CLI and ignoring "Default in collision" #2915
Labels
bug
Something isn't working
persistent
Allows issues to remain open without automatic stalling and closing.
Description
I have a URDF where links with collision links are added to approximate where cable pinches could occur. Specifically, this is for a UR and a method for addressing UniversalRobots/Universal_Robots_ROS2_Driver#611, where the UR controller itself will halt your robot if it moves into a configuration where a common cable pinch could occur (regardless of if you have cables, but I digress).
I had a SRDF that was mostly right for this robot and had swapped out the end effector, so I thought I would save myself some time and use the
collisions_updater
CLI. I encountered 2 problemsProblem 1
The default behavior of the CLI is not obvious. I should have tested/looked if there was a --help command earlier, but I was surprised that, by default, "Default in collision" and "Always in collision" pairs are ignored. I can understand why Default collisions are ignored by default, and see why we would would to be extra safe with "Always in case they reduced the default min collision fraction (100%) and used a low number of trials. However, I suggest that in the summary output, where it prints the detected number in always/never/default/adjacent - we should instead tell the user those are being ignored due to settings (and maybe print what was detected).
Problem 2
Once I realized this was happening, I added the
--always
flag and still wasn't getting the output I expected. This is because:Your environment
Steps to reproduce
Actual behaviour
For Problem 1, the generated SRDF will not have any Default/Always in collision entries and no hint about why the reported ones in the CLI summary are not in the SRDF
For Problem 2, no Always in collision entries will be detected, when there should be.
The text was updated successfully, but these errors were encountered: