A ROS bag utility package to continuously bag and save ROS messages to easily collect large datasets for ML applications.
- Configure topics in
bag_utility/params/params.yaml
- Launch
roslaunch bag_utility save_bags.launch # Optional params - name:="filename_postfix" - path:="/path/to/save/bags"
Info: We have created a specific RVIZ configuration to view all four VLC camera streams nicely.
- From a terminal open the saved RVIZ config file. Run the following command from the
hri_cacti_xr/bags
directory.rviz -d .image-viewer.rviz
- From another terminal play the bag data. The four mono cameras from the HoloLens will be viewed.
Info: for both bag and/or reatime data
- Write video streams to
.avi
video files.- Run launch files from image_writer. See the repo for instructions.
- Play bags sequentially.
# change directory into bags cd hri_cacti_xr/bags # play continuously ./.play-data.sh [DIRECTORY_TO_BAGS]