地图加载 Map Loading¶
setHdmapLoad¶
void setHdmapLoad()
直接设置高精地图已经初始化完成
Directly set that the high-definition map has been initialized successfully.
LoadHDMap¶
bool LoadHDMap(int timeOutSeconds)
加载高精度地图
Load the high-definition map.
Parameters:
| 名称 | 类型 | 说明 |
|---|---|---|
timeOutSeconds |
int |
超时设置,用于重复检查高精地图是否准备好加载。超时后将停止并返回 Timeout setting for repeatedly checking whether the HD map is ready to load. The function will stop and return when the timeout is reached. |
Returns:
| 类型 | 说明 |
|---|---|
bool |
成功加载返回true,否则返回false Returns true if the map is successfully loaded, false otherwise. |