[go: up one dir, main page]

CN118209127B - Path optimization method, path optimization device, electronic equipment and storage medium - Google Patents

Path optimization method, path optimization device, electronic equipment and storage medium Download PDF

Info

Publication number
CN118209127B
CN118209127B CN202410375439.6A CN202410375439A CN118209127B CN 118209127 B CN118209127 B CN 118209127B CN 202410375439 A CN202410375439 A CN 202410375439A CN 118209127 B CN118209127 B CN 118209127B
Authority
CN
China
Prior art keywords
time
value
vehicle
obstacle
predicted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410375439.6A
Other languages
Chinese (zh)
Other versions
CN118209127A (en
Inventor
周建波
张操
李杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Original Assignee
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd filed Critical Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Priority to CN202410375439.6A priority Critical patent/CN118209127B/en
Publication of CN118209127A publication Critical patent/CN118209127A/en
Application granted granted Critical
Publication of CN118209127B publication Critical patent/CN118209127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • G01C21/3415Dynamic re-routing, e.g. recalculating the route when the user deviates from calculated route or after detecting real-time traffic data or accidents
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

本申请涉及路径规划技术领域,提供了一种路径优化方法、装置、电子设备及存储介质。该方法通过获取车辆本次行驶的导航路线地图和障碍物信息,基于障碍物信息中的静态障碍物信息对导航路线地图进行栅格化处理得到第一时间预测价值地图,并对障碍物信息中的动态障碍物信息对第一时间预测价值地图进行更新得到第二时间预测价值地图,使用局部路径规划算法得到车辆在可行驶区域中的预测轨迹集合,并使用第二时间预测价值地图自该预测轨迹集合中确定目标轨迹得到优化路径,丰富了局部路径规划时的约束条件,提高了路径优化效率,并且优化后的路径减少了来回摆动的可能性,提高了车辆驾驶的舒适性,提升了用户体验。

The present application relates to the field of path planning technology, and provides a path optimization method, device, electronic device and storage medium. The method obtains the navigation route map and obstacle information of the vehicle's current travel, rasterizes the navigation route map based on the static obstacle information in the obstacle information to obtain a first-time predicted value map, updates the first-time predicted value map based on the dynamic obstacle information in the obstacle information to obtain a second-time predicted value map, uses a local path planning algorithm to obtain a set of predicted trajectories of the vehicle in a drivable area, and uses the second-time predicted value map to determine the target trajectory from the predicted trajectory set to obtain an optimized path, enriches the constraints during local path planning, improves the efficiency of path optimization, and reduces the possibility of swinging back and forth after the optimization, improves the comfort of vehicle driving, and enhances the user experience.

Description

路径优化方法、装置、电子设备及存储介质Path optimization method, device, electronic device and storage medium

技术领域Technical Field

本申请涉及路径规划技术领域,尤其涉及一种路径优化方法、装置、电子设备及存储介质。The present application relates to the field of path planning technology, and in particular to a path optimization method, device, electronic device and storage medium.

背景技术Background Art

车辆的自动行驶过程中,高效的路径规划和路径跟踪优化控制有助于车辆实现快速导航任务。During the vehicle's automatic driving process, efficient path planning and path tracking optimization control help the vehicle achieve fast navigation tasks.

目前,常用的路径规划算法是A*(A-Star)算法。Currently, the commonly used path planning algorithm is the A* (A-Star) algorithm.

然而,A*算法是一种静态路网中求解最短路径的直接搜索方法,在复杂已知局部空间,传统的A*算法进行路径规划,动态避障效果差。进一步的,相关技术中在对A*算法的搜索控件和代价函数进行改进时,也没有考虑路网中车道拓扑关系约束、交通规则约束和异常情况约束,导致规划得到的轨迹可能来回摆动,影响用户体验。However, the A* algorithm is a direct search method for solving the shortest path in a static road network. In complex known local spaces, the traditional A* algorithm performs path planning and has poor dynamic obstacle avoidance effects. Furthermore, when improving the search controls and cost functions of the A* algorithm in related technologies, the topological constraints of lanes, traffic rules, and abnormal situations in the road network are not considered, resulting in the planned trajectory swinging back and forth, affecting the user experience.

发明内容Summary of the invention

有鉴于此,本申请实施例提供了一种路径优化方法、装置、电子设备及存储介质,以解决现有技术中路径优化约束条件不够完善导致计算复杂且优化后的路径存在碰撞风险的问题。In view of this, the embodiments of the present application provide a path optimization method, device, electronic device and storage medium to solve the problem in the prior art that the path optimization constraints are not perfect, resulting in complex calculations and the risk of collision in the optimized path.

本申请实施例的第一方面,提供了一种路径优化方法,该方法用于优化车辆导航路径,该方法包括:In a first aspect of an embodiment of the present application, a path optimization method is provided, the method being used to optimize a vehicle navigation path, the method comprising:

获取车辆本次行驶的导航路线地图和障碍物信息,障碍物为导航路线中的障碍物,障碍物信息至少包括静态障碍物的位置信息和属性信息,以及动态障碍物的预测轨迹;Obtaining a navigation route map and obstacle information of the vehicle's current travel, where the obstacle is an obstacle in the navigation route, and the obstacle information includes at least the location information and attribute information of static obstacles, and the predicted trajectory of dynamic obstacles;

对导航路线地图进行栅格化处理,并基于静态障碍物的位置信息和属性信息对各栅格进行赋值,得到第一时间预测价值地图;The navigation route map is rasterized, and each grid is assigned a value based on the location information and attribute information of the static obstacles to obtain a first-time prediction value map;

基于动态障碍物的预测轨迹更新第一时间预测价值地图,得到第二时间预测价值地图,其中,第一时间预测价值地图和第二时间预测价值地图用于表示不同时刻下车辆距离障碍物的远近程度;Based on the predicted trajectory of the dynamic obstacle, the first-time predicted value map is updated to obtain the second-time predicted value map, wherein the first-time predicted value map and the second-time predicted value map are used to indicate the distance between the vehicle and the obstacle at different times;

基于第二时间预测价值地图确定车辆自时刻t至时刻t+1的可行驶区域;Determine a drivable area of the vehicle from time t to time t+1 based on the second time prediction value map;

获取车辆在时刻t的状态信息和目标搜索步长,基于车辆在时刻t的状态信息和目标搜索步长,根据阿克曼底盘模型的动力学约束进行局部路径规划,得到车辆从时刻t到时刻t+1的预测轨迹集合,其中,t大于0且小于车辆本次行驶总时间;Obtain the state information of the vehicle at time t and the target search step length, perform local path planning based on the state information of the vehicle at time t and the target search step length according to the dynamic constraints of the Ackerman chassis model, and obtain a set of predicted trajectories of the vehicle from time t to time t+1, where t is greater than 0 and less than the total driving time of the vehicle;

基于第二时间预测价值地图自预测轨迹集合中确定目标轨迹,将目标轨迹作为车辆自时刻t至时刻t+1的优化路径。A target trajectory is determined from the set of predicted trajectories based on the second time prediction value map, and the target trajectory is used as an optimized path for the vehicle from time t to time t+1.

本申请实施例的第二方面,提供了一种路径优化装置,包括:A second aspect of an embodiment of the present application provides a path optimization device, including:

获取模块,被配置为获取车辆本次行驶的导航路线地图和障碍物信息,障碍物为导航路线中的障碍物,障碍物信息至少包括静态障碍物的位置信息和属性信息,以及动态障碍物的预测轨迹;An acquisition module is configured to acquire a navigation route map and obstacle information of the vehicle's current travel, wherein the obstacle is an obstacle in the navigation route, and the obstacle information includes at least position information and attribute information of static obstacles and predicted trajectory of dynamic obstacles;

第一地图生成模块,被配置为对导航路线地图进行栅格化处理,并基于静态障碍物的位置信息和属性信息对各栅格进行赋值,得到第一时间预测价值地图;A first map generation module is configured to perform rasterization processing on the navigation route map and assign values to each grid based on the location information and attribute information of the static obstacles to obtain a first-time prediction value map;

第二地图生成模块,被配置为基于动态障碍物的预测轨迹更新第一时间预测价值地图,得到第二时间预测价值地图,其中,第一时间预测价值地图和第二时间预测价值地图用于表示不同时刻下车辆距离障碍物的远近程度;The second map generation module is configured to update the first-time predicted value map based on the predicted trajectory of the dynamic obstacle to obtain a second-time predicted value map, wherein the first-time predicted value map and the second-time predicted value map are used to indicate the distance between the vehicle and the obstacle at different times;

确定模块,被配置为基于第二时间预测价值地图确定车辆自时刻t至时刻t+1的可行驶区域;A determination module configured to determine a drivable area of the vehicle from time t to time t+1 based on the second time prediction value map;

规划模块,被配置为获取车辆在时刻t的状态信息和目标搜索步长,基于车辆在时刻t的状态信息和目标搜索步长,根据阿克曼底盘模型的动力学约束进行局部路径规划,得到车辆从时刻t到时刻t+1的预测轨迹集合,其中,t大于0且小于车辆本次行驶总时间;A planning module is configured to obtain state information of the vehicle at time t and a target search step length, perform local path planning based on the state information of the vehicle at time t and the target search step length according to the dynamic constraints of the Ackerman chassis model, and obtain a set of predicted trajectories of the vehicle from time t to time t+1, where t is greater than 0 and less than the total driving time of the vehicle;

优化模块,被配置为基于第二时间预测价值地图自预测轨迹集合中确定目标轨迹,将目标轨迹作为车辆自时刻t至时刻t+1的优化路径。The optimization module is configured to determine a target trajectory from the set of predicted trajectories based on the second time prediction value map, and use the target trajectory as an optimized path of the vehicle from time t to time t+1.

本申请实施例的第三方面,提供了一种电子设备,包括存储器、处理器以及存储在存储器中并且可在处理器上运行的计算机程序,该处理器执行计算机程序时实现上述方法的步骤。According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

本申请实施例的第四方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述方法的步骤。According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

本申请实施例与现有技术相比存在的有益效果是:本申请实施例通过获取车辆本次行驶的导航路线地图和障碍物信息,基于障碍物信息中的静态障碍物信息对导航路线地图进行栅格化处理得到第一时间预测价值地图,并对障碍物信息中的动态障碍物信息对第一时间预测价值地图进行更新得到第二时间预测价值地图,使用局部路径规划算法得到车辆在可行驶区域中从时刻t到时刻t+1满足阿克曼底盘模型的动力学约束的预测轨迹集合,并使用第二时间预测价值地图自该预测轨迹集合中确定目标轨迹,将该目标轨迹作为车辆自时刻t至时刻t+1的优化路径,丰富了局部路径规划时的约束条件,且通过一次计算即可得到平滑的轨迹,提高了路径优化效率,并且优化后的路径减少了来回摆动的可能性,提高了车辆驾驶的舒适性,提升了用户体验。Compared with the prior art, the embodiments of the present application have the following beneficial effects: the embodiments of the present application obtain the navigation route map and obstacle information of the vehicle's current travel, rasterize the navigation route map based on the static obstacle information in the obstacle information to obtain a first-time predicted value map, and update the first-time predicted value map based on the dynamic obstacle information in the obstacle information to obtain a second-time predicted value map, use a local path planning algorithm to obtain a set of predicted trajectories of the vehicle in the drivable area from time t to time t+1 that satisfy the dynamic constraints of the Ackerman chassis model, and use the second-time predicted value map to determine the target trajectory from the predicted trajectory set, and use the target trajectory as the optimized path of the vehicle from time t to time t+1, thereby enriching the constraints during local path planning, and obtaining a smooth trajectory through one calculation, thereby improving the efficiency of path optimization, and the optimized path reduces the possibility of swinging back and forth, thereby improving the driving comfort of the vehicle and the user experience.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1是本申请实施例提供的一种路径优化方法的流程示意图。FIG1 is a flow chart of a path optimization method provided in an embodiment of the present application.

图2是本申请实施例提供的一种导航路线地图的示意图。FIG. 2 is a schematic diagram of a navigation route map provided in an embodiment of the present application.

图3是本申请实施例提供的根据第二时间预测价值地图中各栅格的值划分区域后的地图的示意图。FIG3 is a schematic diagram of a map after dividing the regions according to the values of each grid in the second time predicted value map provided in an embodiment of the present application.

图4是本申请实施例提供的基于动态障碍物的预测轨迹更新第一时间预测价值地图,得到第二时间预测价值地图的方法的流程示意图。4 is a flow chart of a method for updating a first-time predicted value map based on a predicted trajectory of a dynamic obstacle to obtain a second-time predicted value map provided in an embodiment of the present application.

图5是本申请实施例提供的阿克曼底盘模型示意图。FIG5 is a schematic diagram of the Ackerman chassis model provided in an embodiment of the present application.

图6是本申请实施例提供的基于第二时间预测价值地图自预测轨迹集合中确定目标轨迹的方法的流程示意图。FIG6 is a flow chart of a method for determining a target trajectory from a set of predicted trajectories based on a second time predicted value map provided in an embodiment of the present application.

图7是本申请实施例提供的另一种路径优化方法的流程示意图。FIG. 7 is a flow chart of another path optimization method provided in an embodiment of the present application.

图8是本申请实施例提供的一种路径优化装置的示意图。FIG8 is a schematic diagram of a path optimization device provided in an embodiment of the present application.

图9是本申请实施例提供的电子设备的示意图。FIG. 9 is a schematic diagram of an electronic device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

下面将结合附图详细说明根据本申请实施例的一种路径优化方法和装置。A path optimization method and device according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

上文提及,目前常用的路径规划算法,A*算法是一种静态路网中求解最短路径的直接搜索方法,在复杂已知局部空间,传统的A*算法进行路径规划,动态避障效果差。进一步的,相关技术中在对A*算法的搜索控件和代价函数进行改进时,也没有考虑路网中车道拓扑关系约束、交通规则约束和异常情况约束,导致规划得到的轨迹可能来回摆动,影响用户体验,且在轨迹优化时没有障碍物约束存在碰撞风险。更进一步的,相关技术中的A*算法通常在路径规划后额外增加一次平滑处理以得到平滑的轨迹,这种处理方式会增加计算量。As mentioned above, the A* algorithm, a commonly used path planning algorithm, is a direct search method for solving the shortest path in a static road network. In complex known local spaces, the traditional A* algorithm performs path planning, and the dynamic obstacle avoidance effect is poor. Furthermore, when improving the search control and cost function of the A* algorithm in the related art, the lane topology constraints, traffic rules constraints, and abnormal situation constraints in the road network are not considered, causing the planned trajectory to swing back and forth, affecting the user experience, and there is a risk of collision when there are no obstacle constraints during trajectory optimization. Furthermore, the A* algorithm in the related art usually adds an additional smoothing process after path planning to obtain a smooth trajectory. This processing method increases the amount of calculation.

鉴于此,本申请实施例提供了一种路径优化方法,通过获取车辆本次行驶的导航路线地图和障碍物信息,基于障碍物信息中的静态障碍物信息对导航路线地图进行栅格化处理得到第一时间预测价值地图,并对障碍物信息中的动态障碍物信息对第一时间预测价值地图进行更新得到第二时间预测价值地图,使用局部路径规划算法得到车辆在可行驶区域中从时刻t到时刻t+1满足阿克曼底盘模型的动力学约束的预测轨迹集合,并使用第二时间预测价值地图自该预测轨迹集合中确定目标轨迹,将该目标轨迹作为车辆自时刻t至时刻t+1的优化路径,丰富了局部路径规划时的约束条件,且通过一次计算即可得到平滑的轨迹,提高了路径优化效率,并且优化后的路径减少了来回摆动的可能性,提高了车辆驾驶的舒适性,提升了用户体验。In view of this, an embodiment of the present application provides a path optimization method, which obtains a navigation route map and obstacle information of the vehicle's current travel, rasterizes the navigation route map based on the static obstacle information in the obstacle information to obtain a first-time predicted value map, and updates the first-time predicted value map based on the dynamic obstacle information in the obstacle information to obtain a second-time predicted value map, uses a local path planning algorithm to obtain a set of predicted trajectories of the vehicle in a drivable area from time t to time t+1 that satisfies the dynamic constraints of the Ackerman chassis model, and uses the second-time predicted value map to determine a target trajectory from the predicted trajectory set, and uses the target trajectory as the optimized path of the vehicle from time t to time t+1, enriching the constraints during local path planning, and obtaining a smooth trajectory through one calculation, thereby improving the efficiency of path optimization, and the optimized path reduces the possibility of swinging back and forth, thereby improving the driving comfort of the vehicle and the user experience.

图1是本申请实施例提供的一种路径优化方法的流程示意图。如图1所示,该方法包括如下步骤:FIG1 is a flow chart of a path optimization method provided in an embodiment of the present application. As shown in FIG1 , the method includes the following steps:

在步骤S101中,获取车辆本次行驶的导航路线地图和障碍物信息。In step S101, the navigation route map and obstacle information of the vehicle's current travel are obtained.

其中,障碍物为导航路线中的障碍物,障碍物信息至少包括静态障碍物的位置信息和属性信息,以及动态障碍物的预测轨迹。The obstacle is an obstacle in the navigation route, and the obstacle information includes at least the location information and attribute information of the static obstacle and the predicted trajectory of the dynamic obstacle.

在步骤S102中,对导航路线地图进行栅格化处理,并基于静态障碍物的位置信息和属性信息对各栅格进行赋值,得到第一时间预测价值地图。In step S102, the navigation route map is rasterized, and each grid is assigned a value based on the location information and attribute information of the static obstacles to obtain a first-time predicted value map.

在步骤S103中,基于动态障碍物的预测轨迹更新第一时间预测价值地图,得到第二时间预测价值地图。In step S103, the first time predicted value map is updated based on the predicted trajectory of the dynamic obstacle to obtain a second time predicted value map.

其中,第一时间预测价值地图和第二时间预测价值地图用于表示不同时刻下车辆距离障碍物的远近程度。Among them, the first-time predicted value map and the second-time predicted value map are used to indicate the distance between the vehicle and the obstacle at different times.

在步骤S104中,基于第二时间预测价值地图确定车辆自时刻t至时刻t+1的可行驶区域。In step S104, a drivable area of the vehicle from time t to time t+1 is determined based on the second time prediction value map.

在步骤S105中,获取车辆在时刻t的状态信息和目标搜索步长,基于车辆在时刻t的状态信息和目标搜索步长,根据阿克曼底盘模型的动力学约束进行局部路径规划,得到车辆从时刻t到时刻t+1的预测轨迹集合。In step S105, the state information of the vehicle at time t and the target search step length are obtained, and local path planning is performed based on the state information of the vehicle at time t and the target search step length according to the dynamic constraints of the Ackerman chassis model to obtain a set of predicted trajectories of the vehicle from time t to time t+1.

其中,t大于0且小于车辆本次行驶总时间。Among them, t is greater than 0 and less than the total driving time of the vehicle.

在步骤S106中,基于第二时间预测价值地图自预测轨迹集合中确定目标轨迹,将目标轨迹作为车辆自时刻t至时刻t+1的优化路径。In step S106, a target trajectory is determined from the set of predicted trajectories based on the second time prediction value map, and the target trajectory is used as the optimized path of the vehicle from time t to time t+1.

本申请实施例中,该方法可以由服务器执行,也可以由具备一定计算能力的终端执行。为描述的方便,以下以该方法由服务器执行为例进行说明。In the embodiment of the present application, the method can be executed by a server or by a terminal with certain computing capabilities. For the convenience of description, the following description is based on an example of the method being executed by a server.

本申请实施例中,服务器可以首先获取车辆本次行驶的导航路线地图。一示例中,可以首先基于导航应用生成车辆本次行驶的导航路线地图,然后自该导航应用中获取该导航路线地图。进一步的,也可以采用其他方式获取导航路线地图,此处不做限制。需要说明的是,该地图可以是高精度地图。In an embodiment of the present application, the server may first obtain a navigation route map of the vehicle's current travel. In one example, the navigation route map of the vehicle's current travel may be first generated based on a navigation application, and then the navigation route map may be obtained from the navigation application. Furthermore, other methods may be used to obtain the navigation route map, which is not limited here. It should be noted that the map may be a high-precision map.

本申请实施例中,服务器还可以获取障碍物信息。其中,障碍物为导航路线中的障碍物。该障碍物信息至少包括静态障碍物的位置信息和属性信息,以及动态障碍物的预测轨迹。一示例中,静态障碍物例如可以是道路的边界、道路边的人行道和护栏、虚实车道线、每个车道交通标志指定的车道行驶方向、停止线、斑马线、待转区以及车道连通关系等。另一示例中,动态障碍物例如可以是特定时刻的交通参与者,包括其他车辆、行人等。In an embodiment of the present application, the server may also obtain obstacle information. The obstacle is an obstacle in the navigation route. The obstacle information includes at least the location information and attribute information of static obstacles, and the predicted trajectory of dynamic obstacles. In one example, static obstacles may be, for example, the boundary of the road, the sidewalk and guardrail on the side of the road, virtual and real lane lines, the lane driving direction specified by the traffic signs of each lane, stop lines, zebra crossings, waiting areas, and lane connectivity. In another example, dynamic obstacles may be, for example, traffic participants at a specific moment, including other vehicles, pedestrians, etc.

图2是本申请实施例提供的一种导航路线地图的示意图。如图2所示,该导航线路地图中包括上述各类静态障碍物。Fig. 2 is a schematic diagram of a navigation route map provided in an embodiment of the present application. As shown in Fig. 2, the navigation route map includes the above-mentioned various types of static obstacles.

本申请实施例中,可以对获取的导航线路地图进行栅格化处理,并基于静态障碍物的位置信息和属性信息对各栅格进行赋值,得到第一时间预测价值地图。其中,具体的赋值方式参见后文详细描述,此处不再赘述。In the embodiment of the present application, the obtained navigation route map can be rasterized, and each grid can be assigned a value based on the location information and attribute information of the static obstacle to obtain a first-time predicted value map. The specific assignment method is described in detail below and will not be repeated here.

本申请实施例中,还可以基于动态障碍物的预测轨迹更新第一时间预测价值地图,得到第二时间预测价值地图。其中,第二时间预测价值地图为时间预测价值地图,这是因为,在车辆本次行驶的不同时刻,通常会有不同的交通参与者,或者不同时刻的地图中,相同交通参与者的位置也可能不同。因此,需要根据不同的时刻的交通参与者情况,即动态障碍物的预测轨迹对第一时间预测价值地图进行不同的更新处理,得到一系列第二时间预测价值地图。进一步的,第一时间预测价值地图和第二时间预测价值地图用于表示不同时刻下车辆距离障碍物的远近程度。In an embodiment of the present application, the first time prediction value map can also be updated based on the predicted trajectory of the dynamic obstacle to obtain a second time prediction value map. Among them, the second time prediction value map is a time prediction value map. This is because, at different times of the vehicle's current travel, there are usually different traffic participants, or the positions of the same traffic participants may be different in the maps at different times. Therefore, it is necessary to perform different update processing on the first time prediction value map according to the traffic participant situation at different times, that is, the predicted trajectory of the dynamic obstacle, to obtain a series of second time prediction value maps. Furthermore, the first time prediction value map and the second time prediction value map are used to indicate the distance of the vehicle from the obstacle at different times.

本申请实施例中,在构建完成第二时间预测价值地图后,服务器可以基于第二时间预测价值地图确定车辆自时刻t至时刻t+1的可行驶区域。进一步的,服务器还可以获取车辆在时刻t的状态信息和目标搜索步长,基于该车辆在时刻t的状态信息和该目标搜索步长,根据阿克曼底盘模型的动力学约束进行局部路径规划,得到车辆从时刻t到时刻t+1的预测轨迹集合,其中,t大于0且小于车辆本次行驶总时间。In the embodiment of the present application, after the second time prediction value map is constructed, the server can determine the drivable area of the vehicle from time t to time t+1 based on the second time prediction value map. Furthermore, the server can also obtain the state information of the vehicle at time t and the target search step length, and perform local path planning based on the state information of the vehicle at time t and the target search step length according to the dynamic constraints of the Ackerman chassis model to obtain a set of predicted trajectories of the vehicle from time t to time t+1, where t is greater than 0 and less than the total driving time of the vehicle.

本申请实施例中,在得到车辆从时刻t到时刻t+1的预测轨迹集合后,可以进一步使用该第二时间预测价值地图,自预测轨迹集合中确定目标轨迹,并将该目标轨迹作为车辆自时刻t至时刻t+1的优化路径。In an embodiment of the present application, after obtaining a set of predicted trajectories of the vehicle from time t to time t+1, the second time prediction value map can be further used to determine a target trajectory from the set of predicted trajectories, and use the target trajectory as the optimized path of the vehicle from time t to time t+1.

根据本申请实施例提供的技术方案,通过获取车辆本次行驶的导航路线地图和障碍物信息,基于障碍物信息中的静态障碍物信息对导航路线地图进行栅格化处理得到第一时间预测价值地图,并对障碍物信息中的动态障碍物信息对第一时间预测价值地图进行更新得到第二时间预测价值地图,使用局部路径规划算法得到车辆在可行驶区域中从时刻t到时刻t+1满足阿克曼底盘模型的动力学约束的预测轨迹集合,并使用第二时间预测价值地图自该预测轨迹集合中确定目标轨迹,将该目标轨迹作为车辆自时刻t至时刻t+1的优化路径,丰富了局部路径规划时的约束条件,且通过一次计算即可得到平滑的轨迹,提高了路径优化效率,并且优化后的路径减少了来回摆动的可能性,提高了车辆驾驶的舒适性,提升了用户体验。According to the technical solution provided in the embodiment of the present application, by obtaining the navigation route map and obstacle information of the vehicle's current travel, the navigation route map is rasterized based on the static obstacle information in the obstacle information to obtain a first-time predicted value map, and the first-time predicted value map is updated based on the dynamic obstacle information in the obstacle information to obtain a second-time predicted value map, and a local path planning algorithm is used to obtain a set of predicted trajectories of the vehicle in the drivable area from time t to time t+1 that satisfy the dynamic constraints of the Ackerman chassis model, and the second-time predicted value map is used to determine the target trajectory from the predicted trajectory set, and the target trajectory is used as the optimized path of the vehicle from time t to time t+1, thereby enriching the constraints during local path planning, and a smooth trajectory can be obtained through one calculation, thereby improving the efficiency of path optimization, and the optimized path reduces the possibility of swinging back and forth, thereby improving the driving comfort of the vehicle and the user experience.

本申请实施例中,静态障碍物的属性信息至少包括:静态障碍物的类型信息和静态障碍物的通行条件信息。进一步的,第一时间预测价值地图中,栅格值与该栅格中包括的静态障碍物的允许通行程度负相关。In the embodiment of the present application, the attribute information of the static obstacle includes at least: the type information of the static obstacle and the traffic condition information of the static obstacle. Further, in the first time prediction value map, the grid value is negatively correlated with the passability degree of the static obstacle included in the grid.

其中,各栅格中包括的静态障碍物的允许通行程度,采用如下方式确定:响应于确定静态障碍物为碰撞类型障碍物,确定静态障碍物的允许通行程度为第一取值;响应于确定静态障碍物为允许临时通行障碍物,确定静态障碍物的允许通行程度为第二取值;响应于确定静态障碍物为允许有条件通行障碍物,确定静态障碍物的允许通行程度为第三取值;响应于确定静态障碍物为正常行驶时无需占用障碍物,确定静态障碍物的允许通行程度为第四取值;响应于确定静态障碍物为允许通行障碍物,确定静态障碍物的允许通行程度为第五取值。其中,第一取值小于第二取值,第二取值小于第三取值,第三取值小于第四取值,且第四取值小于第五取值。The passability of the static obstacles included in each grid is determined in the following manner: in response to determining that the static obstacle is a collision type obstacle, the passability of the static obstacle is determined to be a first value; in response to determining that the static obstacle is a temporary passable obstacle, the passability of the static obstacle is determined to be a second value; in response to determining that the static obstacle is a conditional passable obstacle, the passability of the static obstacle is determined to be a third value; in response to determining that the static obstacle is an obstacle that does not need to be occupied during normal driving, the passability of the static obstacle is determined to be a fourth value; in response to determining that the static obstacle is a passable obstacle, the passability of the static obstacle is determined to be a fifth value. In which, the first value is less than the second value, the second value is less than the third value, the third value is less than the fourth value, and the fourth value is less than the fifth value.

也就是说,服务器可以首先对获取的导航路线地图进行栅格化处理,然后根据交通规则与道路行驶危险程度为每个栅格进行赋值。例如,可以根据交通规则和道路行驶危险程度将导航路线地图划分为五个可行驶区域,其中第一可行驶区域可以是交通规则允许行驶的区域中,危险程度较高的可行驶区域,例如其中包括护栏、树、杆、路沿高于预设阈值的人行道等区域。即,第一可行驶区域中的静态障碍物为碰撞类型障碍物,该区域中静态障碍物的允许通行程度最低,因此其栅格值可以设置为最高。That is, the server may first rasterize the acquired navigation route map, and then assign a value to each grid according to traffic rules and the degree of road driving danger. For example, the navigation route map may be divided into five drivable areas according to traffic rules and the degree of road driving danger, wherein the first drivable area may be an area where driving is allowed by traffic rules and a drivable area with a higher degree of danger, such as an area including guardrails, trees, poles, and sidewalks with curbs above a preset threshold. That is, the static obstacles in the first drivable area are collision type obstacles, and the degree of allowed passage of static obstacles in this area is the lowest, so its grid value may be set to the highest.

进一步的,第二可行驶区域可以是特殊情况可借道但不能长期占用的区域,例如反方向车道、路口区域、应急车道、不会通往目的地的车道实线部分、单实线、路沿低于预设阈值的人行道等。即,第二可行驶区域中的静态障碍物为允许临时通行障碍物,该区域中静态障碍物的允许通行程度为次低,因此其栅格值可以设置为次高。Furthermore, the second drivable area may be an area that can be used as a passage in special circumstances but cannot be occupied for a long time, such as an opposite lane, an intersection area, an emergency lane, a solid line portion of a lane that does not lead to the destination, a single solid line, a sidewalk with a curb below a preset threshold, etc. That is, the static obstacles in the second drivable area are obstacles that allow temporary passage, and the degree of passage allowed for static obstacles in this area is the second lowest, so its grid value can be set to the second highest.

第三可行驶区域可以是需要在符合交通规则规定的某些条件时可通行的区域,例如人行道、待转区、停止线等。即,第三可行驶区域中的静态障碍物为允许有条件通行障碍物,该区域中静态障碍物的允许通行程度为比第二可行驶区域更低一级,因此其栅格值可以设置为比第二可行驶区域中的栅格值小一个等级。The third drivable area may be an area that is passable when certain conditions specified in traffic rules are met, such as a sidewalk, a waiting area, a stop line, etc. That is, the static obstacles in the third drivable area are conditionally passable obstacles, and the passability of static obstacles in this area is one level lower than that in the second drivable area, so its grid value can be set to be one level lower than that in the second drivable area.

第四可行驶区域可以是正常情况下无需占用的区域,例如车道虚线,车辆正常行驶时,应当尽量保持直线行驶,因此无需占用车道虚线进行并线操作。即,第四可行驶区域中的静态障碍物为正常行驶时无需占用障碍物,该区域中静态障碍物的允许通行程度为比第三可行驶区域更低一级,因此其栅格值可以设置为比第三可行驶区域中的栅格值小一个等级。The fourth drivable area may be an area that does not need to be occupied under normal circumstances, such as a lane dotted line. When the vehicle is driving normally, it should try to keep driving in a straight line, so there is no need to occupy the lane dotted line for merging. That is, the static obstacles in the fourth drivable area are obstacles that do not need to be occupied during normal driving. The allowable passability of static obstacles in this area is one level lower than that of the third drivable area, so its grid value can be set to be one level lower than that of the third drivable area.

第五可行驶区域可以是允许行驶区域,第五可行驶区域需根据导航路线与车道连通关系自车可行驶区域,例如根据导航路线自车在岔路口需要右转,那么不能右转还不能变道就不包括内。即,第五可行驶区域中的静态障碍物为允许通行障碍物,该区域中静态障碍物的允许通行程度最高,因此其栅格值可以设置为最低。The fifth drivable area may be a permitted drivable area. The fifth drivable area needs to be a drivable area for the vehicle according to the navigation route and the lane connectivity relationship. For example, if the vehicle needs to turn right at a fork in the road according to the navigation route, then the area that cannot turn right or change lanes is not included. That is, the static obstacles in the fifth drivable area are permitted obstacles. The permitted degree of static obstacles in this area is the highest, so its grid value can be set to the lowest.

一种实施方式中,可以将第一可行驶区域中的栅格值设置为4,将第二可行驶区域中的栅格值设置为3,将第三可行驶区域中的栅格值设置为2,将第四可行驶区域中的栅格值设置为1,并将第五可行驶区域中的栅格值设置为大于0且小于1的值。需要说明的是,第五可行驶区域中的栅格值越接近0,则该栅格所在区域越接近车道中心线。In one implementation, the grid value in the first drivable area may be set to 4, the grid value in the second drivable area may be set to 3, the grid value in the third drivable area may be set to 2, the grid value in the fourth drivable area may be set to 1, and the grid value in the fifth drivable area may be set to a value greater than 0 and less than 1. It should be noted that the closer the grid value in the fifth drivable area is to 0, the closer the area where the grid is located is to the center line of the lane.

图3是本申请实施例提供的根据第二时间预测价值地图中各栅格的值划分区域后的地图的示意图。如图3所示,可以根据第二时间预测价值地图中各栅格的值,将地图划分为五个不同的区域,分别对应上述第一可行驶区域、第二可行驶区域、第三可行驶区域、第四可行驶区域和第五可行驶区域。Fig. 3 is a schematic diagram of a map after dividing the regions according to the values of each grid in the second time predicted value map provided by an embodiment of the present application. As shown in Fig. 3, the map can be divided into five different regions according to the values of each grid in the second time predicted value map, corresponding to the first drivable region, the second drivable region, the third drivable region, the fourth drivable region and the fifth drivable region respectively.

采用这种方式,在生成表征车辆与障碍物远近程度的时间预测价值地图时,考虑了交通规则约束和车道拓扑关系约束,使得路径优化的过程更符合实际情况,进而使得到的优化后的路径更平滑,能够为用户带来更舒适的体验。In this way, when generating the time prediction value map that represents the distance between the vehicle and the obstacle, the traffic rules constraints and lane topology constraints are taken into account, making the path optimization process more in line with the actual situation, and thus making the optimized path smoother, which can bring a more comfortable experience to users.

本申请实施例中,如前,第二时间预测价值地图为时间序列地图。图4是本申请实施例提供的基于动态障碍物的预测轨迹更新第一时间预测价值地图,得到第二时间预测价值地图的方法的流程示意图。如图4所示,该方法包括如下步骤:In the embodiment of the present application, as described above, the second time prediction value map is a time series map. FIG4 is a flow chart of a method for updating the first time prediction value map based on the predicted trajectory of a dynamic obstacle to obtain the second time prediction value map provided by the embodiment of the present application. As shown in FIG4, the method includes the following steps:

在步骤S401中,获取动态障碍物在时刻t的目标预测位置。In step S401, the target predicted position of the dynamic obstacle at time t is obtained.

在步骤S402中,基于动态障碍物在时刻t的速度、时刻t的路况信息以及时刻t的天气信息计算动态障碍物在时刻t的可能碰撞区域。In step S402, a possible collision area of the dynamic obstacle at time t is calculated based on the speed of the dynamic obstacle at time t, the road condition information at time t, and the weather information at time t.

在步骤S403中,在第一时间预测价值地图中,将目标预测位置处的栅格值更新为最大值,将可能碰撞区域中的栅格值更新为次大值,得到第二时间预测价值地图。In step S403, in the first time prediction value map, the grid value at the target prediction position is updated to the maximum value, and the grid value in the possible collision area is updated to the second maximum value, so as to obtain a second time prediction value map.

本申请实施例中,在生成第一时间预测价值地图后,服务器可以进一步获取动态障碍物在时刻t的目标预测位置。其中,动态障碍物的预测位置例如可以通过雷达或摄像头等传感器获取障碍物的状态,然后计算得到其预测轨迹,或者还可以通过获取动态障碍物的定位位置,基于其定位位置的动态变化来计算其预测轨迹,或者还可以通过其他方式得到,本申请实施例对此不做限定。In the embodiment of the present application, after generating the first time prediction value map, the server can further obtain the target predicted position of the dynamic obstacle at time t. The predicted position of the dynamic obstacle can be obtained by obtaining the state of the obstacle through sensors such as radar or camera, and then calculating its predicted trajectory, or by obtaining the positioning position of the dynamic obstacle and calculating its predicted trajectory based on the dynamic change of its positioning position, or by other methods, which are not limited in the embodiment of the present application.

本申请实施例中,服务器还可以基于动态障碍物在时刻t的速度、时刻t的路况信息以及时刻t的天气信息计算动态障碍物在时刻t的可能碰撞区域。最后,在第一时间预测价值地图中,将目标预测位置处的栅格值更新为最大值,将可能碰撞区域中的栅格值更新为次大值,即可得到第二时间预测价值地图。In the embodiment of the present application, the server can also calculate the possible collision area of the dynamic obstacle at time t based on the speed of the dynamic obstacle at time t, the road condition information at time t, and the weather information at time t. Finally, in the first time prediction value map, the grid value at the target prediction position is updated to the maximum value, and the grid value in the possible collision area is updated to the second maximum value, so as to obtain the second time prediction value map.

例如,服务器可以通过轨迹预测模块获取交通参与者的预测轨迹,从而得到未来某一时刻所有交通参与者的位姿、速度、长宽高,在第一时间预测价值地图基础上将各交通参与者的区域对应的栅格值设置为最高值(例如为5),并根据交通参与者的当前速度、路况、天气计算其周围的保留距离,得到该保留距离限定出的可能碰撞区域,将该可能碰撞区域对应的栅格值设置为次高值(例如为4),从而得到了该时刻的第二时间预测价值地图。For example, the server can obtain the predicted trajectory of traffic participants through the trajectory prediction module, thereby obtaining the position, speed, length, width and height of all traffic participants at a certain moment in the future, and set the grid value corresponding to the area of each traffic participant to the highest value (for example, 5) on the basis of the first-time predicted value map, and calculate the reserved distance around the traffic participant according to the current speed, road conditions and weather, and obtain the possible collision area defined by the reserved distance, and set the grid value corresponding to the possible collision area to the second highest value (for example, 4), thereby obtaining the second-time predicted value map at that moment.

本申请实施例中,服务器需要确定车辆的可行驶区域,进而在可行驶区域中使用局部路径规划算法,规划得到车辆自时刻t至时刻t+1的最优路径。其中,局部路径规划算法例如可以是A*算法。In the embodiment of the present application, the server needs to determine the drivable area of the vehicle, and then use a local path planning algorithm in the drivable area to plan the optimal path of the vehicle from time t to time t + 1. The local path planning algorithm may be, for example, an A* algorithm.

本申请实施例中,在确定车辆的可行驶区域之前,可以首先设置区域上限值,该区域上限值用于表示车辆可行驶区域中各栅格的最大值。一示例中,可以将车辆处于跟车状态和直行状态时的可行驶区域设置为第五区域可行驶区域,此时区域上限值H可以为1;将车辆处于超车状态和变道状态时的可行驶区域设置为第五可行驶区域和第四可行驶区域,此时H可以为2;将车辆处于在路口且路口信号灯为红灯状态时的可行驶区域设置为第五可行驶区域和第四可行驶区域,此时H可以为2;将车辆处于在路口且路口信号灯显示待转时的可行驶区域设置为第五可行驶区域、第四可行驶区域何第三可行驶区域,此时H可以为3;将车辆处于紧急避让状态时的可行驶区域设置为第五可行驶区域、第四可行驶区域、第三可行驶区域和第二可行驶区域,此时H可以为4。In the embodiment of the present application, before determining the drivable area of the vehicle, the upper limit value of the area can be set first, and the upper limit value of the area is used to represent the maximum value of each grid in the drivable area of the vehicle. In one example, the drivable area when the vehicle is in the following state and the straight state can be set as the fifth drivable area, and the upper limit value H of the area can be 1 at this time; the drivable area when the vehicle is in the overtaking state and the lane changing state can be set as the fifth drivable area and the fourth drivable area, and H can be 2 at this time; the drivable area when the vehicle is at the intersection and the intersection signal light is red can be set as the fifth drivable area and the fourth drivable area, and H can be 2 at this time; the drivable area when the vehicle is at the intersection and the intersection signal light shows waiting to turn can be set as the fifth drivable area, the fourth drivable area and the third drivable area, and H can be 3 at this time; the drivable area when the vehicle is in the emergency avoidance state can be set as the fifth drivable area, the fourth drivable area, the third drivable area and the second drivable area, and H can be 4 at this time.

本申请实施例中,还可以设置开放集合和关闭集合,其中,开放集合为路径规划时可能会经过的栅格对应的节点,关闭集合为路径规划时不会经过的栅格和已经加入优化后的路径的栅格对应的节点。此时,车辆自时刻t至时刻t+1的可行驶区域,可以采用如下方式确定:根据时刻t和时刻t+1的第二时间预测价值地图确定车辆自时刻t至时刻t+1的目标开放集合;确定目标开放集合中,节点对应栅格的栅格值小于区域上限值的栅格组成的区域,为车辆自时刻t至时刻t+1的可行驶区域。In the embodiment of the present application, an open set and a closed set can also be set, wherein the open set is the nodes corresponding to the grids that may be passed during path planning, and the closed set is the nodes corresponding to the grids that will not be passed during path planning and the grids that have been added to the optimized path. At this time, the drivable area of the vehicle from time t to time t+1 can be determined in the following way: determine the target open set of the vehicle from time t to time t+1 based on the second time prediction value map of time t and time t+1; determine the area composed of grids whose grid values corresponding to the nodes in the target open set are less than the upper limit value of the area, which is the drivable area of the vehicle from time t to time t+1.

本申请实施例中,在进行局部路径规划时,可以首先获取车辆在时刻t的状态信息和目标搜索步长。其中,车辆在时刻t的状态信息为 其中,xt为车辆在时刻t的横坐标值,yt为车辆在时刻t的纵坐标值,vt为车辆在时刻t的速度,为车辆在时刻t的航向角,θt为车辆在时刻t的轮胎夹角。进一步的,目标搜索步长为Δt,Δt=ΔT/N,ΔT为预设搜索步长,N表示自时刻t至时刻t+1的采样数,N为大于1的正整数。更进一步的,阿克曼底盘模型的动力学约束包括对车辆速度和车辆轮胎夹角的约束。In the embodiment of the present application, when performing local path planning, the vehicle state information and target search step length at time t can be first obtained. The vehicle state information at time t is Where xt is the horizontal coordinate value of the vehicle at time t, yt is the vertical coordinate value of the vehicle at time t, and vt is the speed of the vehicle at time t. is the heading angle of the vehicle at time t, and θt is the tire angle of the vehicle at time t. Further, the target search step is Δt, Δt=ΔT/N, ΔT is the preset search step, N represents the number of samples from time t to time t+1, and N is a positive integer greater than 1. Furthermore, the dynamic constraints of the Ackerman chassis model include constraints on vehicle speed and vehicle tire angle.

本申请实施例中,基于车辆在时刻t的状态信息和目标搜索步长,在可行驶区域中进行局部路径规划时,可以首先基于车辆在时刻t的状态信息,确定M个采样组合(Δvt,i,Δθt,i),其中,i为1到M的正整数,M为大于1的正整数。然后对每个采样组合,使用路径规划算法在可行驶区域中根据目标搜索步长,预测得到满足阿克曼底盘模型的动力学约束的,车辆在时刻t+1的M个预测轨迹集合。In the embodiment of the present application, when local path planning is performed in a drivable area based on the state information of the vehicle at time t and the target search step, M sampling combinations (Δv t,i , Δθ t,i ) can be first determined based on the state information of the vehicle at time t, where i is a positive integer from 1 to M and M is a positive integer greater than 1. Then, for each sampling combination, a path planning algorithm is used to predict M predicted trajectory sets of the vehicle at time t+1 that meet the dynamic constraints of the Ackerman chassis model in the drivable area according to the target search step.

其中,每个预测轨迹集合中包括N个预测位置节点,每个预测位置节点对应一次搜索步长,每个预测位置节点通过节点对应的网格序号搜索得到,且每个预测位置节点对应的车辆状态信息为xt+1为车辆在时刻t+1的横坐标值,yt+1为车辆在时刻t+1的纵坐标值,vt+1为车辆在时刻t+1的速度,为车辆在时刻t+1的航向角,θt+1为车辆在时刻t+1的轮胎夹角。Among them, each predicted trajectory set includes N predicted position nodes, each predicted position node corresponds to a search step, each predicted position node is obtained by searching the grid number corresponding to the node, and the vehicle state information corresponding to each predicted position node is x t+1 is the horizontal coordinate value of the vehicle at time t+1, y t+1 is the vertical coordinate value of the vehicle at time t+1, and v t+1 is the speed of the vehicle at time t+1. is the heading angle of the vehicle at time t+1, and θ t+1 is the tire angle of the vehicle at time t+1.

需要说明的是,每个预测位置节点通过节点对应的网格序号搜索得到是指,在获取各预测轨迹中的预测位置节点时,可以首先将各预测位置节点进行网格化处理,得到节点所在网格的序号,然后根据序号在开放集合中搜索,获取各预测轨迹中,位于开放集合中的预测位置节点。It should be noted that each predicted position node is obtained by searching the grid serial number corresponding to the node, which means that when obtaining the predicted position nodes in each predicted trajectory, each predicted position node can be first gridded to obtain the serial number of the grid where the node is located, and then searched in the open set according to the serial number to obtain the predicted position nodes in each predicted trajectory that are located in the open set.

也就是说,由于各节点用车辆状态信息表示,对其进行搜索时,若逐个参数分别搜索,计算量太大效率过低,鉴于此,可以将各节点网格化,定义每一个网格的大小,例如为(0.1,0.1,0.1,0.1,0.05),然后将节点值除以该定义的大小,并对结果四舍五入即可得到当前节点所在网格的序号。接下来,使用序号在开放结合和关闭集合中进行查找,即可大幅降低计算量,提高查找效率。That is to say, since each node uses vehicle status information It means that when searching for it, if we search for each parameter separately, the calculation amount is too large and the efficiency is too low. In view of this, we can grid each node and define each grid The size of is defined as (0.1, 0.1, 0.1, 0.1, 0.05), and then the node value is divided by the defined size and the result is rounded to get the sequence number of the grid where the current node is located. Next, the sequence number is used to search in the open combination and closed set, which can greatly reduce the amount of calculation and improve the search efficiency.

图5是本申请实施例提供的阿克曼底盘模型示意图。如图5所示,其中车辆左轮和右轮的轴距用2d表示,前轮和后轮的轴距用l表示,车辆轮胎夹角θ表示,车辆转弯的半径用R表示。Fig. 5 is a schematic diagram of the Ackerman chassis model provided by an embodiment of the present application. As shown in Fig. 5, the wheelbase of the left and right wheels of the vehicle is represented by 2d, the wheelbase of the front and rear wheels is represented by l, the vehicle tire angle θ is represented, and the radius of the vehicle turning is represented by R.

本申请实施例中,每个预测位置节点对应的车辆状态信息 可以采用如下方式确定:In the embodiment of the present application, the vehicle status information corresponding to each predicted location node It can be determined as follows:

其中,n为大于0且小于N的正整数。Wherein, n is a positive integer greater than 0 and less than N.

图6是本申请实施例提供的基于第二时间预测价值地图自预测轨迹集合中确定目标轨迹的方法的流程示意图。如图6所示,该方法包括如下步骤:FIG6 is a flow chart of a method for determining a target trajectory from a set of predicted trajectories based on a second time predicted value map provided by an embodiment of the present application. As shown in FIG6 , the method includes the following steps:

在步骤S601中,基于第二时间预测价值地图生成评价函数。In step S601, an evaluation function is generated based on the second time prediction value map.

在步骤S602中,使用评价函数计算预测轨迹集合中各预测位置节点的代价值。In step S602, the cost value of each predicted position node in the predicted trajectory set is calculated using an evaluation function.

在步骤S603中,将每一预测轨迹中各预测位置节点的代价值之和确定为各预测轨迹的代价值。In step S603, the sum of the cost values of the predicted position nodes in each predicted trajectory is determined as the cost value of each predicted trajectory.

在步骤S604中,确定代价值最小的预测轨迹为目标轨迹。In step S604, the predicted trajectory with the minimum cost is determined as the target trajectory.

本申请实施例中,在基于第二时间预测价值地图自预测轨迹集合中确定目标轨迹时,可以首先基于第二时间预测价值地图生成评价函数。然后使用评价函数计算预测轨迹集合中位于开放集合中的各预测位置节点的代价值。接下来将每一预测轨迹中位于开放集合中的各预测位置节点的代价值之和确定为各预测轨迹的代价值。最后确定代价值最小的预测轨迹为目标轨迹。In the embodiment of the present application, when determining the target trajectory from the predicted trajectory set based on the second time predicted value map, an evaluation function can be first generated based on the second time predicted value map. Then, the evaluation function is used to calculate the cost value of each predicted position node in the predicted trajectory set that is located in the open set. Next, the sum of the cost values of each predicted position node in the open set in each predicted trajectory is determined as the cost value of each predicted trajectory. Finally, the predicted trajectory with the smallest cost value is determined as the target trajectory.

本申请实施例中,评价函数包括第一评价项和第二评价项。其中,第一评价项为车辆自起始时刻的位置至车辆在时刻t的位置的代价值,与车辆自车辆在时刻t的位置至待评价预测位置节点的代价值之和。第二评价项为车辆自待评价预测位置节点至目标节点的预估代价,目标节点为待评价预测位置节点所在的预测轨迹中的终点位置。In the embodiment of the present application, the evaluation function includes a first evaluation item and a second evaluation item. The first evaluation item is the sum of the cost of the vehicle from the position of the vehicle at the starting time to the position of the vehicle at time t and the cost of the vehicle from the position of the vehicle at time t to the predicted position node to be evaluated. The second evaluation item is the estimated cost of the vehicle from the predicted position node to be evaluated to the target node, and the target node is the terminal position in the predicted trajectory where the predicted position node to be evaluated is located.

也就是说,评价函数例如可以是f(t+1),且f(t+1)=g(t+1)+h(t+1),其中,g(t+1)为第一评价项,g(t)表示车辆自起始时刻的位置至车辆在时刻t的位置的代价值,表示车辆自车辆在时刻t的位置至待评价预测位置节点的代价值;其中,k1、k2和k3为权重值,可以根据实际需要设置,d(x,y)为距离代价,V(v)为速度代价,为航向代价。d(x,y)越接近0,k2和k3越大。That is to say, the evaluation function may be, for example, f(t+1), and f(t+1)=g(t+1)+h(t+1), where g(t+1) is the first evaluation item. g(t) represents the cost of the vehicle from its starting position to its position at time t. represents the cost value of the vehicle from the position of the vehicle at time t to the predicted position node to be evaluated; Among them, k 1 , k 2 and k 3 are weight values, which can be set according to actual needs, d(x,y) is the distance cost, V(v) is the speed cost, is the heading cost. The closer d(x,y) is to 0, the larger k 2 and k 3 are.

进一步的,使用评价函数计算预测轨迹集合中位于开放集合中的各预测位置节点的代价值,可以是:使用评价函数计算计算待评价预测位置节点的第一评价项值;使用评价函数计算计算待评价预测位置节点的第二评价项值;将第一评价项值和第二评价项值之和作为待评价预测位置节点的代价值,待评价预测位置节点为预测轨迹集合中位于开放集合中的各预测位置节点中的任一节点。Furthermore, the cost value of each predicted position node in the prediction trajectory set that is located in the open set is calculated using an evaluation function, which can be: using the evaluation function to calculate a first evaluation item value of the predicted position node to be evaluated; using the evaluation function to calculate a second evaluation item value of the predicted position node to be evaluated; taking the sum of the first evaluation item value and the second evaluation item value as the cost value of the predicted position node to be evaluated, and the predicted position node to be evaluated is any node among the predicted position nodes in the prediction trajectory set that are located in the open set.

本申请实施例中,在使用评价函数计算预测轨迹集合中位于开放集合中的各预测位置节点的代价值后,若待评价预测位置节点的第一评价项大于或者等于区域上限值,则可以将该待评价预测位置节点加入关闭集合,并丢弃待评价预测位置节点所在的预测轨迹,或者重新生成待评价预测位置节点所在的预测轨迹。反之,若待评价预测位置节点的第一评价项小于区域上限值,将待评价预测位置节点加入开放集合,并在待评价预测位置节点中添加时刻t+1的时间属性。In the embodiment of the present application, after using the evaluation function to calculate the cost value of each predicted location node in the open set in the predicted trajectory set, if the first evaluation item of the predicted location node to be evaluated is greater than or equal to the regional upper limit value, the predicted location node to be evaluated can be added to the closed set, and the predicted trajectory where the predicted location node to be evaluated is located is discarded, or the predicted trajectory where the predicted location node to be evaluated is located is regenerated. Conversely, if the first evaluation item of the predicted location node to be evaluated is less than the regional upper limit value, the predicted location node to be evaluated is added to the open set, and the time attribute of time t+1 is added to the predicted location node to be evaluated.

本申请实施例中,开放集合中,各节点均包含信息素。进一步的,在将待评价预测位置节点加入关闭集合后,还可以确定加入关闭集合的待评价预测位置节点的目标信息素;然后将开放集合中,与加入关闭集合的待评价预测位置节点的距离小于预设距离阈值的各节点的信息素减去目标信息素,并将车辆在时刻t的位置对应的节点增加目标信息素。In the embodiment of the present application, each node in the open set contains pheromones. Further, after adding the predicted position node to be evaluated to the closed set, the target pheromone of the predicted position node to be evaluated added to the closed set can also be determined; then, the pheromone of each node in the open set whose distance to the predicted position node to be evaluated added to the closed set is less than a preset distance threshold is subtracted from the target pheromone, and the node corresponding to the position of the vehicle at time t is increased by the target pheromone.

本申请实施例中,第二评价项值至少由车辆自所述待评价预测位置节点至目标节点的距离预估代价、速度预估代价和航向预估代价的加权求和得到。In an embodiment of the present application, the second evaluation item value is obtained by at least weighted summing up the distance estimated cost, speed estimated cost and heading estimated cost of the vehicle from the predicted position node to be evaluated to the target node.

图7是本申请实施例提供的另一种路径优化方法的流程示意图。如图7所示,可以首先对高精度地图进行栅格化处理,划分区域得到第一时间预测价值地图;然后利用轨迹预测模块预测得到的交通参与者的预测轨迹,对第一时间预测价值地图进行更新,得到第二时间预测价值地图,然后通过决策模块确定可行驶区域及短时目标节点,通过局部路径规划算法结合第二时间预测价值地图,预测得到车辆从时刻t到时刻t+1的最优路径。FIG7 is a flow chart of another path optimization method provided by an embodiment of the present application. As shown in FIG7, the high-precision map can be firstly rasterized and the region can be divided to obtain the first-time predicted value map; then the predicted trajectory of the traffic participant predicted by the trajectory prediction module is used to update the first-time predicted value map to obtain the second-time predicted value map, and then the drivable area and short-term target node are determined by the decision module, and the optimal path of the vehicle from time t to time t+1 is predicted by combining the local path planning algorithm with the second-time predicted value map.

也就是说,可以利用决策模块确定可行驶区域与短时目标节点,并利用轨迹规划模块可行驶区域中计算轨迹。为了使计算得到的轨迹具有更高的舒适性同时降低计算量,可以设置预设搜索步长为ΔT,首先在开放集合中获取最优搜索节点,假设最优节点的从开始时间到当前时间为t,将步长平均分成n份,一份为Δt,那么ΔT=n*Δt,搜索空间为Δt时间内速度与方向盘转角的变化量M个(Δv,Δθ)。对应每个采样组合,得到对应的第i+1时刻的车辆状态至少包括车辆速度作为vt+1,车辆轮胎夹角作为θt+1,会生成N个轨迹点,计算第t+1时刻的车辆位置、车辆航向作为其中x和y为位置,φ为车辆航向,同时考虑阿克曼底盘车辆动力学约束That is to say, the decision-making module can be used to determine the drivable area and the short-term target node, and the trajectory planning module can be used to calculate the trajectory in the drivable area. In order to make the calculated trajectory more comfortable and reduce the amount of calculation, the preset search step size can be set to ΔT. First, the optimal search node is obtained in the open set. Assuming that the time from the start time to the current time of the optimal node is t, the step size is evenly divided into n parts, one part is Δt, then ΔT=n*Δt, and the search space is the M changes in speed and steering wheel angle within Δt (Δv, Δθ). For each sampling combination, the corresponding vehicle state at the i+1th moment is obtained, including at least the vehicle speed as v t+1 and the vehicle tire angle as θ t+1 . N trajectory points will be generated, and the vehicle position and vehicle heading at the t+1th moment are calculated as Where x and y are the positions, φ is the vehicle heading, and the Ackerman chassis vehicle dynamics constraints are considered.

其中n∈整数(0,N)。t时刻与t+1时刻会产生M个节点,遍历在t+1时刻的M个节点,确定其在关闭集合中是否存在。在一些实施方式中,为了方便在关闭集合与开放集合中查找,可以将网格化,得到当前节点所在网格的序号,然后使用该序号查找节点。接下来根据评价函数计算每个节点的代价,评价函数为f(t+1)=g(t+1)+h(t+1),f(t+1)是从起始节点通过t+1时刻某个节点到达目标节点的估计代价。g(t+1)是从起始节点到t+1时刻某个节点的实际代价,表示为从起始点到当前节点所经过的路径轨迹综合代价, 表示为从t时刻到t+1时刻到当前节点的代价,其中在t时刻的第二预测价值地图中轨迹点矩形框穿过或者到达大于区域上限值H的栅格时,该节点进入关闭集合,否则进入开放集合且在节点中加入t+1时间属性,同时引入信息素加速搜索。h(t+1)是从t时刻某个节点到目标节点的估计代价,表示为x、y、v和的总和代价,例如 Where n∈integer (0,N). M nodes are generated at time t and time t+1. The M nodes at time t+1 are traversed to determine whether they are in the closed set. In some embodiments, in order to facilitate searching in the closed set and the open set, Gridding, get the number of the grid where the current node is located, and then use the number to find the node. Next, calculate the cost of each node according to the evaluation function. The evaluation function is f(t+1)=g(t+1)+h(t+1). f(t+1) is the estimated cost of reaching the target node from the starting node through a node at time t+1. g(t+1) is the actual cost from the starting node to a node at time t+1, expressed as the comprehensive cost of the path trajectory from the starting point to the current node. It is expressed as the cost from time t to time t+1 to the current node. When the trajectory point rectangle in the second predicted value map at time t passes through or reaches a grid greater than the upper limit value H of the region, the node enters the closed set, otherwise it enters the open set and adds the t+1 time attribute to the node, and introduces pheromone to accelerate the search. h(t+1) is the estimated cost from a node at time t to the target node, expressed as x, y, v and The total cost, for example

采用本申请实施例的技术方案,通过高精度地图要素分等级区分可行驶区域生成第一价值地图,预测目标轨迹并复用第一价值地图,生成第二价值地图时间序列,根据决策信号决定可行驶区域阈值,多次复用第二价值地图时间序列,修改A*中的搜索空间与采样空间以及代价函数,同时加入信息素,生成快速、低算力生成舒适平滑的轨迹。由于在地图中加入了车道拓扑关系约束、交通规则约束和异常情况约束,使得本申请实施例的技术方案能够适用更多的情况,更符合现实情况;通过复用第一价值地图减低了计算量;通过加入信息素,提高了搜索速度;通过将采样空间变为单位时间速度与方向转角变化量,节点之间加入轨迹点,使得优化后的轨迹更为平滑,提高了路径优化效果。The technical solution of the embodiment of the present application is adopted, and the first value map is generated by hierarchically distinguishing the drivable areas through high-precision map elements, predicting the target trajectory and reusing the first value map, generating the second value map time series, determining the drivable area threshold according to the decision signal, reusing the second value map time series multiple times, modifying the search space and sampling space and cost function in A*, and adding pheromones at the same time, generating fast, low-computing power and comfortable and smooth trajectories. Since the lane topology constraints, traffic rules constraints and abnormal situation constraints are added to the map, the technical solution of the embodiment of the present application can be applied to more situations and is more in line with the actual situation; the amount of calculation is reduced by reusing the first value map; the search speed is improved by adding pheromones; by converting the sampling space into the unit time speed and direction angle change, trajectory points are added between nodes, so that the optimized trajectory is smoother and the path optimization effect is improved.

上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

图8是本申请实施例提供的一种路径优化装置的示意图。如图8所示,该装置包括:FIG8 is a schematic diagram of a path optimization device provided in an embodiment of the present application. As shown in FIG8 , the device includes:

获取模块801,被配置为获取车辆本次行驶的导航路线地图和障碍物信息,障碍物为导航路线中的障碍物,障碍物信息至少包括静态障碍物的位置信息和属性信息,以及动态障碍物的预测轨迹。The acquisition module 801 is configured to acquire the navigation route map and obstacle information of the vehicle's current travel, where the obstacle is an obstacle in the navigation route. The obstacle information includes at least the location information and attribute information of static obstacles, and the predicted trajectory of dynamic obstacles.

第一地图生成模块802,被配置为对导航路线地图进行栅格化处理,并基于静态障碍物的位置信息和属性信息对各栅格进行赋值,得到第一时间预测价值地图。The first map generation module 802 is configured to perform rasterization processing on the navigation route map, and assign values to each grid based on the location information and attribute information of the static obstacles to obtain a first-time predicted value map.

第二地图生成模块803,被配置为基于动态障碍物的预测轨迹更新第一时间预测价值地图,得到第二时间预测价值地图,其中,第一时间预测价值地图和第二时间预测价值地图用于表示不同时刻下车辆距离障碍物的远近程度。The second map generation module 803 is configured to update the first-time predicted value map based on the predicted trajectory of the dynamic obstacle to obtain a second-time predicted value map, wherein the first-time predicted value map and the second-time predicted value map are used to indicate the distance between the vehicle and the obstacle at different times.

确定模块804,被配置为基于第二时间预测价值地图确定车辆自时刻t至时刻t+1的可行驶区域。The determination module 804 is configured to determine a drivable area of the vehicle from time t to time t+1 based on the second time prediction value map.

规划模块805,被配置为获取车辆在时刻t的状态信息和目标搜索步长,基于车辆在时刻t的状态信息和目标搜索步长,根据阿克曼底盘模型的动力学约束进行局部路径规划,得到车辆从时刻t到时刻t+1的预测轨迹集合,其中,t大于0且小于车辆本次行驶总时间。The planning module 805 is configured to obtain the state information of the vehicle at time t and the target search step length, and perform local path planning based on the state information of the vehicle at time t and the target search step length according to the dynamic constraints of the Ackerman chassis model to obtain a set of predicted trajectories of the vehicle from time t to time t+1, where t is greater than 0 and less than the total driving time of the vehicle.

优化模块806,被配置为基于第二时间预测价值地图自预测轨迹集合中确定目标轨迹,将目标轨迹作为车辆自时刻t至时刻t+1的优化路径。The optimization module 806 is configured to determine a target trajectory from the set of predicted trajectories based on the second time prediction value map, and use the target trajectory as an optimized path of the vehicle from time t to time t+1.

根据本申请实施例提供的技术方案,通过获取车辆本次行驶的导航路线地图和障碍物信息,基于障碍物信息中的静态障碍物信息对导航路线地图进行栅格化处理得到第一时间预测价值地图,并对障碍物信息中的动态障碍物信息对第一时间预测价值地图进行更新得到第二时间预测价值地图,使用局部路径规划算法得到车辆从时刻t到时刻t+1满足阿克曼底盘模型的动力学约束的预测轨迹集合,并使用第二时间预测价值地图自该预测轨迹集合中确定目标轨迹,将该目标轨迹作为车辆自时刻t至时刻t+1的优化路径,丰富了局部路径规划时的约束条件,且通过一次计算即可得到平滑的轨迹,提高了路径优化效率,并且优化后的路径减少了来回摆动的可能性,提高了车辆驾驶的舒适性,提升了用户体验。According to the technical solution provided in the embodiment of the present application, by obtaining the navigation route map and obstacle information of the vehicle's current travel, the navigation route map is rasterized based on the static obstacle information in the obstacle information to obtain a first-time predicted value map, and the first-time predicted value map is updated based on the dynamic obstacle information in the obstacle information to obtain a second-time predicted value map, and a local path planning algorithm is used to obtain a set of predicted trajectories of the vehicle from time t to time t+1 that satisfy the dynamic constraints of the Ackerman chassis model, and the second-time predicted value map is used to determine the target trajectory from the predicted trajectory set, and the target trajectory is used as the optimized path of the vehicle from time t to time t+1, thereby enriching the constraints during local path planning, and a smooth trajectory can be obtained through one calculation, thereby improving the efficiency of path optimization, and the optimized path reduces the possibility of swinging back and forth, thereby improving the driving comfort of the vehicle and enhancing the user experience.

本申请实施例中,静态障碍物的属性信息至少包括:静态障碍物的类型信息和静态障碍物的通行条件信息;第一时间预测价值地图中,栅格值与该栅格中包括的静态障碍物的允许通行程度负相关;其中,各栅格中包括的静态障碍物的允许通行程度,采用如下方式确定:响应于确定静态障碍物为碰撞类型障碍物,确定静态障碍物的允许通行程度为第一取值;响应于确定静态障碍物为允许临时通行障碍物,确定静态障碍物的允许通行程度为第二取值;响应于确定静态障碍物为允许有条件通行障碍物,确定静态障碍物的允许通行程度为第三取值;响应于确定静态障碍物为正常行驶时无需占用障碍物,确定静态障碍物的允许通行程度为第四取值;响应于确定静态障碍物为允许通行障碍物,确定静态障碍物的允许通行程度为第五取值;其中,第一取值小于第二取值,第二取值小于第三取值,第三取值小于第四取值,且第四取值小于第五取值。In an embodiment of the present application, the attribute information of the static obstacle includes at least: type information of the static obstacle and passage condition information of the static obstacle; in the first time predicted value map, the grid value is negatively correlated with the allowed passage degree of the static obstacle included in the grid; wherein the allowed passage degree of the static obstacle included in each grid is determined in the following manner: in response to determining that the static obstacle is a collision type obstacle, determining the allowed passage degree of the static obstacle to be a first value; in response to determining that the static obstacle is an obstacle that allows temporary passage, determining the allowed passage degree of the static obstacle to be a second value; in response to determining that the static obstacle is an obstacle that allows conditional passage, determining the allowed passage degree of the static obstacle to be a third value; in response to determining that the static obstacle is an obstacle that does not need to be occupied during normal driving, determining the allowed passage degree of the static obstacle to be a fourth value; in response to determining that the static obstacle is an obstacle that allows passage, determining the allowed passage degree of the static obstacle to be a fifth value; wherein the first value is less than the second value, the second value is less than the third value, the third value is less than the fourth value, and the fourth value is less than the fifth value.

本申请实施例中,第二时间预测价值地图为时间序列地图;基于动态障碍物的预测轨迹更新第一时间预测价值地图,得到第二时间预测价值地图,包括:获取动态障碍物在时刻t的目标预测位置;基于动态障碍物在时刻t的速度、时刻t的路况信息以及时刻t的天气信息计算动态障碍物在时刻t的可能碰撞区域;在第一时间预测价值地图中,将目标预测位置处的栅格值更新为最大值,将可能碰撞区域中的栅格值更新为次大值,得到第二时间预测价值地图。In an embodiment of the present application, the second time prediction value map is a time series map; the first time prediction value map is updated based on the predicted trajectory of the dynamic obstacle to obtain the second time prediction value map, including: obtaining the target prediction position of the dynamic obstacle at time t; calculating the possible collision area of the dynamic obstacle at time t based on the speed of the dynamic obstacle at time t, the road condition information at time t, and the weather information at time t; in the first time prediction value map, the grid value at the target prediction position is updated to the maximum value, and the grid value in the possible collision area is updated to the second largest value to obtain the second time prediction value map.

本申请实施例中,在确定车辆的可行驶区域之前,方法还包括:设置区域上限值,区域上限值用于表示车辆可行驶区域中各栅格的最大值;设置开放集合和关闭集合,开放集合为路径规划时可能会经过的栅格对应的节点,关闭集合为路径规划时不会经过的栅格和已经加入优化后的路径的栅格对应的节点;基于第二时间预测价值地图确定车辆自时刻t至时刻t+1的可行驶区域,包括:根据时刻t和时刻t+1的第二时间预测价值地图确定车辆自时刻t至时刻t+1的目标开放集合;确定目标开放集合中,节点对应栅格的栅格值小于区域上限值的栅格组成的区域,为车辆自时刻t至时刻t+1的可行驶区域。In an embodiment of the present application, before determining the vehicle's drivable area, the method also includes: setting an area upper limit value, the area upper limit value is used to represent the maximum value of each grid in the vehicle's drivable area; setting an open set and a closed set, the open set is the nodes corresponding to the grids that may be passed during path planning, and the closed set is the nodes corresponding to the grids that will not be passed during path planning and the grids that have been added to the optimized path; determining the vehicle's drivable area from time t to time t+1 based on the second time predicted value map, including: determining the target open set of the vehicle from time t to time t+1 according to the second time predicted value map at time t and time t+1; determining the area composed of grids whose grid values corresponding to the nodes in the target open set are less than the area upper limit value, which is the drivable area of the vehicle from time t to time t+1.

本申请实施例中,车辆在时刻t的状态信息为其中,xt为车辆在时刻t的横坐标值,yt为车辆在时刻t的纵坐标值,vt为车辆在时刻t的速度,为车辆在时刻t的航向角,θt为车辆在时刻t的轮胎夹角;目标搜索步长为Δt,Δt=ΔT/N,ΔT为预设搜索步长,N表示自时刻t至时刻t+1的采样数,N为大于1的正整数;阿克曼底盘模型的动力学约束包括对车辆速度和车辆轮胎夹角的约束。In the embodiment of the present application, the state information of the vehicle at time t is: Where xt is the horizontal coordinate value of the vehicle at time t, yt is the vertical coordinate value of the vehicle at time t, and vt is the speed of the vehicle at time t. is the heading angle of the vehicle at time t, θt is the tire angle of the vehicle at time t; the target search step is Δt, Δt=ΔT/N, ΔT is the preset search step, N represents the number of samples from time t to time t+1, and N is a positive integer greater than 1; the dynamic constraints of the Ackerman chassis model include constraints on vehicle speed and vehicle tire angle.

本申请实施例中,基于车辆在时刻t的状态信息和目标搜索步长,在可行驶区域中进行局部路径规划,包括:基于车辆在时刻t的状态信息,确定M个采样组合(Δvt,i,Δθt,i),i为1到M的正整数,M为大于1的正整数;对每个采样组合,使用路径规划算法在可行驶区域中根据目标搜索步长,预测得到满足阿克曼底盘模型的动力学约束的,车辆在时刻t+1的M个预测轨迹集合;其中,每个预测轨迹集合中包括N个预测位置节点,每个预测位置节点对应一次搜索步长,每个预测位置节点通过节点对应的网格序号搜索得到,且每个预测位置节点对应的车辆状态信息为xt+1为车辆在时刻t+1的横坐标值,yt+1为车辆在时刻t+1的纵坐标值,vt+1为车辆在时刻t+1的速度,为车辆在时刻t+1的航向角,θt+1为车辆在时刻t+1的轮胎夹角。In an embodiment of the present application, local path planning is performed in a drivable area based on the state information of the vehicle at time t and the target search step length, including: based on the state information of the vehicle at time t, M sampling combinations (Δv t,i , Δθ t,i ) are determined, where i is a positive integer from 1 to M, and M is a positive integer greater than 1; for each sampling combination, a path planning algorithm is used to predict M predicted trajectory sets of the vehicle at time t+1 that satisfy the dynamic constraints of the Ackerman chassis model in the drivable area according to the target search step length; wherein each predicted trajectory set includes N predicted position nodes, each predicted position node corresponds to a search step length, each predicted position node is obtained by searching the grid sequence number corresponding to the node, and the vehicle state information corresponding to each predicted position node is x t+1 is the horizontal coordinate value of the vehicle at time t+1, y t+1 is the vertical coordinate value of the vehicle at time t+1, and v t+1 is the speed of the vehicle at time t+1. is the heading angle of the vehicle at time t+1, and θ t+1 is the tire angle of the vehicle at time t+1.

本申请实施例中,每个预测位置节点对应的车辆状态信息 采用如下方式确定:其中,n为大于0且小于N的正整数。In the embodiment of the present application, the vehicle status information corresponding to each predicted location node Determined in the following way: Wherein, n is a positive integer greater than 0 and less than N.

本申请实施例中,基于第二时间预测价值地图自预测轨迹集合中确定目标轨迹,包括:基于第二时间预测价值地图生成评价函数;使用评价函数计算预测轨迹集合中各预测位置节点的代价值;将每一预测轨迹中各预测位置节点的代价值之和确定为各预测轨迹的代价值;确定代价值最小的预测轨迹为目标轨迹。In an embodiment of the present application, a target trajectory is determined from a set of predicted trajectories based on a second time predicted value map, including: generating an evaluation function based on the second time predicted value map; using the evaluation function to calculate a cost value of each predicted position node in the set of predicted trajectories; determining the sum of the cost values of each predicted position node in each predicted trajectory as the cost value of each predicted trajectory; and determining the predicted trajectory with the smallest cost value as the target trajectory.

本申请实施例中,评价函数包括第一评价项和第二评价项;第一评价项为车辆自起始时刻的位置至车辆在时刻t的位置的代价值,与车辆自车辆在时刻t的位置至待评价预测位置节点的代价值之和;第二评价项为车辆自待评价预测位置节点至目标节点的预估代价,目标节点为待评价预测位置节点所在的预测轨迹中的终点位置;使用评价函数计算预测轨迹集合中各预测位置节点的代价值,包括:使用评价函数计算计算待评价预测位置节点的第一评价项值;使用评价函数计算计算待评价预测位置节点的第二评价项值;将第一评价项值和第二评价项值之和作为待评价预测位置节点的代价值,待评价预测位置节点为预测轨迹集合中各预测位置节点中的任一节点。In an embodiment of the present application, the evaluation function includes a first evaluation item and a second evaluation item; the first evaluation item is the sum of the cost of the vehicle from the position of the vehicle at the starting moment to the position of the vehicle at time t, and the cost of the vehicle from the position of the vehicle at time t to the predicted position node to be evaluated; the second evaluation item is the estimated cost of the vehicle from the predicted position node to be evaluated to the target node, and the target node is the end position in the predicted trajectory where the predicted position node to be evaluated is located; the evaluation function is used to calculate the cost of each predicted position node in the predicted trajectory set, including: using the evaluation function to calculate the first evaluation item value of the predicted position node to be evaluated; using the evaluation function to calculate the second evaluation item value of the predicted position node to be evaluated; using the sum of the first evaluation item value and the second evaluation item value as the cost value of the predicted position node to be evaluated, and the predicted position node to be evaluated is any node among the predicted position nodes in the predicted trajectory set.

本申请实施例中,在使用评价函数计算预测轨迹集合中位于开放集合中的各预测位置节点的代价值后,方法还包括:响应于待评价预测位置节点的第一评价项大于或者等于区域上限值,将待评价预测位置节点加入关闭集合,丢弃待评价预测位置节点所在的预测轨迹,或者重新生成待评价预测位置节点所在的预测轨迹;响应于待评价预测位置节点的第一评价项小于区域上限值,将待评价预测位置节点加入开放集合,并在待评价预测位置节点中添加时刻t+1的时间属性。In an embodiment of the present application, after using the evaluation function to calculate the cost value of each predicted position node in the predicted trajectory set that is located in the open set, the method also includes: in response to the first evaluation item of the predicted position node to be evaluated being greater than or equal to the regional upper limit value, adding the predicted position node to be evaluated to the closed set, discarding the predicted trajectory where the predicted position node to be evaluated is located, or regenerating the predicted trajectory where the predicted position node to be evaluated is located; in response to the first evaluation item of the predicted position node to be evaluated being less than the regional upper limit value, adding the predicted position node to be evaluated to the open set, and adding a time attribute of time t+1 in the predicted position node to be evaluated.

本申请实施例中,开放集合中,各节点包含信息素;在将待评价预测位置节点加入关闭集合后,方法还包括:确定加入关闭集合的待评价预测位置节点的目标信息素;将开放集合中,与加入关闭集合的待评价预测位置节点的距离小于预设距离阈值的各节点的信息素减去目标信息素,并将车辆在时刻t的位置对应的节点增加目标信息素。In an embodiment of the present application, in the open set, each node contains pheromone; after the predicted position node to be evaluated is added to the closed set, the method also includes: determining the target pheromone of the predicted position node to be evaluated added to the closed set; subtracting the target pheromone from the pheromone of each node in the open set whose distance to the predicted position node to be evaluated added to the closed set is less than a preset distance threshold, and adding the target pheromone to the node corresponding to the vehicle's position at time t.

本申请实施例中,第二评价项值至少由车辆自待评价预测位置节点至目标节点的距离预估代价、速度预估代价和航向预估代价的加权求和得到。In an embodiment of the present application, the second evaluation item value is obtained by at least weighted summing up the distance estimated cost, speed estimated cost and heading estimated cost of the vehicle from the predicted position node to be evaluated to the target node.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

图9是本申请实施例提供的电子设备的示意图。如图9所示,该实施例的电子设备9包括:处理器901、存储器902以及存储在该存储器902中并且可在处理器901上运行的计算机程序903。处理器901执行计算机程序903时实现上述各个方法实施例中的步骤。或者,处理器901执行计算机程序903时实现上述各装置实施例中各模块/单元的功能。FIG9 is a schematic diagram of an electronic device provided in an embodiment of the present application. As shown in FIG9 , the electronic device 9 of this embodiment includes: a processor 901, a memory 902, and a computer program 903 stored in the memory 902 and executable on the processor 901. When the processor 901 executes the computer program 903, the steps in the above-mentioned various method embodiments are implemented. Alternatively, when the processor 901 executes the computer program 903, the functions of each module/unit in the above-mentioned various device embodiments are implemented.

电子设备9可以是桌上型计算机、笔记本、掌上电脑及云端服务器等电子设备。电子设备9可以包括但不仅限于处理器901和存储器902。本领域技术人员可以理解,图9仅仅是电子设备9的示例,并不构成对电子设备9的限定,可以包括比图示更多或更少的部件,或者不同的部件。The electronic device 9 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 9 may include, but is not limited to, a processor 901 and a memory 902. Those skilled in the art will appreciate that FIG. 9 is merely an example of the electronic device 9 and does not limit the electronic device 9, and may include more or fewer components than shown in the figure, or different components.

处理器901可以是中央处理单元(Central Processing Unit,CPU),也可以是其它通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。The processor 901 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

存储器902可以是电子设备9的内部存储单元,例如,电子设备9的硬盘或内存。存储器902也可以是电子设备9的外部存储设备,例如,电子设备9上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。存储器902还可以既包括电子设备9的内部存储单元也包括外部存储设备。存储器902用于存储计算机程序以及电子设备所需的其它程序和数据。The memory 902 may be an internal storage unit of the electronic device 9, for example, a hard disk or memory of the electronic device 9. The memory 902 may also be an external storage device of the electronic device 9, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 9. The memory 902 may also include both an internal storage unit of the electronic device 9 and an external storage device. The memory 902 is used to store computer programs and other programs and data required by the electronic device.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,计算机程序可以存储在计算机可读存储介质中,该计算机程序在被处理器执行时,可以实现上述各个方法实施例的步骤。计算机程序可以包括计算机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读介质可以包括:能够携带计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号、电信信号以及软件分发介质等。If the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims (14)

1. A method for path optimization, the method for optimizing a vehicle navigation path, the method comprising:
Acquiring a navigation route map and obstacle information of the current running of the vehicle, wherein the obstacle is an obstacle in the navigation route, and the obstacle information at least comprises position information and attribute information of a static obstacle and a predicted track of a dynamic obstacle;
Performing rasterization processing on the navigation route map, and assigning a value to each grid based on the position information and the attribute information of the static obstacle to obtain a first time prediction value map;
Updating the first time prediction value map based on the prediction track of the dynamic obstacle to obtain a second time prediction value map, wherein the first time prediction value map and the second time prediction value map are used for representing the distance degree between the vehicle and the obstacle at different moments;
determining a drivable area of the vehicle from time t to time t+1 based on the second time predictive value map;
Acquiring state information and a target search step length of a vehicle at a moment t, and carrying out local path planning in the drivable area based on the state information and the target search step length of the vehicle at the moment t to obtain a predicted track set of the vehicle conforming to the dynamic constraint of the Ackerman chassis model from the moment t to a moment t+1, wherein t is more than 0 and less than the total running time of the vehicle;
Determining a target track from the predicted track set based on the second time prediction value map, and taking the target track as an optimized path of the vehicle from time t to time t+1;
wherein, the attribute information of the static obstacle at least comprises: type information of static obstacles and traffic condition information of the static obstacles;
in the first time prediction value map, a grid value is inversely related to the allowable passing degree of static obstacles included in the grid;
The allowable passing degree of the static barriers included in each grid is determined by the following mode:
in response to determining that a static obstacle is a collision type obstacle, determining that the allowable passing degree of the static obstacle is a first value;
in response to determining that a static obstacle is an allowed temporary pass obstacle, determining that an allowed pass degree of the static obstacle is a second value;
In response to determining that a static obstacle is a conditional access allowable obstacle, determining that the level of access allowable for the static obstacle is a third value;
In response to determining that the static obstacle does not need to occupy the obstacle when the vehicle is running normally, determining that the allowable passing degree of the static obstacle is a fourth value;
In response to determining that a static obstacle is an allowed passage obstacle, determining that an allowed passage degree of the static obstacle is a fifth value;
The first value is smaller than the second value, the second value is smaller than the third value, the third value is smaller than the fourth value, and the fourth value is smaller than the fifth value.
2. The method of claim 1, wherein the second time-predictive value map is a time-series map;
The updating the first time prediction value map based on the prediction track of the dynamic obstacle to obtain a second time prediction value map comprises the following steps:
acquiring a target predicted position of the dynamic obstacle at a time t;
Calculating a possible collision area of the dynamic obstacle at the moment t based on the speed of the dynamic obstacle at the moment t, the road condition information of the moment t and the weather information of the moment t;
And in the first time prediction value map, updating the grid value at the target prediction position to be the maximum value, and updating the grid value in the possible collision area to be the next-largest value, so as to obtain the second time prediction value map.
3. The method of claim 1, wherein prior to determining the drivable region of the vehicle, the method further comprises:
Setting an area upper limit value which is used for representing the maximum value of each grid in the vehicle running area;
Setting an open set and a closed set, wherein the open set is a node corresponding to a grid which can possibly pass through during path planning, and the closed set is a node corresponding to a grid which can not pass through during path planning and a grid which is added with an optimized path;
The determining the drivable area of the vehicle from the time t to the time t+1 based on the second time prediction value map comprises:
determining a target open set of the vehicle from the time t to the time t+1 according to the second time prediction value map of the time t and the time t+1;
And determining an area formed by grids of which the grid values of the grids corresponding to the nodes are smaller than the upper limit value of the area in the target open set as a drivable area from the moment t to the moment t+1 of the vehicle.
4. The method of claim 3, wherein the vehicle's status information at time t is (x t,yt,vt,) Where x t is the abscissa value of the vehicle at time t, y t is the ordinate value of the vehicle at time t, v t is the speed of the vehicle at time t,For the heading angle of the vehicle at time t,The tire included angle of the vehicle at the time t;
The target searching step length is deltat, deltat=deltat/N, deltat is a preset searching step length, N represents the sampling number from time T to time t+1, and N is a positive integer greater than 1;
The dynamic constraints of the ackerman chassis model include constraints on vehicle speed and vehicle tire angle.
5. The method of claim 4, wherein the performing local path planning in the drivable region based on the state information of the vehicle at time t and the target search step comprises:
based on the state information of the vehicle at the time t, M sampling combinations are determined ) I is a positive integer from 1 to M, M is a positive integer greater than 1;
Predicting each sampling combination by using a path planning algorithm according to the target search step length in the drivable area to obtain M predicted track sets of the vehicle at a time t+1, wherein the M predicted track sets meet the dynamics constraint of an Ackerman chassis model;
wherein each predicted track set comprises N predicted position nodes, each predicted position node corresponds to one search step length, each predicted position node is obtained through searching of a grid serial number corresponding to the node, vehicle state information corresponding to each predicted position node is (x t+1,yt+1,vt+1t+1t+1),xt+1 is an abscissa value of a vehicle at a time t+1, y t+1 is an ordinate value of the vehicle at the time t+1, v t+1 is a speed of the vehicle at the time t+1, For the heading angle of the vehicle at time t +1,Is the tire angle of the vehicle at time t+1.
6. The method according to claim 5, wherein the vehicle state information (x t+1,yt+1,vt+1t+1t+1) for each predicted position node is determined as follows:
Wherein N is a positive integer greater than 0 and less than N, j is a positive integer greater than or equal to 0 and less than or equal to N, and l is the wheelbase of the front and rear wheels.
7. The method of claim 5 or 6, wherein the determining a target trajectory from the set of predicted trajectories based on the second time predictive value map comprises:
generating an evaluation function based on the second time predictive value map;
calculating a cost value of each predicted position node in the predicted track set by using the evaluation function;
Determining the sum of the cost values of the prediction position nodes in each prediction track as the cost value of each prediction track;
and determining the predicted track with the minimum cost value as the target track.
8. The method of claim 7, wherein the evaluation function comprises a first evaluation term and a second evaluation term;
the first evaluation item is the sum of the cost value from the position of the vehicle at the starting moment to the position of the vehicle at the moment t and the cost value from the position of the vehicle at the moment t to the node of the predicted position to be evaluated;
the second evaluation item is the estimated cost of the vehicle from the predicted position node to be evaluated to a target node, and the target node is the end position of the predicted track where the predicted position node to be evaluated is located;
the calculating a cost value of each predicted position node in the predicted track set by using the evaluation function includes:
calculating a first evaluation item value of the predicted position node to be evaluated by using the evaluation function;
calculating a second evaluation item value of the predicted position node to be evaluated by using the evaluation function;
and taking the sum of the first evaluation item value and the second evaluation item value as a cost value of the predicted position node to be evaluated, wherein the predicted position node to be evaluated is any node in all the predicted position nodes in the predicted track set.
9. The method of claim 8, wherein after calculating the cost value for each predicted location node in the set of predicted trajectories that is in an open set using the evaluation function, the method further comprises:
Responding to the fact that a first evaluation item of the predicted position node to be evaluated is larger than or equal to the upper limit value of the area, adding the predicted position node to be evaluated into a closed set, discarding a predicted track where the predicted position node to be evaluated is located, or regenerating the predicted track where the predicted position node to be evaluated is located;
And adding the predicted position node to be evaluated into an open set in response to the first evaluation item of the predicted position node to be evaluated being smaller than the upper limit value of the area, and adding the time attribute of the time t+1 into the predicted position node to be evaluated.
10. The method of claim 9, wherein each node in the open set comprises a pheromone;
after adding the predicted location node to be evaluated to the closed set, the method further comprises:
Determining target pheromones of the to-be-evaluated predicted position nodes added into the closed set;
Subtracting the target pheromone from the pheromone of each node, which is in the open set and has a distance smaller than a preset distance threshold, of the nodes of the predicted position to be evaluated added into the closed set, and adding the target pheromone to the node corresponding to the position of the vehicle at the moment t.
11. The method of claim 8, wherein the second evaluation term value is derived from at least a weighted sum of a distance estimated cost, a speed estimated cost, and a heading estimated cost of the vehicle from the predicted location node to be evaluated to a target node.
12. A path optimization apparatus, comprising:
The system comprises an acquisition module, a prediction module and a control module, wherein the acquisition module is configured to acquire a navigation route map of the current running of a vehicle and obstacle information, wherein the obstacle is an obstacle in the navigation route, and the obstacle information at least comprises position information and attribute information of a static obstacle and a prediction track of a dynamic obstacle;
the first map generation module is configured to perform rasterization processing on the navigation route map, and assign a value to each grid based on the position information and the attribute information of the static obstacle to obtain a first time prediction value map;
A second map generation module configured to update the first time prediction value map based on the predicted track of the dynamic obstacle to obtain a second time prediction value map, wherein the first time prediction value map and the second time prediction value map are used for representing the distance degree between the vehicle and the obstacle at different moments;
A determination module configured to determine a drivable region of the vehicle from a time t to a time t+1 based on the second time predictive value map;
The planning module is configured to acquire state information of a vehicle at a time t and a target searching step length, and based on the state information of the vehicle at the time t and the target searching step length, the planning module performs local path planning according to dynamic constraints of an Ackerman chassis model to obtain a predicted track set of the vehicle from the time t to a time t+1, wherein t is greater than 0 and less than the total running time of the vehicle;
an optimization module configured to determine a target track from the predicted track set based on the second time prediction value map, and take the target track as an optimized path of the vehicle from time t to time t+1;
wherein, the attribute information of the static obstacle at least comprises: type information of static obstacles and traffic condition information of the static obstacles;
in the first time prediction value map, a grid value is inversely related to the allowable passing degree of static obstacles included in the grid;
The allowable passing degree of the static barriers included in each grid is determined by the following mode:
in response to determining that a static obstacle is a collision type obstacle, determining that the allowable passing degree of the static obstacle is a first value;
in response to determining that a static obstacle is an allowed temporary pass obstacle, determining that an allowed pass degree of the static obstacle is a second value;
In response to determining that a static obstacle is a conditional access allowable obstacle, determining that the level of access allowable for the static obstacle is a third value;
In response to determining that the static obstacle does not need to occupy the obstacle when the vehicle is running normally, determining that the allowable passing degree of the static obstacle is a fourth value;
In response to determining that a static obstacle is an allowed passage obstacle, determining that an allowed passage degree of the static obstacle is a fifth value;
The first value is smaller than the second value, the second value is smaller than the third value, the third value is smaller than the fourth value, and the fourth value is smaller than the fifth value.
13. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 11 when the computer program is executed.
14. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 11.
CN202410375439.6A 2024-03-29 2024-03-29 Path optimization method, path optimization device, electronic equipment and storage medium Active CN118209127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410375439.6A CN118209127B (en) 2024-03-29 2024-03-29 Path optimization method, path optimization device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410375439.6A CN118209127B (en) 2024-03-29 2024-03-29 Path optimization method, path optimization device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN118209127A CN118209127A (en) 2024-06-18
CN118209127B true CN118209127B (en) 2024-09-13

Family

ID=91455148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410375439.6A Active CN118209127B (en) 2024-03-29 2024-03-29 Path optimization method, path optimization device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118209127B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109927719A (en) * 2017-12-15 2019-06-25 百度在线网络技术(北京)有限公司 A kind of auxiliary driving method and system based on barrier trajectory predictions
CN114663804A (en) * 2022-03-02 2022-06-24 小米汽车科技有限公司 Driving area detection method, device, mobile equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116142230A (en) * 2022-03-18 2023-05-23 北京智行者科技股份有限公司 Speed planning method and device, control equipment, vehicle and storage medium
CN116659501A (en) * 2023-05-26 2023-08-29 重庆赛力斯新能源汽车设计院有限公司 Data processing method and device and vehicle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109927719A (en) * 2017-12-15 2019-06-25 百度在线网络技术(北京)有限公司 A kind of auxiliary driving method and system based on barrier trajectory predictions
CN114663804A (en) * 2022-03-02 2022-06-24 小米汽车科技有限公司 Driving area detection method, device, mobile equipment and storage medium

Also Published As

Publication number Publication date
CN118209127A (en) 2024-06-18

Similar Documents

Publication Publication Date Title
CN111523643B (en) Track prediction method, device, equipment and storage medium
EP4455613A1 (en) Method for guiding vehicle driving, map generation method, and related system
CN113682318B (en) Vehicle running control method and device
CN109213153B (en) Automatic vehicle driving method and electronic equipment
CN111314857B (en) Vehicle real-time travel track acquisition method based on vehicle passing video data
Hu et al. An urban traffic simulation model for traffic congestion predicting and avoiding
CN113619602B (en) Method for guiding vehicle to run, related system and storage medium
CN115876213A (en) Lane search for self-driving vehicles
CN115062202A (en) Method, device, equipment and storage medium for predicting driving behavior intention and track
WO2024222453A1 (en) Method and apparatus for determining vehicle traveling trajectory, and electronic device and storage medium
CN115892076B (en) Lane obstacle screening method and device and domain controller
CN110887503B (en) Moving track simulation method, device, equipment and medium
CN116086479A (en) Path offset planning method and device, electronic equipment and storage medium
CN116424336A (en) Track prediction method and device and Internet of vehicles equipment
CN115230688B (en) Obstacle trajectory prediction method, system, and computer-readable storage medium
CN118209127B (en) Path optimization method, path optimization device, electronic equipment and storage medium
Hegde et al. Design of AI-Based Lane Changing Models in Connected and Autonomous Vehicles: a Survey.
CN114633765A (en) Velocity decision-making method based on probability grid graph, its device and related products
CN114620071A (en) Detour trajectory planning method, device, device and storage medium
CN119879962A (en) Vehicle driving path planning method and device, electronic equipment, medium and vehicle
CN116524735A (en) A double-layer optimization control method and system for the merge area of an expressway entrance ramp
Lu Safe and efficient intersection control of connected and autonomous intersection traffic
Datta et al. Unsignalized intersection capacity estimation through traffic rule re-adjustments using agent-based cellular automata simulations
CN117831330B (en) Vehicle control method, device, equipment and medium
CN115185263B (en) A trajectory planning method and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant