控制透传 Control Trans API¶
控制信号透传接口。
Control signal passthrough interfaces.
SetDriveEx¶
bool SetDriveEx(const char *mainVehicleId, SimOne_Data_Control_Ex *pControlEx)
参数 Parameters:
| 名称 | 类型 | 说明 |
|---|---|---|
mainVehicleId |
const char * |
Id of the main vehicle |
pControlEx |
SimOne_Data_Control_Ex * |
— |
返回值 Returns:
| 类型 | 说明 |
|---|---|
bool |
Success or not |
GetDriveEx¶
bool GetDriveEx(SimOne_Data_Control_Ex *pControlEx)
参数 Parameters:
| 名称 | 类型 | 说明 |
|---|---|---|
pControlEx |
SimOne_Data_Control_Ex * |
— |
返回值 Returns:
| 类型 | 说明 |
|---|---|
bool |
Success or not |