Command Line Tools¶
The ROSData Python Package comes with several command line tools to help perform common tasks such as extraction and visualization.
Usage¶
The ROSData command line tools can be called by running the following command after installation:
rosdata <tool> <tool_arguments>
To run the extraction tool for example, one would run the following:
rosdata extract <extract_arguments>
Type in -h
or --help
to get a list of the available tools or the arguments for a specific tool. For example,
rosdata --help # to show the list of available tools
rosdata <tool> --help # to show the arguments for a specific tool
Example¶
A complete extraction example is provided. Download the example (50MB)
and extract it to any location. Then run the following commands:
cd <path/to/extracted/example>
rosdata extract example.bag example_extraction_config.yaml data
This example is extracting the data contained within the example.bag
using the specifications contained within the example_extraction_config.yaml
and outputting the extracted data into a folder located at <path/to/extracted/example>/data
.