Added talker.py and ability to bag files

This commit is contained in:
GLEN TURNER (8GT6)
2015-06-01 12:39:59 -04:00
parent 9002afaeb8
commit d5282805da
9 changed files with 218 additions and 60 deletions

View File

@@ -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")