Function SimOneAPI::GetSensorLaneInfo

Function Documentation

bool SimOneAPI::GetSensorLaneInfo(const char *mainVehicleId, const char *sensorId, SimOne_Data_LaneInfo *pLaneInfo)

获取传感器检测到车道与车道线数据

  • function: GetSensorLaneInfo

  • brief: Get LaneInfo from current sensor(camera/fusion sensor)

参数
  • mainVehicleId[in] Id of the main vehicle

  • sensorId[in] Id of the radar sensor

  • pLaneInfo[out] laneInfo data: id, lane type, left/right lane id, lane line info

返回

Success or not