Function SimOneAPI::GetGroundTruth
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool SimOneAPI::GetGroundTruth(const char *mainVehicleId, SimOne_Data_Obstacle *pObstacle)
得到仿真场景中的物体的真值
function: GetGroundTruth
brief: Get ground truth data of objects/obstacles from the simulation scene.
- 参数
mainVehicleId – [in] Id of the main vehicle
pObstacle – [out] Obstacle data: id, view-id, type, theta, position, rotation, velocity, length, width, height, acceleration
- 返回
Success or not