Function SimOneAPI::RegisterVehicleState

Function Documentation

bool SimOneAPI :: RegisterVehicleState ( const char * mainVehicleId , ESimOne_Data_Vehicle_State * pStateIndics , int size )

注册SimOne_Data_Gps包含的状态以外的主车状态信息

Register states of main vehicle dynamics beyond those included in

SimOne_Data_Gps .

此函数用于注册主车的动态状态信息,这些状态信息不包含在SimOne_Data_Gps中

This function is used to register the dynamics states of the main vehicle which are not included in

SimOne_Data_Gps .

参数 :
  • mainVehicleId [in]

    主车的ID

    Id of the main vehicle.

  • pStateIndics [in]

    状态名称的数组

    Array of state names.

  • size [in]

    pStateIndics中状态的数量

    Number of states in pStateIndics.

返回 :

如果注册成功,则返回true,否则返回false

Returns true if registration is successful, false otherwise.