SensorInfo

Description of a perception sensor currently attached to a vehicle.

#include <sensor.hpp>

Structs

struct SensorInfo

Description of a perception sensor currently attached to the vehicle.

Returned by PerceptionController::GetSensors(). Stable identifiers (`sensor_id`) let UIs persist per-sensor preferences across runs.

FieldTypeDescription
sensor_id std::string stable sensor identifier
display_name std::string vendor-supplied human-readable name
kind SensorKind hardware category of this sensor
capabilities SensorCapability OR of SensorCapability values
running bool true once the sensor adapter has started
max_range_m float maximum sensing range in metres; 0 if unknown
horizontal_fov_deg float horizontal field of view in degrees; 0 if unknown

Enums

enum SensorKind

Hardware category a perception sensor falls into.

ValueDescription
kUnknown
kLidar2D 2D scanning rangefinder
kLidar3D 3D scanning rangefinder
kDepthCamera structured-light or ToF depth sensor
kStereoCamera stereoscopic pair producing disparity / depth
kRgbCamera standard RGB camera (input for object detection)
kImu inertial measurement unit
kUltrasonic ultrasonic proximity sensor

enum SensorCapability

Bitmask of capabilities a sensor exposes.

Logical-OR combinations describe what features the sensor unlocks in the perception service.

ValueDescription
kNone
kRanging drives Distance Detection
kPointCloud3D drives 3D map / point cloud display
kImagery drives Object Detection (RGB frames)
kImu provides inertial data
kMappingInput feeds the mapping backend
kLocalization produces an independent pose estimate