可以参考的Carmaker.教程:

在下面的界面可以创建自己的交通环境

创建mongotemplate 创建车队_ide


内容来源:https://www.bilibili.com/video/BV1uV411o7tt?p=8,第八讲Scenario-2:

1、在画Junction后想删除,需要按着Ctrl点击,全选上

创建mongotemplate 创建车队_3D_02

创建mongotemplate 创建车队_3D_03


画Junction时可以按照上图进行指定臂的角度和长度如上:0, 20;90,20。2、右侧路:半径100,角度90.

创建mongotemplate 创建车队_ide_04


创建mongotemplate 创建车队_创建mongotemplate_05


3.定义高速公路

在道路设置中选择高速公路,带问号的那个。

创建mongotemplate 创建车队_ide_06


创建mongotemplate 创建车队_3D_07


先不要和其他车道相连:

创建mongotemplate 创建车队_创建mongotemplate_08


将连接处从四车道减到的两车道:

创建mongotemplate 创建车队_3D_09


先点击高速路四车道起点,设置长度25,在25米处截断道路。

创建mongotemplate 创建车队_ide_10


选择这个操作:在点击左车道的左车道

创建mongotemplate 创建车队_3D_11


创建mongotemplate 创建车队_3D_12


创建mongotemplate 创建车队_3D_13


然后点击connect:

创建mongotemplate 创建车队_ide_14


创建mongotemplate 创建车队_ide_15

创建mongotemplate 创建车队_3D_16


高速公路添加隧道:

创建mongotemplate 创建车队_ide_17

创建mongotemplate 创建车队_3D_18


创建mongotemplate 创建车队_创建mongotemplate_19

4、设置Elevation profile

创建mongotemplate 创建车队_3D_20


创建mongotemplate 创建车队_创建mongotemplate_21


在左边设置参数:

创建mongotemplate 创建车队_3D_22


5、定义route

创建mongotemplate 创建车队_3D_23


要按着shift;

创建mongotemplate 创建车队_3D_24


创建mongotemplate 创建车队_3D_25


被选择的会显示route_0.6、设置交通标识

1):driver stop 和视频上讲的不太一样

创建mongotemplate 创建车队_3D_26


创建mongotemplate 创建车队_创建mongotemplate_27


创建mongotemplate 创建车队_3D_28


视频上是这样的:

创建mongotemplate 创建车队_3D_29


2)设置traffic light:

点了交通灯后悔发现在交通灯上有两个可选这设定的traffic light 和mount

创建mongotemplate 创建车队_ide_30


创建mongotemplate 创建车队_创建mongotemplate_31


可以对红绿灯的状态进行设置:

创建mongotemplate 创建车队_ide_32


起始状态是绿灯。7、添加道路标线:

创建mongotemplate 创建车队_3D_33


创建mongotemplate 创建车队_ide_34


创建mongotemplate 创建车队_创建mongotemplate_35


创建mongotemplate 创建车队_创建mongotemplate_36


标注停止线:

创建mongotemplate 创建车队_ide_37


创建mongotemplate 创建车队_3D_38


斑马线:carmaker中没有专门的斑马线:

创建mongotemplate 创建车队_创建mongotemplate_39


路面上漆:

创建mongotemplate 创建车队_3D_40


创建mongotemplate 创建车队_创建mongotemplate_41


8、添加建筑物,点击3D物件;

创建mongotemplate 创建车队_创建mongotemplate_42


创建mongotemplate 创建车队_3D_43


创建mongotemplate 创建车队_创建mongotemplate_44


创建mongotemplate 创建车队_ide_45

9、添加植被:

创建mongotemplate 创建车队_创建mongotemplate_46


创建mongotemplate 创建车队_3D_47


设置参数:

创建mongotemplate 创建车队_3D_48


创建mongotemplate 创建车队_创建mongotemplate_49


10、添加施工区域:

创建mongotemplate 创建车队_ide_50


创建mongotemplate 创建车队_3D_51


设置交通路障:

创建mongotemplate 创建车队_创建mongotemplate_52


创建mongotemplate 创建车队_创建mongotemplate_53


11、生成地形:

创建mongotemplate 创建车队_ide_54


创建mongotemplate 创建车队_ide_55


可以3D预览一下。为什么红灯没有器作用?

12、建立交通灯

创建mongotemplate 创建车队_创建mongotemplate_56


创建mongotemplate 创建车队_ide_57


创建mongotemplate 创建车队_ide_58


创建mongotemplate 创建车队_3D_59


创建mongotemplate 创建车队_创建mongotemplate_60


多余的交通灯要删掉,不然会报错。

创建mongotemplate 创建车队_3D_61