ros2 bag play

optional arguments:

  • -h, --help           

show this help message and exit

  •   -s {sqlite3,my_read_only_test_plugin,my_test_plugin}, --storage {sqlite3,my_read_only_test_plugin,my_test_plugin}

storage identifier to be used, defaults to 'sqlite3'

  •   --read-ahead-queue-size READ_AHEAD_QUEUE_SIZE

size of message queue rosbag tries to hold in memory to help deterministic playback. Larger size will result in larger memory needs but might prevent delay of message playback.

  •   -r RATE, --rate RATE 

rate at which to play back messages. Valid range > 0.0.

  •   --topics TOPICS [TOPICS ...]

topics to replay, separated by space. If none specified, all topics will be replayed.

  •   --qos-profile-overrides-path QOS_PROFILE_OVERRIDES_PATH

  Path to a yaml file defining overrides of the QoS profile for specific topics.

  •    -l, --loop  

enables loop playback when playing a bagfile: it starts back at the beginning on reaching the end and plays indefinitely.         

  •   --remap REMAP [REMAP ...], -m REMAP [REMAP ...]

 list of topics to be remapped: in the form "old_topic1:=new_topic1 old_topic2:=new_topic2 etc."

  •   --storage-config-file STORAGE_CONFIG_FILE

Path to a yaml file defining storage specific configurations. For the default storage plugin settings are specified through syntax:read: pragmas: ["" = ]Note that applicable settings are limited to read-only for ros2 bag play.For a list of sqlite3 settings, refer to sqlite3 documentation

  •   --clock [CLOCK]      

   Publish to /clock at a specific frequency in Hz, to act as a ROS Time Source. Value must be positive. Defaults to not publishing.

  •   -d DELAY, --delay DELAY

  Sleep SEC seconds before play. Valid range > 0.0

你可能感兴趣的:(ROS,c++)