Skip to content Link Search Menu Expand Document
ModalAI DOCS
Store

voxl-replay

voxl-replay plays back MPA logs that were captured by voxl-logger

Example of playing back a voxl-logger log stored in /data/voxl-logger/log0003:

voxl-replay -p /data/voxl-logger/log0003

Usage

Replay a log

-d, --debug                 enable verbose debug mode
-h, --help                  print this help message
-n, --number {number}       number of log to open, e.g. 32
-p, --path {path}           complete path of log to open, e.g. /data/mylog/
-s, --start {seconds}       starts the replay (float) seconds into the log
-f, --finish {seconds}      ends the replay (float) seconds into the log
-i, --include {name}        name of pipe to publish, publish all if not specified
-e, --exclude {name}        name of pipe to not publish, publish all if not specified
-y, --auto_kill             automatically kills servers that conflict with the log
-F, --start_frame           starts the replay N camera frames into the log
-b, --ion_buf               publish camera frames as ion buffers
-B, --both                  publish camera frames on both normal and ion buffer pipes

typical uses:
  To replay a log with all pipes, all the way through
    voxl2:/$ voxl-replay -p /data/voxl-logger/log0000/

  To replay a log with only the imu_apps pipe
    voxl2:/$ voxl-replay -p /log0000/ -i imu_apps

  To replay a log *without* only the imu_apps pipe
    voxl2:/$ voxl-replay -p /log0000/ -e imu_apps

  To replay a log for only 5.0 seconds
    voxl2:/$ voxl-replay -p /log0000/ -f 5.0

  To replay a log starting 2.0 seconds in
    voxl2:/$ voxl-replay -p /log0000/ -s 2.0

  To replay a log from 1.0 seconds in to 15.0 seconds in
    voxl2:/$ voxl-replay -p /log0000/ -s 1.0 -f 15.0

Source Code Here