Display MoveIt Collison Objects in Gazebo
How can i display collision objects i added to my MoveIt planning scene in Gazebo? I added them like:
# publish a demo scene
scene = PlanningSceneInterface()
p = PoseStamped()
p.header.frame_id = robot.get_planning_frame()
# add a box
p.pose.position.x = 0.7
p.pose.position.y = -0.08
p.pose.position.z = 0.1
scene.add_box("box", p, (0.15, 0.15, 0.15))
They are all diplayed well in MoveIt but not in Gazebo right now. The robot is displayed in gazebo as well. Im running ROS Indigo on Ubuntu 14.04.
Thanks for your support!
Without spawning them yourself (like you would with some other arbitrary (urdf) model) I don't think this is possible (ie: I know of no automation in place that will do this for you).
Hi
For me also, same problem.
Did you find any way for this, to show all objects in Gazebo what ever there in Moveit.
If you find, Please help me.