Function SimOneAPI::SetGroundTruthUpdateCB
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool SimOneAPI::SetGroundTruthUpdateCB(void (*cb)(const char *mainVehicleId, SimOne_Data_Obstacle *pObstacle))
得到仿真场景中的物体的真值的更新回调
function: SetObstacleUpdateCB
brief: Register the callback func applying for obstacle info
- 参数
cb – [in] Obstacle data update callback function param[out] mainVehicleId: Id of the main vehicle pObstacle: Obstacle data: id, view-id, type, theta, position, rotation, velocity, length, width, height, acceleration
- 返回
Success or not