Function SimOneAPI::SetDriverName

Function Documentation

void SimOneAPI::SetDriverName(const char *mainVehicleId, const char *name)

设置主车控制器的名字

Set the main vehicle driver's name.

此函数用于为主车控制器设置驾驶员的名字,名字长度最大为8个字符

This function is used to set the driver's name for the main vehicle controller, with a maximum length of 8 characters.

参数:
const char *mainVehicleId

[in]

主车的ID

Id of the main vehicle.

const char *name

[in]

车辆驾驶员的名字,最大长度为8个字符

Vehicle driver's name, with a maximum length of 8 characters.