Function ouster::sdk::core::metadata_from_json
Defined in File types.h
Function Documentation
-
SensorInfo ouster::sdk::core::metadata_from_json(const std::string &json_file, bool skip_beam_validation = false)
Parse metadata given path to a json file.
- Throws:
runtime_error – if json file does not exist or is malformed.
- Parameters:
json_file – [in] path to a json file containing sensor metadata.
skip_beam_validation – [in] whether to skip validation on metadata - not for use on recorded data or metadata from sensors
- Returns:
a SensorInfo struct populated with a subset of the metadata.