pr2_ears_stow.py
Go to the documentation of this file.
00001 #!/usr/bin/python
00002 
00003 import roslib
00004 roslib.load_manifest( 'rfid_hardware' )
00005 import rospy
00006 import robotis.ros_robotis as rr
00007 
00008 import time
00009 import math
00010 
00011 if __name__ == '__main__':
00012     p_left = rr.ROS_Robotis_Client( 'left_pan' )
00013     t_left = rr.ROS_Robotis_Client( 'left_tilt' )
00014     
00015     p_left.move_angle( 1.370, math.radians(10), blocking = False )
00016     t_left.move_angle( 0.0, math.radians(10), blocking = False )
00017 
00018 
00019     p_right = rr.ROS_Robotis_Client( 'right_pan' )
00020     t_right = rr.ROS_Robotis_Client( 'right_tilt' )
00021     
00022     p_right.move_angle( -1.370, math.radians(10), blocking = False )
00023     t_right.move_angle( 0.0, math.radians(10), blocking = False )
00024 


rfid_hardware
Author(s): Travis Deyle
autogenerated on Wed Nov 27 2013 11:48:46