38 self.
ns =
'/' + robot_name +
'/' 41 self.
_execute = rospy.ServiceProxy(self.
ns +
'execute_robot_program', ExecuteRobotProgram)
44 rospy.wait_for_service(self.
ns +
'execute_robot_program', timeout=5)
47 if __name__ ==
'__main__':
49 print(rp.execute(
'/opt/ros/scripts/toolmove.py',
'{"dz": 100}'))
def __init__(self, robot_name=None)
def execute(self, program, param='')