Structure containing information about a sensor device (camera or lidar) managed by the Sensors class. More...
Functions | |
| SensorDeviceIdentifier (std::string sensor_name="", SENSORS_TYPE type=SENSORS_TYPE::CAMERA) | |
| Default constructor. More... | |
| SensorID | getID () const |
| Returns the unique ID of the sensor. More... | |
| uint64_t | getSerialNumber () const |
| Returns the serial number of the sensor. More... | |
| bool | operator< (const SensorDeviceIdentifier &other) const |
| Comparison operator. More... | |
| bool | operator== (const SensorDeviceIdentifier &other) const |
| Equality operator. More... | |
Attributes | |
| std::string | sensor_name |
| Custom name of the camera. More... | |
| SENSORS_TYPE | type |
| Type of the sensor. More... | |
Structure containing information about a sensor device (camera or lidar) managed by the Sensors class.
This underlying SensorID value is set into the SensorDeviceIdentifier by calling the Sensors::add function.
The sensor_name can be configured to add a custom label to the device.
| SensorDeviceIdentifier | ( | std::string | sensor_name = "", |
| SENSORS_TYPE | type = SENSORS_TYPE::CAMERA |
||
| ) |
|
inline |
Returns the unique ID of the sensor.
Referenced by SensorDeviceIdentifier::operator<(), and SensorDeviceIdentifier::operator==().
|
inline |
Returns the serial number of the sensor.
|
inline |
Comparison operator.
|
inline |
Equality operator.
| std::string sensor_name |
Custom name of the camera.
| SENSORS_TYPE type |
Type of the sensor.
Referenced by SensorDeviceIdentifier::operator==().