Function SimOneAPI::InitEvaluationServiceWithLocalData
Defined in File SimOneEvaluationAPI.h
Function Documentation
-
bool SimOneAPI::InitEvaluationServiceWithLocalData(const char *mainVehicleId, bool withMainVehicle = true, bool withObstacleNeeded = true)
初始化评价服务,本地存储数据
Initialize evaluation service with local data storage.
此函数用于初始化自动驾驶算法的评价服务,并将判定数据和GPS数据作为默认存储在本地(类别:判定、主车)
This function initializes the evaluation service for autonomous driving algorithms and stores judge data and GPS data locally by default (categories: judge, main vehicle).
- 参数:
mainVehicleId -- [in]
主车的ID
ID of the main vehicle.
withMainVehicle -- [in]
是否默认将主车数据发送到评价服务器
Whether to send MainVehicle data to the evaluation server by default.
withObstacleNeeded -- [in]
是否将障碍物数据发送到评价服务器
Whether to send Obstacle data to the evaluation server.
- 返回:
成功初始化返回true,否则返回false
Returns true if the initialization is successful, false otherwise.