Open dbdxnuliba opened 1 year ago
Only collision meshes defined in the URDF will be considered for collision. I don't want to speculate much as to why this may be the case, but moving all your collision models into the URDF will fix it.
@jbeck28 ,I have tried the method box defined in the urdf like https://github.com/ros-industrial-consortium/descartes/issues/260#:~:text=and%20the%20I%20test%20another%20scene%3A%0Abox_link%20and%20joint%20was%20defined%20in%20the%20irb2400.urdf
Why descartes can't consider collision with planning scene in moveit after I has set " model->setCheckCollisions(true) this is the result shown by gif:
I use descartes-melodic-devel branch Test step: 1.roslaunch descartes_tutorials setup.launch 2.I publish a green box with MotionPlanning plugin in rviz 3.rosrun descartes_tutorials tutorial3
and the I test another scene: box_link and joint was defined in the irb2400.urdf
Test step: 1.roslaunch descartes_tutorials setup.launch 2.I publish a green box with MotionPlanning plugin in rviz 3.rosrun descartes_tutorials tutorial3
the plan result trajectory is still collision with the box_link ,like the following gif shown:
the following test code about tutorial3 :
Question: 1.Why descartes plan can't consider in collision with planning scene in moveit,like the above gif shown,after I has set " model->setCheckCollisions(true)" 2.If we want consider in the collision with the planning scene ,how can we realize the goal Any helps is pleasured!