Function SimOneAPI::AddEvaluationRecord
-
Defined in File SimOneEvaluationAPI.h
Function Documentation
-
bool
SimOneAPI
::
AddEvaluationRecord
(
const
char
*
mainVehicleId
,
const
char
*
jsonString
)
-
添加评价算法所需的各类信息(JSON格式)
Add various types of information required for the evaluation algorithm (in JSON format).
此函数用于为评价算法添加记录,记录以JSON格式提供,包括属性类别、时间戳等信息
This function is used to add records for the evaluation algorithm. The records are provided in JSON format and include information such as property category, timestamp, etc.
- 参数 :
-
-
mainVehicleId – [in]
主车的ID
ID of the main vehicle.
-
jsonString – [in]
评价记录的JSON格式字符串,可通过JSON dump生成。例如:{“category”: “signal”, “timestamp”: 1648363819335, “ACC”: “on”, “ACCSpeed”: 20}
JSON format string for the evaluation record, which can be generated by a JSON dump. For example: {“category”: “signal”, “timestamp”: 1648363819335, “ACC”: “on”, “ACCSpeed”: 20}.
-
- 返回 :
-
成功添加返回true,否则返回false
Returns true if successfully added, false otherwise.