00001 #! /usr/bin/env python 00002 00003 import roslib 00004 roslib.load_manifest('pr2_etherCAT') 00005 import rospy, sys 00006 import std_srvs.srv 00007 reset = rospy.ServiceProxy("pr2_etherCAT/reset_motors", std_srvs.srv.Empty) 00008 reset() 00009