Skip to content

Commit

Permalink
cyber_recorder: record another bag of small topics when --all is spec…
Browse files Browse the repository at this point in the history
…ified
  • Loading branch information
changsh726 authored and changsh726 committed Nov 4, 2020
1 parent 5f2d2c6 commit 0db8cbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/record_bag.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ def start(self):
# Use the best disk, or fallback '/apollo' if none available.
disk_to_use = disks[0]['mountpoint'] if len(disks) > 0 else '/apollo'

# Record small topics to quickly copy and process
if record_all:
self.record_task(disk_to_use, False)

self.record_task(disk_to_use, record_all)

def stop(self):
Expand Down

0 comments on commit 0db8cbc

Please sign in to comment.