SensorAPI(传感器 / Sensors)¶
说明 / Overview
传感器数据获取接口,支持主动轮询与回调注册两种方式。
Sensor data retrieval interfaces supporting both active polling and callback registration.
| 传感器类型 / Sensor | 查询接口 / Poll | 回调接口 / Callback |
|---|---|---|
| GPS | SoGetGps |
SoApiSetGpsUpdateCB |
| 障碍物感知 / Obstacle | SoGetGroundTruthSoGetSensorDetections |
SoApiSetGroundTruthUpdateCB |
| 毫米波 & 超声波雷达 / Radar | SoGetRadarDetectionsSoGetUltrasonicRadars |
SoApiSetRadarDetectionsUpdateCB |
| 车道线 & 路面标志 / Lane | SoGetSensorLaneInfoSoGetSensorRoadMarkInfo |
SoApiSetSensorLaneInfoCB |
| 交通灯 & 环境 / Traffic | SoGetTrafficLightsSoGetEnvironment |
— |
| 传感器配置 / Config | SoGetSensorConfigurations |
— |