32 PKG =
"pr2_mechanism_controllers" 34 import roslib; roslib.load_manifest(PKG)
39 from time
import sleep
42 from geometry_msgs.msg
import PointStamped, Point
46 head_angles = rospy.Publisher(
'ground_truth_controller/set_cmd', Point)
47 rospy.init_node(
'base_position_commander', anonymous=
True)
50 head_angles.publish( p )
54 return "%s [pos_x] [pos_y] [theta (rad)]"%sys.argv[0]
56 if __name__ ==
"__main__":
def control_base_pose_odom_frame(x, y, w)