Hi again. yes sorry for the stupid mistake. I thought “rossrv list” would give all the available ros services, but it just gives you the type. for anyone that is still newbie for me, use “rosservice list” instead.
I also attached my code if anyone is interested.
Set_Pose = set_pose()
def set_zedPose(x, y, z, R, P, Y):
print("waiting for set pose service")
print("found the set_pose service!")
setpose = rospy.ServiceProxy("/zed2/zed_node/set_pose", Set_Pose)
resp = setpose(x, y, z, R, P, Y)
print("response of the service is: ", resp)
except rospy.ServiceException as e:
print("service not working yet")
if everything goes well, the service would return: