ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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)