Function ouster::sdk::sensor::set_config¶
Defined in File client.h
Function Documentation¶
-
void ouster::sdk::sensor::set_config(const std::string &hostname, const ouster::sdk::core::SensorConfig &config, uint8_t config_flags = 0, int timeout_sec = LONG_HTTP_REQUEST_TIMEOUT_SECONDS)¶
Set sensor config on sensor.
- Throws:
runtime_error – on failure to communcate with the sensor.
invalid_argument – when config parameters fail validation.
- Parameters:
hostname[in] sensor hostname.
config[in] sensor config.
config_flags[in] flags to pass in.
timeout_sec[in] timeout in seconds for http requests