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!
↧