Function SimOneAPI::GetSensorLaneInfo
-
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool
SimOneAPI
::
GetSensorLaneInfo
(
const
char
*
mainVehicleId
,
const
char
*
sensorId
,
SimOne_Data_LaneInfo
*
pLaneInfo
)
-
获取传感器检测到车道与车道线数据,仅目标级相机和融合传感器支持.
Retrieve Lane and Lane Line Data Detected by Sensors, Supported Only by Object-Based Cameras and Fusion Sensors.
此函数用于获取仿真场景中通过目标级摄像头或目标级融合传感器感知到的主车当前车道消息 This function is used to get the current lane information detected by object based camera or fusion sensor
- 参数 :
-
-
mainVehicleId – [in]
主车的ID
Id of the main vehicle
-
sensorId – [in]
目标级传感器ID
Sensor Index
-
pLaneInfo – [out] 车道数据 Lane data
-
- 返回 :
-
如果成功获取到车道数据,则返回true,否则返回false
Returns true if the lane data is successfully retrieved, false otherwise