ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
PROBLEM SOLVED
Actually, The target value from the tutorial
pose_target = geometry_msgs.msg.Pose()
pose_target.orientation.w = 1.0
pose_target.position.x = 0.7
pose_target.position.y = -0.05
pose_target.position.z = 1.1
group.set_pose_target(pose_target)
was not reachable for COB 3 from its current position, SO when I tried with little change in position as bellow. It got the plan and works
oldPose = group.get_current_pose().pose
print "OLD POSE: ", oldPose
##shaon end
print "============ Generating plan 1"
pose_target = geometry_msgs.msg.Pose()
pose_target.orientation = oldPose.orientation
pose_target.position.x = oldPose.position.x
pose_target.position.y = oldPose.position.y + 0.04
pose_target.position.z = oldPose.position.z
group.set_pose_target(pose_target)
Thanks
Shaon