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

move_group Python interface collision and visual mesh

asked 2020-03-17 10:54:48 -0500

krablander gravatar image

Hi,

I am using the Python move_group interface for MoveIt.

planning_scene_interface.py specifies a function add_mesh to add a model to the scene, limited to only 1 mesh file. Is it possible to add a model with both a collision and visual mesh to the planning scene? I mean similar to how we specify collision and visual meshes for links in xacro files.

I am using ROS Kinetic on Ubuntu 16.04.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-03-17 11:09:20 -0500

gvdhoorn gravatar image

No.

That function is really just for publishing a "collision object".

It's not meant for adding arbitrary geometry to the scene.

edit flag offensive delete link more

Comments

If you could describe what you are looking to do exactly, perhaps an alternative could be found.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-17 11:11:05 -0500 )edit

My goal is to visualize the robot task in realtime at the same time with the physical robot, including objects that are being moved

krablander gravatar image krablander  ( 2020-03-17 11:27:00 -0500 )edit

If it's just for visualisation, you could consider publishing Markers. rviz_visual_tools could help you with that.

If those objects should be taken into account by the motion planner, you really should be publishing collision objects.

You could of course combine this.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-17 11:33:19 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2020-03-17 10:54:48 -0500

Seen: 202 times

Last updated: Mar 17 '20