Hey guys,
i want to declare the startup state of my UR5 Robot for motion planning in MoveIt (using a Python script). Every time i launch the demo file in RViz, the robot is lying flat on the ground (all joint states are zero). How can i define the start pose of the robot?
I already declared the following:
moveit_commander.roscpp_initialize(sys.argv)
rospy.init_node('ur_arm')
pub_pos = rospy.Publisher('arm_pos', Pose, queue_size=10)
scene = PlanningSceneInterface()
robot = RobotCommander()
group = MoveGroupCommander("manipulator")
Thanks for your support. Im running ROS Indigo on Ubuntu 14.04
↧