ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

Add collison object from a urdf file in moveit

asked 2018-02-05 11:00:50 -0600

vacky11 gravatar image

If a collision object is defined in a urdf file similar to a robot_description, Is there a way to add collision objects from a urdf file in PlanningScene of moveit?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-02-12 10:24:57 -0600

vacky11 gravatar image

After doing some research I concluded that, as of now there is no direct method to do so. Thus, for now Im parsing the urdf file using TinyXml (xml parser).

I get the values of all the necessary attributes of urdf and save them as variables using TinyXml. And then I use those variables in the piece of code where Im defining all the properties of the collision object and adding it to the planning scene.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-02-05 11:00:50 -0600

Seen: 625 times

Last updated: Feb 12 '18