Added talker.py and ability to bag files
This commit is contained in:
@@ -23,8 +23,7 @@ class Bagger(object):
|
||||
else:
|
||||
bag_file = os.path.join(self.data_path, msg.data)
|
||||
self.proc = subprocess.Popen(["rosbag", "record",
|
||||
"kinect2/depth_lowres/points", "kinect2/rgb_lowres/image",
|
||||
"tf", "imu/data", "-o", bag_file], preexec_fn=os.setsid)
|
||||
"--all", "-o", bag_file], preexec_fn=os.setsid)
|
||||
self.pub.publish("STARTED")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user