Configuration for the Carbon LiDAR pipeline.
More...
#include <carbon_config.hpp>
Configuration for the Carbon LiDAR pipeline.
Construct with default values, then use setters to override what you need. Pass to CarbonClient constructor — the client clones it internally.
Setters return *this for optional chaining:
Configuration for the Carbon LiDAR pipeline.
Definition carbon_config.hpp:29
CarbonConfig & setBindAddr(const std::string &v)
CarbonConfig & setGroupAddr(const std::string &v)
CarbonConfig & setInterfaceAddr(const std::string &v)
CarbonConfig & setRangeMax(float v)
◆ CarbonConfig() [1/4]
| CarbonConfig::CarbonConfig |
( |
| ) |
|
◆ ~CarbonConfig()
| CarbonConfig::~CarbonConfig |
( |
| ) |
|
◆ CarbonConfig() [2/4]
◆ CarbonConfig() [3/4]
◆ CarbonConfig() [4/4]
| CarbonConfig::CarbonConfig |
( |
CarbonConfigC * |
raw | ) |
|
|
explicitprivate |
◆ fromJson()
| static std::unique_ptr< CarbonConfig > CarbonConfig::fromJson |
( |
const std::string & |
path | ) |
|
|
static |
Load a CarbonConfig from a JSON file. Missing fields default to their standard values. Returns nullptr on failure (file not found, parse error, or validation failure).
if (!config) {
Client for receiving frames from a Carbon LiDAR sensor.
Definition carbon_client.hpp:38
static std::unique_ptr< CarbonConfig > fromJson(const std::string &path)
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setAzimuthDegMax()
◆ setAzimuthDegMin()
◆ setBandwidthHz()
◆ setBatchSize()
◆ setBindAddr()
| CarbonConfig & CarbonConfig::setBindAddr |
( |
const std::string & |
v | ) |
|
◆ setDopplerMax()
◆ setDopplerMin()
◆ setElevationDegMax()
◆ setElevationDegMin()
◆ setElevationFovDeg()
◆ setEvalMode()
◆ setGroupAddr()
| CarbonConfig & CarbonConfig::setGroupAddr |
( |
const std::string & |
v | ) |
|
◆ setInterfaceAddr()
| CarbonConfig & CarbonConfig::setInterfaceAddr |
( |
const std::string & |
v | ) |
|
◆ setInterpDopplerThreshold()
| CarbonConfig & CarbonConfig::setInterpDopplerThreshold |
( |
float |
v | ) |
|
◆ setInterpRangeThreshold()
| CarbonConfig & CarbonConfig::setInterpRangeThreshold |
( |
float |
v | ) |
|
◆ setKeepInvalidPoints()
◆ setMirrorBindAddr()
| CarbonConfig & CarbonConfig::setMirrorBindAddr |
( |
const std::string & |
v | ) |
|
◆ setMirrorGroupAddr()
| CarbonConfig & CarbonConfig::setMirrorGroupAddr |
( |
const std::string & |
v | ) |
|
◆ setMirrorPeaks()
◆ setMissingElevations()
| CarbonConfig & CarbonConfig::setMissingElevations |
( |
const std::vector< uint8_t > & |
elevations | ) |
|
◆ setPfa()
◆ setRangeMax()
◆ setRangeMin()
◆ setReceiverChannelCapacity()
| CarbonConfig & CarbonConfig::setReceiverChannelCapacity |
( |
size_t |
v | ) |
|
◆ setRecvBufferSize()
◆ setReportDir()
| CarbonConfig & CarbonConfig::setReportDir |
( |
const std::string & |
v | ) |
|
◆ setSpatialDopplerThreshold()
| CarbonConfig & CarbonConfig::setSpatialDopplerThreshold |
( |
float |
v | ) |
|
◆ setSpatialMinNeighbors()
| CarbonConfig & CarbonConfig::setSpatialMinNeighbors |
( |
uint8_t |
v | ) |
|
◆ setSpatialRangeThreshold()
| CarbonConfig & CarbonConfig::setSpatialRangeThreshold |
( |
float |
v | ) |
|
◆ setUseMsgTimestamp()
◆ setVelCorrFactor()
◆ CarbonClient
◆ cfg_
| CarbonConfigC* CarbonConfig::cfg_ |
|
private |
The documentation for this class was generated from the following file: