提交 a134af88 编写于 作者: A Aaron Xiao 提交者: Jiangtao Hu

Scripts: Split rosbag by duration during recording.

上级 be378867
......@@ -53,7 +53,7 @@ function start() {
LOG="/tmp/apollo_record.out"
NUM_PROCESSES="$(pgrep -c -f "rosbag record")"
if [ "${NUM_PROCESSES}" -eq 0 ]; then
nohup rosbag record -b 2048 \
nohup rosbag record --split --duration=1m -b 2048 \
/apollo/sensor/camera/traffic/image_short \
/apollo/sensor/camera/traffic/image_long \
/apollo/sensor/conti_radar \
......
......@@ -53,7 +53,7 @@ function start() {
LOG="/tmp/apollo_record.out"
NUM_PROCESSES="$(pgrep -c -f "rosbag record")"
if [ "${NUM_PROCESSES}" -eq 0 ]; then
nohup rosbag record -b 2048 \
nohup rosbag record --split --duration=10m -b 2048 \
/apollo/sensor/gnss/gnss_status \
/apollo/sensor/gnss/odometry \
/apollo/sensor/gnss/ins_stat \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册