The invention discloses a simulation traffic flow generation method and device, and the method comprises the steps: receiving a simulation request, and obtaining a simulation parameter value accordingto the simulation request; based on the simulation parameter value, constructing at least one simulation vehicle to be added; acquiring a target random factor, determining a first initial position based on the target random factor, wherein the target random factor is any one of the random factors, and the target random factor and the first initial position have a corresponding relation; and adding the to-be-added simulation vehicle to the first initial position to obtain a simulation traffic flow. In the method, a first initial position of the simulation traffic flow at which the to-be-addedsimulation vehicle is located is determined based on the target random factor, the selection of the target random factor is different, and the first initial position is different, so that the first initial position is variable, and the situation that the reaction of an automatic driving algorithm to a sudden random scene cannot be tested due to the fact that the positions of various vehicles in amanually created simulation traffic flow are fixed is avoided.
本发明公开了一种仿真交通流的生成方法及装置,该方法包括:接收仿真请求,依据仿真请求,获取仿真参数值;基于仿真参数值,构建待添加仿真车辆,待添加仿真车辆至少为一个;获取目标随机因子,基于目标随机因子,确定第一初始位置,目标随机因子为各个随机因子中的任意一个,目标随机因子与第一初始位置存在对应关系;将待添加仿真车辆添加到第一初始位置处,得到仿真交通流。上述方法,待添加仿真车辆的在仿真交通流的第一初始位置,是基于目标随机因子进行确定的,目标随机因子选取的不同,第一初始位置不同,因此,第一初始位置是可变的,避免了手工创建的仿真交通流中各种车辆的位置固定,无法测试自动驾驶算法对突发的随机场景的反应。
Simulation traffic flow generation method and device
一种仿真交通流的生成方法及装置
2020-10-16
Patent
Electronic Resource
Chinese
European Patent Office | 2017
|European Patent Office | 2017
|TRAFFIC FLOW SIMULATION SYSTEM AND TRAFFIC FLOW SIMULATION METHOD
European Patent Office | 2023
|TRAFFIC FLOW SIMULATION SYSTEM AND TRAFFIC FLOW SIMULATION METHOD
European Patent Office | 2023
|