Closed harryzhangOG closed 3 years ago
Hi Harry,
The OSC interface is used to convert EE's 6D velocity to joint space velocity, so it is not designed to prevent self-collision. For example, if you control the EE to hit the robot arm/body, the EE will just go ahead to hit. Preventing self-collision should be handled by users.
Thanks. Would the srdf of the robot be provided? Thanks. https://gramaziokohler.github.io/compas_fab/latest/examples/03_backends_ros/08_ros_create_moveit_package_from_custom_urdf.html
What srdf properties are you looking for? You can certainly use MoveIt to generate the srdf if it works. I believe disabling collision for neighbor links would be enough for motion planning. We also recommend using https://sapien.ucsd.edu/docs/latest/tutorial/motion_planning/getting_started.html for motion planning.
Hi Fanbo. I was using the mplib library from sapien but found out that an srdf file is required (when setting up the planner, mplib gave a not valid urdf error.)
I have talked to mplib authors and posted an issue haosulab/MPlib#2. They should implement this feature soon. While it is being fixed, I believe adding effort tags to the limits and manually creating SRDF to ignore collisions between neighboring links would make mplib to work.
See the MPlib issue above. MPlib should be able to parse URDF files and generate SRDF files now.
Hi, we are using the OSC control interface to control the robot arm to reach a target point and rpy pose. However, the twist motion generated results in self-collision. Is self-collision prevention not enforced in the current OSC interface? Thanks.
Here is the code to reproduce: