Function ouster::sdk::core::add_custom_profile(int, const std::string&, const std::vector<std::pair<std::string, FieldDecodeInfo>>&, size_t)

Function Documentation

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

Register a custom lidar profile with a caller-supplied profile number.

Deprecated:

Use “UDPProfileLidar add_custom_profile(name, fields, chan_data_size)” instead. The last supported version for this will be 1.0.0 .

Parameters:
  • profile_nr[in] profile enum value to register

  • 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 profile_nr is 0