3 import roslib; roslib.load_manifest(
'people_velocity_tracker')
6 from people_msgs.msg
import Person, People
11 self.
ppub = rospy.Publisher(
'/people', People, queue_size=10)
15 while not rospy.is_shutdown():
18 pl.header.stamp = rospy.Time.now()
19 pl.header.frame_id =
'/base_link' 20 pv.position.x = float(sys.argv[1])
21 pv.position.y = float(sys.argv[2])
23 pv.velocity.x = float(sys.argv[3])
24 pv.velocity.y = float(sys.argv[4])
32 rospy.init_node(
"people_velocity_tracker")