33 from std_srvs.srv
import Empty, Trigger
41 self.
ns =
'/' + robot_name +
'/' 50 rospy.wait_for_service(self.
ns +
'set_stop_force', timeout=3)
54 rospy.wait_for_service(self.
ns +
'clear_stop_force', timeout=3)
58 rospy.wait_for_service(self.
ns +
'get_current_force', timeout=3)
62 rospy.wait_for_service(self.
ns +
'is_stopped', timeout=3)
66 if __name__ ==
'__main__':
69 ft.set_stop_force(
'z', -3)
70 print(ft.is_stopped())
def get_current_force(self)
def __init__(self, robot_name=None)
def set_stop_force(self, axis, val)
def clear_stop_force(self)