35#ifdef BUILD_SIMONE_API
36#if defined(WIN32) || defined(_WIN32)
37#define SIMONE_API __declspec(dllexport)
38#elif defined(__linux__) || defined(__linux)
39#define SIMONE_API __attribute__((visibility("default")))
46#include "Service/SimOneIOStruct.h"
72 SIMONE_API bool InitEvaluationService(
const char* mainVehicleId,
const char *serviceIP =
"127.0.0.1",
int port = 8078,
bool withMainVehicle =
true,
bool withObstacleNeeded =
true);
#define SIMONE_API
Definition SimOneEvaluationAPI.h:42
Definition SimOneControlTransAPI.h:20
SIMONE_API bool InitEvaluationServiceWithLocalData(const char *mainVehicleId, bool withMainVehicle=true, bool withObstacleNeeded=true)
初始化评价服务,本地存储数据 Initialize evaluation service with local data storage.
SIMONE_API bool InitEvaluationService(const char *mainVehicleId, const char *serviceIP="127.0.0.1", int port=8078, bool withMainVehicle=true, bool withObstacleNeeded=true)
初始化评价服务 Initialize service for evaluation of autonomous driving algorithms.
SIMONE_API bool SaveEvaluationRecord()
保存评价算法所需的各类信息(JSON格式) Save various types of information required for the evaluation algorithm (in JSO...
SIMONE_API bool AddEvaluationRecord(const char *mainVehicleId, const char *jsonString)
添加评价算法所需的各类信息(JSON格式) Add various types of information required for the evaluation algorithm (in JSON...
SIMONE_API bool SetJudgeEventCB(void(*cb)(const char *mainVehicleId, SimOne_Data_JudgeEvent *judgeEventDetailInfo))
场景判定事件回调 Callback for scenario judgment events.
SIMONE_API bool AddJudgeEvent(const char *mainVehicleId, const char *data, bool terminate=false)
发送场景判定事件 Broadcast scenario judgment event information for report generation.
Definition SimOneIOStruct.h:320