ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I found the problem. I just needed to write it like this :
rospy.wait_for_service('/widowxl/arm_service')
pose = rospy.ServiceProxy('/widowxl/arm_service',pickitstr)
word = pickitstringResponse()
word.pose.data = 'Upright'
finalpose = pose(word)
also I changed this
print(finalpose.finalpose)
to this
print(finalpose.finalpos)