Function ouster::sensor::get_config

Function Documentation

bool ouster::sensor::get_config(const std::string &hostname, sensor_config &config, bool active = true)

Get sensor config from the sensor

Populates passed in config with the results of get_config

Parameters:
  • hostname – sensor hostname

  • config – sensor config to populate

  • active – whether to pull active or passive configs

Returns:

true if sensor config successfully populated