驾驶员接管(DIL) Driver-in-Loop¶
SetDriverName¶
void SetDriverName(const char *mainVehicleId, const char *name)
设置主车控制器的名字
Set the main vehicle driver's name.
Parameters:
| 名称 | 类型 | 说明 |
|---|---|---|
mainVehicleId |
const char * |
主车的ID Id of the main vehicle. |
name |
const char * |
车辆驾驶员的名字,最大长度为8个字符 Vehicle driver's name, with a maximum length of 8 characters. |