Go to the documentation of this file.00001
00002
00003 """ Example code of how to relax a servo. """
00004
00005
00006 import roslib; roslib.load_manifest('mini_max_tutorials')
00007 import rospy
00008
00009
00010 from arbotix_msgs.srv import Relax
00011
00012 if __name__=="__main__":
00013
00014
00015 rospy.init_node('relax_servo')
00016
00017
00018
00019 rospy.wait_for_service('/head_tilt_joint/relax')
00020
00021
00022 relax_proxy = rospy.ServiceProxy('/head_tilt_joint/relax', Relax)
00023
00024
00025
00026 relax_proxy()
00027
00028