Function ouster::sdk::core::add_custom_profile

Function Documentation

std::string ouster::sdk::core::add_custom_profile(const std::string &name, const std::vector<std::pair<std::string, FieldDecodeInfo>> &fields, size_t chan_data_size)

Register a custom lidar profile.

Parameters:
  • name[in] profile name

  • fields[in] field definitions for the profile

  • chan_data_size[in] channel data size in bytes

Throws:

std::invalid_argument – if the profile is already registered

Returns:

profile name