Function SimOneAPI::InitSimOneAPI
Defined in File SimOneServiceAPI.h
Function Documentation
-
bool SimOneAPI::InitSimOneAPI(const char *mainVehicleId = "0", bool isFrameSync = false, const char *serverIP = "127.0.0.1", int port = 23789, void (*startCase)() = 0, void (*endCase)() = 0, int registerNodeId = 0)
初始化SimOne API
function: InitSimOneAPI
brief: Initialize SimOneAPI for autonomous driving algorithm
- 参数
mainVehicleId – [in] host vehicle ID(from 0 to 9)
isFrameSync – [in] synchronize frame or not
serverIP – [in] BridgeIO server ip
port – [in] BridgeIO server port
startCase – [in] callback func which being called before case start
endCase – [in] callback func which being called after case end
registerNodeId – [in] not in use
- 返回
None