modules/tools/record_parse_save/README.md
This tool presents multiple examples of how to parse data from a record file and
save using predefined format. The tool has been built on example provided within
Apollo (/apollo/cyber/python/examples/).
The samples provided here illustrate cases for, parsing data from:
The files/functions provided are as follows:
record_parse_save.py: main function that parses
record files from and saves extracted data to specified locationparse_lidar.py: function to parse lidar dataparse_radar.py: function to parse radar dataparse_camera.py: function to parse camera dataparser_params.yaml: YAML file with details of
record-file location, where the output files should be saved and what sensor
data should be parsed along with specific channel-names associated with
particular sensor, it's configuration and it's location.
cyber_recorder info. For example, to get details on a sample record file
20190422142705.record.00000 saved at:
/apollo/data/record_files/2019-04-22-14-27-05/2019-04-22-14-27-05_records/
enter following at command prompt:
cyber_recorder info /apollo/data/record_files/2019-04-22-14-27-05/2019-04-22-14-27-05_records/20190422142705.record.00000sudo pip install pyyaml
parser_params.yaml to serve your purpose./apollo using:./bazel-bin/modules/tools/record_parse_save/record_parse_save
radar data is saved in text files in JSON format for each scanlidar point-cloud data is saved in text files for each scancamera images are saved in jpeg file for each capturetimestamp suffix, in the
same order in which the parsed files are saved in corresponding folder.