跳转至

传感器配置 / Sensor Configuration

说明 / Overview

获取当前主车所挂载的传感器配置信息(类型、位置、参数等)。
Interface for retrieving the sensor configuration mounted on the ego vehicle (type, position, parameters, etc.).

SimOneSensorAPI.SoGetSensorConfigurations(mainVehicleId, sensorConfigurations)

获取所有传感器的配置信息: Id/类型/频率/位置/朝向

Get sensor(s) config infor

参数:

名称 类型 描述 默认
mainVehicleId string

车辆ID
vehicle id

必需
sensorConfigurations SimOne_Data_SensorConfigurations

所有传感器配置信息
all sensor(s) config info

必需

返回:

类型 描述
bool

executive outcome: success/faile