Function SimOneAPI::AddJudgeEvent

Function Documentation

bool SimOneAPI::AddJudgeEvent(const char *mainVehicleId, const char *data, bool terminate = false)

发送场景判定事件

Broadcast scenario judgment event information for report generation.

此函数用于发送场景中的判定事件信息,通常用于报告生成

This function is used to broadcast judgment event information in a scenario, typically for report generation.

参数:
const char *mainVehicleId

[in]

主车的ID

ID of the main vehicle.

const char *data

[in]

场景的判定事件信息

Judge event information of the scenario.

bool terminate = false

[in]

是否终止场景,默认为false

Whether to terminate the scenario, default is false.

返回:

成功发送返回true,否则返回false

Returns true if successfully broadcast, false otherwise.