transform_trial.py
Go to the documentation of this file.
00001 
00002 import time
00003 import roslib
00004 roslib.load_manifest('rospy')
00005 roslib.load_manifest('actionlib')
00006 roslib.load_manifest( 'move_base_msgs' )
00007 roslib.load_manifest('tf')
00008 roslib.load_manifest('std_srvs')
00009 roslib.load_manifest('geometry_msgs')
00010 roslib.load_manifest('std_msgs')
00011 roslib.load_manifest('hrl_rfid')
00012 roslib.load_manifest('robotis')
00013 roslib.load_manifest('rfid_people_following')
00014 import rospy
00015 
00016 import tf
00017 import tf.transformations as tft
00018 import actionlib
00019 from move_base_msgs.msg import MoveBaseAction, MoveBaseGoal
00020 from geometry_msgs.msg import Twist
00021 from geometry_msgs.msg import PointStamped
00022 from geometry_msgs.msg import Point
00023 from geometry_msgs.msg import PoseStamped
00024 from geometry_msgs.msg import Quaternion
00025 from geometry_msgs.msg import PoseWithCovarianceStamped
00026 from std_msgs.msg import Float64
00027 from std_srvs.srv import Empty
00028 
00029 rospy.init_node( 'trial' )
00030 
00031 import sim_capture
00032 
00033 bp = sim_capture.BasePose()
00034 
00035 # listener = tf.TransformListener()
00036 # listener.waitForTransform('/base_link', '/odom_combined',
00037 #                           rospy.Time(0), timeout = rospy.Duration(100) )
00038 # ps = PointStamped()
00039 # ps.header.frame_id = '/base_link'
00040 
00041 # while True:
00042 #     ps.header.stamp = rospy.Time(0)
00043 #     ps_map = listener.transformPoint( '/odom_combined', ps )
00044 #     print ps_map.point.x, ps_map.point.y
00045 #     rospy.sleep( 0.2 )
00046 # #     try:
00047 # #         ps_map = self.listener.transformPoint( '/odom_combined', ps )
00048 # #         self.pts.append([ ps_map.point.x, ps.map.point.y ])
00049 # #     except:
00050 # #         rospy.logout( 'sim_capture: Failed transform.' )
00051 # #         pass
00052 
00053         


rfid_people_following
Author(s): Travis Deyle (Healthcare Robotics Lab, Georgia Tech)
autogenerated on Wed Nov 27 2013 11:38:30