Function SimOneAPI::SetSensorLaneInfoCB
-
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool
SimOneAPI
::
SetSensorLaneInfoCB
(
void
(
*
cb
)
(
const
char
*
mainVehicleId
,
const
char
*
sensorId
,
SimOne_Data_LaneInfo
*
pLaneInfo
)
)
-
获取传感器检测到车道与车道线数据回调.
Callback to Retrieve Lane and Lane Line Data Detected by Sensors, Supported Only by Object-Based Cameras and Fusion Sensors
此函数用于注册通过目标级摄像头或目标级融合传感器获取感知车道消息的回调函数.
This function is used to register a callback function for getting lane information which detected by object based camera or fusion sensor.
- 参数 :
-
-
cb – [in]
获取仿真场景中感知车道线的更新回调
Object based camera or fusion sensor detection lane information data update callback function
-
mainVehicleId – [out]
主车的ID
Id of the main vehicle
-
sensorId – [out]
目标级传感器ID
Sensor Index
-
pLaneInfo – [out] 感知车道信息 lane information
-
- 返回 :
-
如果注册回调函数成功,则返回true,否则返回false
Returns true if the callback registration is successful, false otherwise.