-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rosbag_snapshot to keep a buffer of recent messages in memory for…
… saving to disk Using `save_snapshot.sh` (or `rosrun rosbag_snapshot snapshot -t`), you can trigger it to save the current buffer to disk. This can be used to debug after an unexpected behavior occurs. By default it is disabled. It operates entirely independently of OM_ENABLE_RECORDING and OM_ENABLE_RECORDING_ALL.
- Loading branch information
1 parent
c463bce
commit d47dd33
Showing
5 changed files
with
57 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
# This script saves a record of all recent low-level ros messages to a ros bag. | ||
# Usage: ./save_snapshot.sh output_file.bag | ||
|
||
|
||
rosrun rosbag_snapshot snapshot -t -O "$1" |