concerning this topic i have received log files which clearly show self collisions causing such problems.
please make sure your path planner uses the correct collision geometries!
we are using simplified boundary volumes (cylinders and spheres) to define the collision shape of the LWR. those are not really close to the actual and rendered geometries! the exact collision geometries can be extracted from various model files:
technical annex page 10 wrote:The mechanics of the LWR are also available in multiple model formats in the provided ROS package
/opt/euroc_c2s1/ros/install/share/euroc_c2_description:
• URDF (ROS) format: /euroc_c2_description/urdf/kuka_lwr.urdf
• SDF (Gazebo) format: /euroc_c2_description/kuka_lwr/kuka_lwr.sdf
• XML (OpenRAVE) format: /euroc_c2_description/openrave/kuka_lwr.xml
you can enable the display of transparent collision geometries in the gazebo viewer:
Menu: View/Collisions.
you can also enable the display of contact-points:
Menu: View/Contacts.
with this it should be pretty easy to see self collisions. compare attached images.
- closeup
- self_collision_closeup.jpg (47.25 KiB) Viewed 545 times
- self_collision_shape.jpg (48.08 KiB) Viewed 545 times
- self_collision_shape_and_cp.jpg (48.28 KiB) Viewed 545 times