Function SimOneAPI::GetSensorDetections
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool SimOneAPI::GetSensorDetections(const char *mainVehicleId, const char *sensorId, SimOne_Data_SensorDetections *pGroundtruth)
获取传感器检测到物体的对应真值
function: GetSensorDetections
brief: Get ground truth about the objects which detected by current sensor(camera/lidar/perfect perception sensor)
- 参数
mainVehicleId – [in] Id of the main vehicle
sensorId – [in] Id of the radar sensor
pGroundtruth – [out] ground truth data: id, type, position, rotation, length, width, height, range, velocity, acceleration, probability, relative position, relative rotation, relative velocity, bounding box
- 返回
Success or not