Function SimOneAPI::SetVehicleInitState
-
Defined in File SimOnePNCAPI.h
Function Documentation
-
bool
SimOneAPI
::
SetVehicleInitState
(
const
char
*
mainVehicleId
,
SimOne_Vehicle_Init_State
initState
)
-
设置主车初始状态
Set the main vehicle initial state.
此函数用于将更改主车的初始状态
This function is used to set initial state of the main vehicle.
- 参数 :
-
-
mainVehicleId – [in]
主车的ID
Id of the main vehicle.
-
initState – [in]
主车的初始状态
Initial state of the main vehicle.
-
- 返回 :
-
如果主车初始状态设置成功,则返回true,否则返回false
Returns true if the main vehicle’s initial state is successfully set, false otherwise.