You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to moveit...@googlegroups.com
Hi all,
I'm working with moveit for manipulation task that requires collision avoidance and I would like to know how to add the representation of the environment to my planning scene, because when I visualized the planning scene from Rviz, I only see the robot. The world is composed by several objects that are defined as meshes.
Any and all help is appreciated.
Thanks
Ane
Yoan Mollard
unread,
Jul 29, 2014, 4:48:35 AM7/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fernan...@gmail.com, moveit...@googlegroups.com
Hi Ane,
What you're looking for is adding new Collision Objects to the planning scene. They can be part of the environment and also attached/detached to the manipulator :
These tutorials assume you represent the world with boxes but you can also import meshes, eg in python:
self.scene = moveit_commander.PlanningSceneInterface() self.leg_mesh = "/path/to/meshes/chair_leg.stl" # or better, use find_package() self.scene.add_mesh("LEG_1", pose, self.leg_mesh) # And if you want to attach objects to the robot see the methods scene.attach_mesh(...) and scene.remove_attached_object(...)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to moveit...@googlegroups.com
Hi Ane,
Maybe it is quite obvious what I am going to say, but in RViz to "view" the objects (meshes) that I guess you have in Gazebo you have in RViz to select the topic called /move_group/monitored_planning_scene (In Motion planning -> Planning scene topic). Afterwards, if you want to add some collision you just make as Yoan told you.