Ask Your Question
0

Adding Collision Objects MoveIt! python

asked 2020-01-15 13:56:10 -0500

Karthik_rangz gravatar image

updated 2020-01-15 15:31:21 -0500

I am trying to add my CAD model(.stl format) as a collision object for UR robot to do some trajectories by avoiding the added objects. I see only the methods using C++ but not with python. Where do I place the CAD file and what do I need to call from the code. I tried placing the file under meshes/ur10e/collision. But it didn't work. I am running ROS Melodic.

I found the below question but with the defined method it didn't work. I need to know where do I place the file and how do I set the size if my CAD file already has the dimensions. https://answers.ros.org/question/2090...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-02-28 05:08:50 -0500

fvd gravatar image

As it says in the comments of your link, at the moment the applyCollisionObject method is not exposed to the Python move_group_interface class, but you can still publish it as described in the tutorial. Have you followed it?

A good place to store your mesh files is in a separate package, such as my_scene_description/meshes.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-01-15 13:31:46 -0500

Seen: 421 times

Last updated: Feb 28 '20