openrave
openrave copied to clipboard
allow EnvironmentBodyRemover not to restore a grabbed body when the grabbing link does not exist
Currently we allow EnvironmentBodyRemover
not to restore active manipulator on restore if the active manipulator does not exist anymore in the body in case of CBAS change.
I think that we should do the same thing for grabbed bodies because a grabbing link might not exist in case of CBAS change.
- a grabbing link might not exist
- a link in
_setIgnoreRobotLinkNames
might not exist - grabbed body might not exist