[go: up one dir, main page]

CN118310536A - A path generation method and device - Google Patents

A path generation method and device Download PDF

Info

Publication number
CN118310536A
CN118310536A CN202410732681.4A CN202410732681A CN118310536A CN 118310536 A CN118310536 A CN 118310536A CN 202410732681 A CN202410732681 A CN 202410732681A CN 118310536 A CN118310536 A CN 118310536A
Authority
CN
China
Prior art keywords
point
target
path
turning
point information
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.)
Granted
Application number
CN202410732681.4A
Other languages
Chinese (zh)
Other versions
CN118310536B (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.)
Yikong Intelligent Driving Technology Co ltd
Original Assignee
Beijing Yikong Zhijia 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 Beijing Yikong Zhijia Technology Co Ltd filed Critical Beijing Yikong Zhijia Technology Co Ltd
Priority to CN202410732681.4A priority Critical patent/CN118310536B/en
Publication of CN118310536A publication Critical patent/CN118310536A/en
Application granted granted Critical
Publication of CN118310536B publication Critical patent/CN118310536B/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/20Instruments for performing navigational calculations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Mathematical Physics (AREA)
  • Evolutionary Biology (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Algebra (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Probability & Statistics with Applications (AREA)
  • Operations Research (AREA)
  • Automation & Control Theory (AREA)
  • Navigation (AREA)

Abstract

The application discloses a path generation method and device, and belongs to the field of unmanned driving. After first key point information and reversing point information are acquired, a target point is determined, then a target curve fitting strategy is determined based on the relation between the direction of the target point and the direction of the reversing point, and finally the key points corresponding to the first key point information and the reversing points are fitted according to the target curve fitting strategy, so that a target path is obtained. According to the scheme, only the key point information and the reversing point information are needed to be determined, and the target curve fitting strategy can be determined according to the relation between the direction of the target point and the direction of the reversing point, so that the target path is obtained, the acquisition path of a vehicle is not needed to be driven manually, the path generation efficiency is improved, the generated path is closer to the path planning level of manual driving, and the path generation effect is effectively improved.

Description

一种路径生成方法及装置A path generation method and device

技术领域Technical Field

本申请涉及无人驾驶技术领域,特别地,涉及一种路径生成方法及装置。The present application relates to the field of unmanned driving technology, and in particular, to a path generation method and device.

背景技术Background technique

目前,对于不存在道路划分的无道路区域的自动驾驶车辆(如矿区内的自动驾驶矿车)的路径规划方法主要有两种方式,分别是人工驾驶车辆采集路径和后端算法生成路径。然而,这两种方式在实际应用中均存在一定的不足,限制了无道路区域的自动驾驶车辆作业的高效性和连续性。At present, there are two main methods for path planning of autonomous vehicles in roadless areas where there is no road division (such as autonomous mining vehicles in mining areas), namely, manually driving vehicles to collect paths and back-end algorithms to generate paths. However, both methods have certain shortcomings in practical applications, which limit the efficiency and continuity of autonomous vehicle operations in roadless areas.

第一种方式,即人工驾驶车辆采集路径,虽然在适应装载区区域变化方面具有一定优势,但其反复的人工驾驶操作不仅耗费时间和资源,还影响了自动驾驶作业的连续性。每次无道路区域内的结构、障碍物布局或作业需求发生变化时,都需要重新进行路径采集,这大大限制了作业的灵活性和效率。The first method, that is, manually driving a vehicle to collect the path, has certain advantages in adapting to changes in the loading area, but its repeated manual driving operations not only consume time and resources, but also affect the continuity of autonomous driving operations. Every time the structure, obstacle layout or operation requirements in the roadless area change, the path needs to be collected again, which greatly limits the flexibility and efficiency of the operation.

第二种方式,即后端算法生成路径,虽然克服了人工采集路径的繁琐过程,但现有方法受算法能力的影响,生成的路径效果差,比如,在某些特殊场景中,可能生成多次折返的路径,而折返次数越多,车辆到达目的地所需的时间越长,这些问题严重影响了无道路区内作业效率,同时也威胁到生产作业的连续性。The second method, that is, generating paths by back-end algorithms, overcomes the tedious process of manually collecting paths. However, the existing method is affected by the algorithm capabilities and the generated paths are poor. For example, in some special scenarios, paths with multiple turns may be generated. The more turns there are, the longer it takes for the vehicle to reach the destination. These problems seriously affect the operating efficiency in roadless areas and also threaten the continuity of production operations.

发明内容Summary of the invention

为了克服现有技术的不足,本申请提供一种路径生成方法及装置,以解决现有生成路径的方法,要么耗费时间和资源且不灵活,要么生成的路径效果差的问题。In order to overcome the deficiencies of the prior art, the present application provides a path generation method and device to solve the problem that the existing methods for generating paths are either time-consuming and resource-intensive and inflexible, or the generated paths have poor effects.

本申请解决其技术问题所采用的技术方案是:The technical solution adopted by this application to solve its technical problem is:

一方面,提供一种路径生成方法,包括:In one aspect, a path generation method is provided, comprising:

获取第一关键点信息和换向点信息;其中,所述第一关键点信息包括起点信息和/或终点信息,所述起点信息包括起点的起点位置和起点朝向,所述换向点信息包括换向点的换向点位置和换向点朝向,所述终点信息包括终点的终点位置和终点朝向;Acquire first key point information and turning point information; wherein the first key point information includes starting point information and/or end point information, the starting point information includes a starting point position and a starting point orientation of the starting point, the turning point information includes a turning point position and a turning point orientation of the turning point, and the end point information includes an end point position and an end point orientation of the end point;

确定所述第一关键点信息相关的目标点,根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略;Determine a target point related to the first key point information, and determine a target curve fitting strategy according to a relationship between an orientation of the target point and an orientation of a reversing point corresponding to the reversing point information;

按照所述目标曲线拟合策略,对所述第一关键点信息对应的关键点和所述换向点信息对应的换向点进行拟合,得到目标路径。According to the target curve fitting strategy, the key points corresponding to the first key point information and the turning points corresponding to the turning point information are fitted to obtain a target path.

进一步地,所述根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略,包括:Further, determining a target curve fitting strategy according to a relationship between the orientation of the target point and the orientation of the reversing point corresponding to the reversing point information includes:

获取所述目标点的朝向所对应的方向和所述换向点朝向所对应的方向之间的角度差值;Obtaining an angle difference between a direction corresponding to the direction of the target point and a direction corresponding to the direction of the reversing point;

根据所述角度差值,确定所述目标曲线拟合策略。The target curve fitting strategy is determined according to the angle difference.

进一步地,所述确定所述第一关键点信息相关的目标点,包括:Further, the determining the target point related to the first key point information includes:

在所述第一关键点信息包括终点信息的情况下,确定所述第一关键点信息未包括倒车途径点;In the case where the first key point information includes the end point information, determining that the first key point information does not include a reversing waypoint;

确定所述终点信息对应的终点作为所述目标点。An end point corresponding to the end point information is determined as the target point.

进一步地,所述确定所述第一关键点信息相关的目标点,包括:Further, the determining the target point related to the first key point information includes:

在所述第一关键点信息包括起点信息的情况下,确定所述第一关键点信息包括前向途径点;In a case where the first key point information includes starting point information, determining that the first key point information includes a forward waypoint;

根据所述起点和所述前向途径点确定所述目标点。The target point is determined based on the starting point and the forward waypoint.

进一步地,所述根据所述起点和所述前向途径点确定所述目标点,包括:Further, the determining the target point according to the starting point and the forward path point comprises:

采用预设曲线连接所述起点和至少一个所述前向途径点得到引导路径;Connecting the starting point and at least one of the forward path points using a preset curve to obtain a guidance path;

在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点。At least one target sampling point is determined on the guide path, and the target point is determined according to the target sampling point.

进一步地,所述在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点,包括:Further, the determining at least one target sampling point on the guide path, and determining the target point according to the target sampling point, comprises:

确定所述引导路径上距离所述换向点最近的点,作为第一指定采样点;Determine a point on the guide path that is closest to the reversing point as a first designated sampling point;

根据所述第一指定采样点,确定所述至少一个目标采样点。The at least one target sampling point is determined according to the first designated sampling point.

进一步地,所述根据所述第一指定采样点,确定所述至少一个目标采样点包括:Further, determining the at least one target sampling point according to the first designated sampling point includes:

根据所述第一指定采样点的信息和所述换向点的信息,确定所述第一指定采样点是否满足目标自动驾驶车辆的转弯需求;Determining, according to the information of the first designated sampling point and the information of the turning point, whether the first designated sampling point meets the turning requirement of the target autonomous driving vehicle;

在满足所述目标自动驾驶车辆的转弯需求的情况下,将所述第一指定采样点作为一个目标采样点;In a case where a turning requirement of the target autonomous driving vehicle is met, taking the first designated sampling point as a target sampling point;

在不满足所述目标自动驾驶车辆的转弯需求的情况下,在所述引导路径上,将所述第一指定采样点朝着所述起点的方向移动指定距离,获得第二指定采样点,其中,所述第二指定采样点满足所述目标自动驾驶车辆的转弯需求;将所述第二指定采样点作为一个目标采样点。When the turning requirement of the target autonomous driving vehicle is not met, on the guidance path, the first designated sampling point is moved a designated distance in the direction of the starting point to obtain a second designated sampling point, wherein the second designated sampling point meets the turning requirement of the target autonomous driving vehicle; and the second designated sampling point is used as a target sampling point.

进一步地,所述在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点,包括:Further, the determining at least one target sampling point on the guide path, and determining the target point according to the target sampling point, comprises:

将所述第一指定采样点或者所述第二指定采样点作为所述目标点;或者,The first designated sampling point or the second designated sampling point is used as the target point; or,

以所述第一指定采样点或者所述第二指定采样点为目标起始点,在所述引导路径上按照指定距离间隔朝着所述起点的方向采样,得到所述至少一个目标采样点,其中,所述至少一个目标采样点包括所述第一指定采样点或者所述第二指定采样点;将各个目标采样点作为所述目标点。Taking the first designated sampling point or the second designated sampling point as a target starting point, sampling is performed on the guide path at a designated distance interval in a direction toward the starting point to obtain the at least one target sampling point, wherein the at least one target sampling point includes the first designated sampling point or the second designated sampling point; and each target sampling point is used as the target point.

进一步地,所述根据所述角度差值,确定所述目标曲线拟合策略,包括:Further, determining the target curve fitting strategy according to the angle difference includes:

在所述角度差值大于或等于第一预设角度且小于第二预设角度时,采用第四目标曲线拟合所述目标点和所述换向点;When the angle difference is greater than or equal to the first preset angle and less than the second preset angle, a fourth target curve is used to fit the target point and the reversing point;

在所述角度差值大于或等于所述第二预设角度且小于第三预设角度的情况下,采用第五目标曲线拟合所述目标点和所述换向点;When the angle difference is greater than or equal to the second preset angle and less than the third preset angle, a fifth target curve is used to fit the target point and the reversing point;

其中,所述第一预设角度小于所述第二预设角度,所述第二预设角度小于所述第三预设角度,所述第四目标曲线和所述第五目标曲线对曲率和/或曲率变化率的约束条件不同。The first preset angle is smaller than the second preset angle, the second preset angle is smaller than the third preset angle, and the fourth target curve and the fifth target curve have different constraints on curvature and/or curvature change rate.

进一步地,所述根据所述角度差值,确定所述目标曲线拟合策略,还包括:Furthermore, the step of determining the target curve fitting strategy according to the angle difference further includes:

在所述角度差值大于或等于0且小于所述第一预设角度的情况下,采用第三目标曲线拟合所述目标点和所述换向点;When the angle difference is greater than or equal to 0 and less than the first preset angle, a third target curve is used to fit the target point and the reversing point;

在所述角度差值大于或等于所述第三预设角度且小于第四预设角度的情况下,采用第六目标曲线拟合所述目标点和所述换向点;When the angle difference is greater than or equal to the third preset angle and less than the fourth preset angle, a sixth target curve is used to fit the target point and the reversing point;

其中,所述第一预设角度大于0,所述第三预设角度小于所述第四预设角度;所述第三目标曲线对曲率和曲率变化率均不做约束,所述第四目标曲线只对曲率进行约束,所述第五目标曲线只对曲率变化率进行约束,所述第六目标曲线的曲率为固定值。Among them, the first preset angle is greater than 0, the third preset angle is less than the fourth preset angle; the third target curve does not constrain the curvature and the rate of change of curvature, the fourth target curve only constrains the curvature, the fifth target curve only constrains the rate of change of curvature, and the curvature of the sixth target curve is a fixed value.

进一步地,还包括:Furthermore, it also includes:

在所述第一关键点信息包括终点信息的情况下,确定所述第一关键点信息中包括倒车途径点的信息;采用第一目标曲线拟合所述终点、所述倒车途经点和所述换向点,得到所述目标路径;或者,In the case where the first key point information includes the end point information, determining that the first key point information includes information of a reversing path point; fitting the end point, the reversing path point and the turning point with a first target curve to obtain the target path; or

在所述第一关键点信息包括起点信息的情况下,确定所述第一关键点信息中未包括前向途径点的信息;采用第二目标曲线拟合所述起点、所述前向途径点和所述换向点,得到所述目标路径。In the case where the first key point information includes the starting point information, it is determined that the first key point information does not include information of the forward path point; and a second target curve is used to fit the starting point, the forward path point and the turning point to obtain the target path.

进一步地,还包括:Furthermore, it also includes:

对所述目标路径进行平滑处理;Performing smoothing on the target path;

对所述平滑处理后的目标路径进行以下校验至少之一:第一校验处理,用于判断所述平滑处理后的目标路径是否在预设边界范围内;第二校验处理,用于判断所述平滑处理后的目标路径的终点和所述第一关键点信息中包括的终点的终点位置是否符合距离要求;第三校验处理,用于判断所述平滑处理后的目标路径的终点的朝向和所述第一关键点信息中包括的终点的终点朝向是否满足朝向要求;At least one of the following checks is performed on the target path after the smoothing process: a first check process is used to determine whether the target path after the smoothing process is within a preset boundary range; a second check process is used to determine whether the end point of the target path after the smoothing process and the end point position of the end point included in the first key point information meet the distance requirement; a third check process is used to determine whether the orientation of the end point of the target path after the smoothing process and the end point orientation of the end point included in the first key point information meet the orientation requirement;

确定通过校验的目标路径,并按照通过校验的目标路径控制目标自动驾驶车辆的行驶。A verified target path is determined, and the driving of the target autonomous driving vehicle is controlled according to the verified target path.

进一步地,所述换向点信息包括多个换向点,还包括:Furthermore, the reversing point information includes a plurality of reversing points, and further includes:

获取第一用户指令,所述第一用户指令用于指示生成第一换向点;Acquire a first user instruction, where the first user instruction is used to instruct to generate a first reversal point;

根据所述第一换向点,生成所述多个换向点,所述多个换向点包括所述第一换向点;generating the plurality of reversing points according to the first reversing point, wherein the plurality of reversing points includes the first reversing point;

按照指定顺序,针对所述多个换向点中的各个换向点所对应的目标路径进行校验,直到得到至少一个通过校验的目标路径为止。According to a specified order, the target path corresponding to each of the plurality of switching points is verified until at least one target path that passes the verification is obtained.

另一方面,提供一种路径生成装置,包括:In another aspect, a path generation device is provided, comprising:

信息获取模块,用于获取第一关键点信息和换向点信息;其中,所述第一关键点信息包括起点信息和/或终点信息,所述起点信息包括起点的起点位置和起点朝向,所述换向点信息包括换向点的换向点位置和换向点朝向,所述终点信息包括终点的终点位置和终点朝向;An information acquisition module, used to acquire first key point information and turning point information; wherein the first key point information includes starting point information and/or end point information, the starting point information includes a starting point position and a starting point orientation of the starting point, the turning point information includes a turning point position and a turning point orientation of the turning point, and the end point information includes an end point position and an end point orientation of the end point;

策略确定模块,用于确定所述第一关键点信息相关的目标点,根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略;a strategy determination module, configured to determine a target point related to the first key point information, and determine a target curve fitting strategy according to a relationship between an orientation of the target point and an orientation of a reversing point corresponding to the reversing point information;

路径拟合模块,用于按照所述目标曲线拟合策略,对所述第一关键点信息对应的关键点和所述换向点信息对应的换向点进行拟合,得到目标路径。A path fitting module is used to fit the key points corresponding to the first key point information and the turning points corresponding to the turning point information according to the target curve fitting strategy to obtain a target path.

有益效果:Beneficial effects:

本申请技术方案提供一种路径生成方法及装置,在获取第一关键点信息和换向点信息后,确定目标点,然后基于目标点的朝向和换向点朝向之间的关系,确定目标曲线拟合策略,最后根据目标曲线拟合策略对第一关键点信息对应的关键点和换向点进行拟合,得到目标路径。本申请方案只需要确定关键点信息和换向点信息后,即可根据目标点的朝向和换向点朝向之间的关系,确定目标曲线拟合策略,进而得到目标路径,无需人工驾驶车辆采集路径,提升了路径生成效率,且生成的路径更接近人工驾驶的路径规划水平,有效提升了路径生成效果。The technical solution of the present application provides a path generation method and device. After obtaining the first key point information and the turning point information, the target point is determined, and then the target curve fitting strategy is determined based on the relationship between the orientation of the target point and the orientation of the turning point. Finally, the key points and turning points corresponding to the first key point information are fitted according to the target curve fitting strategy to obtain the target path. The present application solution only needs to determine the key point information and the turning point information, and then determine the target curve fitting strategy according to the relationship between the orientation of the target point and the orientation of the turning point, and then obtain the target path. There is no need to manually drive the vehicle to collect the path, which improves the efficiency of path generation, and the generated path is closer to the path planning level of manual driving, which effectively improves the path generation effect.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 generation method provided in an embodiment of the present application;

图2本申请实施例提供的一种生成路径的示意图;FIG2 is a schematic diagram of a generation path provided in an embodiment of the present application;

图3是本申请实施例提供的一种路径生成装置结构示意图。FIG3 is a schematic diagram of the structure of a path generating device provided in an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面结合附图和实施例对本申请的技术方案进行详细的描述说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所得到的所有其它实施方式,都属于本申请所保护的范围。In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme of the present application is described in detail below in conjunction with the accompanying drawings and embodiments. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other implementation methods obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.

名词解释:Glossary:

起点:车辆开始行驶时的位置;Starting point: the position of the vehicle when it starts moving;

前向途经点:车辆向前行驶时需要经过的位置;Forward waypoint: the location that the vehicle needs to pass when driving forward;

换向点:车辆由向前行驶变为倒车的位置;Reversing point: the position where the vehicle changes from forward driving to reverse driving;

倒车途经点:车辆倒车时需要经过的位置;Reversing waypoint: the position that the vehicle needs to pass when reversing;

终点:车辆最终停止的位置。End point: The location where the vehicle finally stops.

起点朝向:从起点出发时的行驶方向;Starting direction: the direction of travel from the starting point;

换向点朝向;进入换向点的方向;Reversal point orientation; direction of entry into the reversal point;

终点朝向:进入终点的方向。Destination direction: the direction of entering the destination.

参照图1,本申请实施例提供了一种路径生成方法,包括:Referring to FIG. 1 , an embodiment of the present application provides a path generation method, including:

S11:获取第一关键点信息和换向点信息;其中,所述第一关键点信息包括起点信息和/或终点信息,所述起点信息包括起点的起点位置和起点朝向,所述换向点信息包括换向点的换向点位置和换向点朝向,所述终点信息包括终点的终点位置和终点朝向。S11: Obtain first key point information and turning point information; wherein, the first key point information includes starting point information and/or end point information, the starting point information includes the starting point position and starting point direction of the starting point, the turning point information includes the turning point position and turning point direction of the turning point, and the end point information includes the end point position and end point direction of the end point.

其中,第一关键点信息在包括起点信息时,还可以包括前向途径点;第一关键点信息在包括终点信息时,还可以包括倒车途径点,其中,前向途径点和倒车途径点可以包括位置信息和/或朝向信息。优选的,前向途径点和倒车途径点分别只包括位置信息,不包括朝向信息。Wherein, when the first key point information includes the starting point information, it may also include the forward waypoint; when the first key point information includes the end point information, it may also include the reverse waypoint, wherein the forward waypoint and the reverse waypoint may include the position information and/or the orientation information. Preferably, the forward waypoint and the reverse waypoint respectively include only the position information, but not the orientation information.

作为本申请实施例一种优选的实现方式,第一关键点信息和/或换向点信息是通过在地图平台上操作生成的,例如,操作可以是点击、拖动、选择、或者任何形式的输入等。其中,输入形式不局限于是经过其他设备的输入、用户输入等。输入内容可以是鼠标的内容录入、语音录入等。优选的,本方案可以通过用户手动控制终端来获取第一关键点信息和/或换向点信息。As a preferred implementation method of the embodiment of the present application, the first key point information and/or the reversal point information are generated by operating on the map platform, for example, the operation can be click, drag, select, or any form of input. The input form is not limited to input through other devices, user input, etc. The input content can be content input of the mouse, voice input, etc. Preferably, this solution can obtain the first key point information and/or the reversal point information by manually controlling the terminal by the user.

S12:确定所述第一关键点信息相关的目标点,根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略。S12: Determine a target point related to the first key point information, and determine a target curve fitting strategy according to a relationship between the orientation of the target point and the orientation of the turning point corresponding to the turning point information.

该步骤中,目标点可以是第一关键点信息包括的关键点任意一个或者多个,也可以是与第一关键点信息包括的关键点中的任意一个或者多个相关的其他的点。可选地,目标点包括的信息可以是目标点的位置和/或朝向。In this step, the target point may be any one or more of the key points included in the first key point information, or may be other points related to any one or more of the key points included in the first key point information. Optionally, the information included in the target point may be the position and/or orientation of the target point.

可选地,目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,可以基于以下至少之一得到:目标点的朝向和换向点朝向之间的差异;或者,目标点的朝向和换向点朝向分别与标准朝向之间的差异。优选的,目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,包括目标点的朝向和换向点朝向之间的夹角。Optionally, the relationship between the orientation of the target point and the orientation of the turning point corresponding to the turning point information can be obtained based on at least one of the following: the difference between the orientation of the target point and the orientation of the turning point; or the difference between the orientation of the target point and the orientation of the turning point and the standard orientation, respectively. Preferably, the relationship between the orientation of the target point and the orientation of the turning point corresponding to the turning point information includes the angle between the orientation of the target point and the orientation of the turning point.

S13:按照所述目标曲线拟合策略,对所述第一关键点信息对应的关键点和所述换向点信息对应的换向点进行拟合,得到目标路径。S13: According to the target curve fitting strategy, the key points corresponding to the first key point information and the turning points corresponding to the turning point information are fitted to obtain a target path.

可选地,在所述第一关键点信息包括终点信息的情况下,确定所述第一关键点信息未包括倒车途径点;确定所述终点信息对应的终点作为所述目标点。根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略,然后基于确定的目标曲线拟合策略对终点和换向点进行拟合,得到倒车路径,即目标路径。Optionally, when the first key point information includes end point information, it is determined that the first key point information does not include a reversing path point; and the end point corresponding to the end point information is determined as the target point. According to the relationship between the orientation of the target point and the orientation of the turning point corresponding to the turning point information, a target curve fitting strategy is determined, and then the end point and the turning point are fitted based on the determined target curve fitting strategy to obtain a reversing path, that is, a target path.

可选的,在所述第一关键点信息包括终点信息的情况下,如果确定所述第一关键点信息包括倒车途径点,也可以基于倒车途径点和终点信息对应的终点确定所述目标点。例如,可以将距离换向点最近的倒车途径点作为目标点,进行第一曲线拟合;然后,以第一曲线拟合后得到的最新终点作为当前换向点,并将与当前换向点最近的倒车途径点作为新的目标点,基于二者进行第二曲线拟合,依次类推,直到到所述终点信息对应的终点为止。Optionally, in the case where the first key point information includes the end point information, if it is determined that the first key point information includes a reversing path point, the target point may also be determined based on the reversing path point and the end point corresponding to the end point information. For example, the reversing path point closest to the turning point may be used as the target point to perform a first curve fitting; then, the latest end point obtained after the first curve fitting is used as the current turning point, and the reversing path point closest to the current turning point is used as the new target point, and a second curve fitting is performed based on the two, and so on, until the end point corresponding to the end point information is reached.

优选的,在所述第一关键点信息包括倒车途径点的情况下,不再考察目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,而是基于其他算法对换向点、倒车途径点、终点进行曲线拟合。Preferably, when the first key point information includes a reversing path point, the relationship between the direction of the target point and the direction of the turning point corresponding to the reversing point information is no longer examined, but curve fitting is performed on the turning point, the reversing path point and the end point based on other algorithms.

可选地,在所述第一关键点信息包括起点信息的情况下,确定所述第一关键点信息包括前向途径点;根据所述起点和所述前向途径点确定所述目标点。然后根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略,然后基于确定的目标曲线拟合策略对目标点和换向点进行拟合,然后将拟合得到的路径和引导路径(起点到目标点之间的引导路径)拼接得到前向路径,即目标路径。Optionally, when the first key point information includes starting point information, it is determined that the first key point information includes a forward path point; the target point is determined according to the starting point and the forward path point. Then, according to the relationship between the orientation of the target point and the orientation of the turning point corresponding to the turning point information, a target curve fitting strategy is determined, and then the target point and the turning point are fitted based on the determined target curve fitting strategy, and then the path obtained by fitting and the guide path (the guide path between the starting point and the target point) are spliced to obtain a forward path, that is, a target path.

可选地,根据所述起点和所述前向途径点确定所述目标点包括:Optionally, determining the target point according to the starting point and the forward path point comprises:

采用预设曲线连接所述起点和至少一个所述前向途径点得到引导路径;即采用预设曲线对起点和前向途径点进行拟合得到引导路径。在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点。其中,可以将引导路径上距离所述换向点满足预设距离要求地点作为第一指定采样点。优选地,确定所述引导路径上距离所述换向点最近的点,作为第一指定采样点;根据所述第一指定采样点,确定所述至少一个目标采样点。The guide path is obtained by connecting the starting point and at least one of the forward path points using a preset curve; that is, the guide path is obtained by fitting the starting point and the forward path point using a preset curve. At least one target sampling point is determined on the guide path, and the target point is determined based on the target sampling point. Among them, the location on the guide path that meets the preset distance requirement from the turning point can be used as the first designated sampling point. Preferably, the point on the guide path closest to the turning point is determined as the first designated sampling point; based on the first designated sampling point, the at least one target sampling point is determined.

优选地,根据所述第一指定采样点的信息和所述换向点的信息,确定所述第一指定采样点是否满足目标自动驾驶车辆的转弯需求;其中转弯需求根据实际需要设置,示例性的,可以根据车辆参数(例如,转弯半径)来确定转弯需求,例如,确定的转弯需求为大于转弯半径;可以为采样点附近是否有预设的转弯区域;或者,可以为采样点的切线方向与换向点朝向之间的夹角是否满足预设的角度范围。Preferably, based on the information of the first designated sampling point and the information of the turning point, it is determined whether the first designated sampling point meets the turning requirement of the target autonomous driving vehicle; wherein the turning requirement is set according to actual needs, and illustratively, the turning requirement can be determined based on vehicle parameters (e.g., turning radius), for example, the determined turning requirement is greater than the turning radius; it can be determined whether there is a preset turning area near the sampling point; or it can be determined whether the angle between the tangent direction of the sampling point and the direction of the turning point meets a preset angle range.

可选的,在满足所述目标自动驾驶车辆的转弯需求的情况下,将所述第一指定采样点作为一个目标采样点;在不满足所述目标自动驾驶车辆的转弯需求的情况下,在所述引导路径上,将所述第一指定采样点朝着所述起点的方向移动指定距离,获得第二指定采样点,其中,所述第二指定采样点满足所述目标自动驾驶车辆的转弯需求;将所述第二指定采样点作为一个目标采样点。Optionally, when the turning requirement of the target autonomous driving vehicle is met, the first designated sampling point is used as a target sampling point; when the turning requirement of the target autonomous driving vehicle is not met, on the guidance path, the first designated sampling point is moved a specified distance in the direction of the starting point to obtain a second designated sampling point, wherein the second designated sampling point meets the turning requirement of the target autonomous driving vehicle; and the second designated sampling point is used as a target sampling point.

一个实施例中,在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点,包括:将所述第一指定采样点或者所述第二指定采样点作为所述目标点。即在得到一个目标采样点后,直接将目标采样点作为目标点生成目标路径,然后对目标路径进行校验。若校验通过,则不再寻找新的目标点。该方式能够大大节约路径生成时的计算量。但是得到的目标路径可能并不是最优的目标路径。In one embodiment, at least one target sampling point is determined on the guide path, and the target point is determined according to the target sampling point, including: taking the first designated sampling point or the second designated sampling point as the target point. That is, after obtaining a target sampling point, the target sampling point is directly used as the target point to generate a target path, and then the target path is verified. If the verification passes, no new target point is searched. This method can greatly save the amount of calculation when generating the path. However, the obtained target path may not be the optimal target path.

因此另一实施例中,在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点,包括:以所述第一指定采样点或者所述第二指定采样点为目标起始点,在所述引导路径上按照指定距离间隔朝着所述起点的方向采样,得到所述至少一个目标采样点,其中,所述至少一个目标采样点包括所述第一指定采样点或者所述第二指定采样点;将各个目标采样点作为所述目标点。即将所有的目标点都找到,然后根据每个目标点都得到一个目标路径,然后进行校验,并根据预设的筛选条件确定一条校验通过的目标路径作为最终的目标路径。预设的筛选条件为以下任意一种或多种结合:Therefore, in another embodiment, at least one target sampling point is determined on the guide path, and the target point is determined based on the target sampling point, including: taking the first designated sampling point or the second designated sampling point as the target starting point, sampling in the direction of the starting point at a designated distance interval on the guide path to obtain the at least one target sampling point, wherein the at least one target sampling point includes the first designated sampling point or the second designated sampling point; taking each target sampling point as the target point. That is, all target points are found, and then a target path is obtained based on each target point, and then a verification is performed, and a target path that passes the verification is determined as the final target path according to the preset filtering conditions. The preset filtering conditions are any one or more combinations of the following:

1.将经过最多前向途径点的目标路径作为最终的目标路径。1. The target path that passes through the most forward waypoints is taken as the final target path.

2.将整体路径长度最短的目标路径作为最终的目标路径。2. The target path with the shortest overall path length is taken as the final target path.

3.将直线路径长度最长的目标路径作为最终的目标路径。3. The target path with the longest straight path length is taken as the final target path.

其中,多种结合可以为将每个条件赋予预设的权重,然后计算得到最终权重,将最终权重最大的目标路径作为最终的目标路径。Among them, multiple combinations can be used to assign a preset weight to each condition, and then calculate the final weight, and use the target path with the largest final weight as the final target path.

作为本申请实施例一种可选的实现方式,根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略,包括:As an optional implementation of the embodiment of the present application, determining a target curve fitting strategy according to a relationship between the orientation of the target point and the orientation of the reversing point corresponding to the reversing point information includes:

获取所述目标点的朝向所对应的方向和所述换向点朝向所对应的方向之间的角度差值;根据所述角度差值,确定所述目标曲线拟合策略。因此在实际使用时,若所有角度差值都采用一种曲线,则可能会造成自动驾驶车辆在生成的路径行驶时转弯角度过大,影响车辆行驶速度,甚至可能造成车辆倾覆的危险,因此本申请实施例针对不同的角度差值,采用不同约束条件的曲线对目标点和换向点进行拟合。Obtain the angle difference between the direction corresponding to the orientation of the target point and the direction corresponding to the orientation of the reversing point; determine the target curve fitting strategy based on the angle difference. Therefore, in actual use, if all angle differences use one curve, it may cause the autonomous driving vehicle to turn too much when driving on the generated path, affecting the vehicle's driving speed, and may even cause the risk of the vehicle overturning. Therefore, the embodiment of the present application uses curves with different constraints to fit the target point and the reversing point for different angle differences.

一些实施例中,根据所述角度差值,确定所述目标曲线拟合策略,包括:In some embodiments, determining the target curve fitting strategy according to the angle difference includes:

在所述角度差值大于或等于第一预设角度且小于第二预设角度时,采用第四目标曲线拟合所述目标点和所述换向点;在所述角度差值大于或等于所述第二预设角度且小于第三预设角度的情况下,采用第五目标曲线拟合所述目标点和所述换向点;其中,所述第一预设角度小于所述第二预设角度,所述第二预设角度小于所述第三预设角度,所述第四目标曲线和所述第五目标曲线对曲率和/或曲率变化率的约束条件不同。其中曲率表示曲线偏离直线的程度,可以与车辆转弯的角度相关;而曲率变化率表示曲率变化的程度,可以与车辆是否频繁调整转弯方向相关。When the angle difference is greater than or equal to the first preset angle and less than the second preset angle, the fourth target curve is used to fit the target point and the turning point; when the angle difference is greater than or equal to the second preset angle and less than the third preset angle, the fifth target curve is used to fit the target point and the turning point; wherein the first preset angle is less than the second preset angle, the second preset angle is less than the third preset angle, and the fourth target curve and the fifth target curve have different constraints on curvature and/or curvature change rate. The curvature represents the degree to which the curve deviates from a straight line, which may be related to the angle of the vehicle's turn; and the curvature change rate represents the degree of curvature change, which may be related to whether the vehicle frequently adjusts the turning direction.

另一些实施例中,根据所述角度差值,确定所述目标曲线拟合策略,包括:In some other embodiments, determining the target curve fitting strategy according to the angle difference includes:

在所述角度差值大于或等于0且小于所述第一预设角度的情况下,采用第三目标曲线拟合所述目标点和所述换向点;在所述角度差值大于或等于第一预设角度且小于第二预设角度时,采用第四目标曲线拟合所述目标点和所述换向点;在所述角度差值大于或等于所述第二预设角度且小于第三预设角度的情况下,采用第五目标曲线拟合所述目标点和所述换向点;在所述角度差值大于或等于所述第三预设角度且小于第四预设角度的情况下,采用第六目标曲线拟合所述目标点和所述换向点;When the angle difference is greater than or equal to 0 and less than the first preset angle, a third target curve is used to fit the target point and the turning point; when the angle difference is greater than or equal to the first preset angle and less than the second preset angle, a fourth target curve is used to fit the target point and the turning point; when the angle difference is greater than or equal to the second preset angle and less than the third preset angle, a fifth target curve is used to fit the target point and the turning point; when the angle difference is greater than or equal to the third preset angle and less than the fourth preset angle, a sixth target curve is used to fit the target point and the turning point;

其中,所述第一预设角度大于0,所述第一预设角度小于所述第二预设角度,所述第二预设角度小于所述第三预设角度,所述第三预设角度小于所述第四预设角度,所述第四预设角度小于180;所述第三目标曲线对曲率和曲率变化率均不做约束,所述第四目标曲线只对曲率进行约束,所述第五目标曲线只对曲率变化率进行约束,所述第六目标曲线的曲率为固定值。Among them, the first preset angle is greater than 0, the first preset angle is smaller than the second preset angle, the second preset angle is smaller than the third preset angle, the third preset angle is smaller than the fourth preset angle, and the fourth preset angle is smaller than 180; the third target curve does not constrain the curvature and the rate of change of curvature, the fourth target curve only constrains the curvature, the fifth target curve only constrains the rate of change of curvature, and the curvature of the sixth target curve is a fixed value.

作为本申请一种可选的实现方式,在所述第一关键点信息包括终点信息的情况下,确定所述第一关键点信息中包括倒车途径点的信息;采用第一目标曲线拟合所述终点、所述倒车途经点和所述换向点,得到所述目标路径。即在用户输入终点和倒车途径点时,采用第一目标曲线直接拟合终点、倒车途径点和换向点得到倒车路径,即目标路径,无需根据角度差值确定目标曲线拟合策略。As an optional implementation of the present application, when the first key point information includes the end point information, the first key point information includes the information of the reversing path point; the first target curve is used to fit the end point, the reversing path point and the turning point to obtain the target path. That is, when the user inputs the end point and the reversing path point, the first target curve is used to directly fit the end point, the reversing path point and the turning point to obtain the reversing path, that is, the target path, without determining the target curve fitting strategy according to the angle difference.

作为本申请另一种可选的实现方式,在所述第一关键点信息包括起点信息的情况下,确定所述第一关键点信息中未包括前向途径点的信息;采用第二目标曲线拟合所述起点、所述前向途径点和所述换向点,得到所述目标路径。即在用户输入起点但是未输入前向途径点时,直接采用第二目标曲线拟合起点、前向途径点和换向点得到前向路径,即目标路径,无需根据角度差值确定目标曲线拟合策略。As another optional implementation of the present application, when the first key point information includes the starting point information, it is determined that the first key point information does not include the information of the forward path point; the second target curve is used to fit the starting point, the forward path point and the turning point to obtain the target path. That is, when the user inputs the starting point but does not input the forward path point, the second target curve is directly used to fit the starting point, the forward path point and the turning point to obtain the forward path, that is, the target path, without determining the target curve fitting strategy according to the angle difference.

需要说明的是,上述方式拟合得到的目标路径都需要进行进一步处理,具体如下:It should be noted that the target paths obtained by the above fitting methods need to be further processed, as follows:

对所述目标路径进行平滑处理;对所述平滑处理后的目标路径进行以下校验至少之一:The target path is smoothed; and at least one of the following checks is performed on the smoothed target path:

第一校验处理,用于判断所述平滑处理后的目标路径是否在预设边界范围内,以保证自动驾驶车辆在目标路径行驶时不会超出地图边界或者与障碍物等边界发生碰撞;第二校验处理,用于判断所述平滑处理后的目标路径的终点和所述第一关键点信息中包括的终点的终点位置是否符合距离要求;第三校验处理,用于判断所述平滑处理后的目标路径的终点的朝向和所述第一关键点信息中包括的终点的终点朝向是否满足朝向要求;确定通过校验的目标路径,并按照通过校验的目标路径控制目标自动驾驶车辆的行驶。The first verification process is used to determine whether the target path after smoothing is within a preset boundary range to ensure that the autonomous driving vehicle will not exceed the map boundary or collide with boundaries such as obstacles when traveling on the target path; the second verification process is used to determine whether the end point of the target path after smoothing and the end point position included in the first key point information meet the distance requirement; the third verification process is used to determine whether the direction of the end point of the target path after smoothing and the end point direction of the end point included in the first key point information meet the direction requirement; determine the target path that passes the verification, and control the driving of the target autonomous driving vehicle according to the target path that passes the verification.

其中,无论生成前向路径还是倒车路径都需要经过第一校验步骤校验。而第二校验处理和第三校验处理只针对生成的倒车路径。Wherein, whether the forward path or the reverse path is generated, it needs to be verified by the first verification step, while the second verification process and the third verification process are only for the generated reverse path.

校验通过后,生成如图2所示的路径,其中灰色区域为自动驾驶车辆的行驶路径,自动驾驶车辆从起点按照前向路径进入换向点,在换向点由前向行驶变为倒车,然后沿倒车路径进入终点。其中示意性示出了前向路径上的前向途径点,以及倒车路径上的倒车途径点。可选的,该实施例示出的行驶路径可以经过处理后供车辆使用,处理包括但不限于平滑处理、或者其他修正等。After the verification is passed, a path as shown in FIG2 is generated, where the gray area is the driving path of the autonomous driving vehicle. The autonomous driving vehicle enters the reversing point from the starting point along the forward path, changes from forward driving to reverse driving at the reversing point, and then enters the end point along the reverse path. The forward path points on the forward path and the reverse path points on the reverse path are schematically shown. Optionally, the driving path shown in this embodiment can be processed for use by the vehicle, and the processing includes but is not limited to smoothing processing, or other corrections.

可选的,在实际生成目标路径时,用户确定了一个换向点后,如果生成的目标路径无法通过校验,此时用户可以重新选择换向点,但是通常用户重新选择也是选择上次选择的换向点附近的某个位置,因此为了在用户确定的换向点无法得到目标路径或得到目标路径却无法通过校验时,避免用户重新选择,本申请提供了一种自动生成多个换向点的方案,即述换向点信息包括多个换向点,具体如下:Optionally, when actually generating a target path, after the user determines a turning point, if the generated target path fails to pass verification, the user can reselect a turning point, but usually the user reselects a position near the turning point selected last time. Therefore, in order to avoid the user from reselecting when the turning point determined by the user cannot obtain the target path or the target path obtained fails to pass verification, the present application provides a solution for automatically generating multiple turning points, that is, the turning point information includes multiple turning points, which are as follows:

获取第一用户指令,所述第一用户指令用于指示生成第一换向点;根据所述第一换向点,生成所述多个换向点,所述多个换向点包括所述第一换向点;示例性的,以换向点为中心的目标区域中,每隔预设距离设置一个第二换向点。将第一换向点和所有的第二换向点去重后生成换向点信息。A first user instruction is obtained, wherein the first user instruction is used to instruct the generation of a first turning point; based on the first turning point, the plurality of turning points are generated, wherein the plurality of turning points include the first turning point; illustratively, in a target area centered on the turning point, a second turning point is set at a preset distance. The first turning point and all the second turning points are deduplicated to generate turning point information.

按照指定顺序,针对所述多个换向点中的各个换向点所对应的目标路径进行校验,直到得到至少一个通过校验的目标路径为止。According to a specified order, the target path corresponding to each of the plurality of switching points is verified until at least one target path that passes the verification is obtained.

一个实施例中,按照先第一换向点,然后第二换向点的顺序,其中第二换向点时按照距离第一换向点的距离越小优先级越高的顺序生成目标路径并校验。当任意一个换向点生成的目标路径通过校验后即不再对后续的换向点进行生成目标路径以及校验。In one embodiment, the target path is generated and verified in the order of the first turning point and then the second turning point, wherein the second turning point is generated and verified in the order of the smaller the distance from the first turning point, the higher the priority. When the target path generated by any turning point passes the verification, the target path generation and verification for the subsequent turning points are no longer performed.

另一实施例中,为所有的换向点都生成一个目标路径,然后都进行校验。最后通过预设的筛选条件从校验通过的目标路径中筛选一条最优的目标路径,作为最终的目标路径。其中筛选条件参考上述内容,在此不再赘述。In another embodiment, a target path is generated for all the switching points, and then all are verified. Finally, an optimal target path is selected from the verified target paths according to a preset screening condition as the final target path. The screening condition is referred to the above content and will not be repeated here.

基于同一发明构思,如图3所示,本申请提供一种路径生成装置20,包括:Based on the same inventive concept, as shown in FIG3 , the present application provides a path generation device 20, including:

信息获取模块31,用于获取第一关键点信息和换向点信息;其中,所述第一关键点信息包括起点信息和/或终点信息,所述起点信息包括起点的起点位置和起点朝向,所述换向点信息包括换向点的换向点位置和换向点朝向,所述终点信息包括终点的终点位置和终点朝向。所述换向点信息包括多个换向点,还包括:获取第一用户指令,所述第一用户指令用于指示生成第一换向点;根据所述第一换向点,生成所述多个换向点,所述多个换向点包括所述第一换向点;按照指定顺序,针对所述多个换向点中的各个换向点所对应的目标路径进行校验,直到得到至少一个通过校验的目标路径为止。The information acquisition module 31 is used to acquire first key point information and turning point information; wherein the first key point information includes starting point information and/or end point information, the starting point information includes the starting point position and starting point orientation of the starting point, the turning point information includes the turning point position and turning point orientation of the turning point, and the end point information includes the end point position and end point orientation of the end point. The turning point information includes multiple turning points, and further includes: acquiring a first user instruction, the first user instruction is used to instruct the generation of a first turning point; generating the multiple turning points according to the first turning point, the multiple turning points including the first turning point; and verifying the target path corresponding to each turning point in the multiple turning points in a specified order until at least one target path that passes the verification is obtained.

策略确定模块32,用于确定所述第一关键点信息相关的目标点,根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略;具体地,策略确定模块32获取所述目标点的朝向所对应的方向和所述换向点朝向所对应的方向之间的角度差值;根据所述角度差值,确定所述目标曲线拟合策略。The strategy determination module 32 is used to determine the target point related to the first key point information, and determine the target curve fitting strategy according to the relationship between the orientation of the target point and the reversing point orientation corresponding to the reversing point information; specifically, the strategy determination module 32 obtains the angle difference between the direction corresponding to the orientation of the target point and the direction corresponding to the reversing point orientation; and determines the target curve fitting strategy according to the angle difference.

一个实施例中,根据所述角度差值,确定所述目标曲线拟合策略,包括:In one embodiment, determining the target curve fitting strategy according to the angle difference includes:

在所述角度差值大于或等于第一预设角度且小于第二预设角度时,采用第四目标曲线拟合所述目标点和所述换向点;在所述角度差值大于或等于所述第二预设角度且小于第三预设角度的情况下,采用第五目标曲线拟合所述目标点和所述换向点;其中,所述第一预设角度小于所述第二预设角度,所述第二预设角度小于所述第三预设角度,所述第四目标曲线和所述第五目标曲线对曲率和/或曲率变化率的约束条件不同。When the angle difference is greater than or equal to the first preset angle and less than the second preset angle, the fourth target curve is used to fit the target point and the turning point; when the angle difference is greater than or equal to the second preset angle and less than the third preset angle, the fifth target curve is used to fit the target point and the turning point; wherein the first preset angle is smaller than the second preset angle, the second preset angle is smaller than the third preset angle, and the fourth target curve and the fifth target curve have different constraints on curvature and/or curvature change rate.

另一个实施例中,所述根据所述角度差值,确定所述目标曲线拟合策略,还包括:In another embodiment, determining the target curve fitting strategy according to the angle difference further includes:

在所述角度差值大于或等于0且小于所述第一预设角度的情况下,采用第三目标曲线拟合所述目标点和所述换向点;在所述角度差值大于或等于所述第三预设角度且小于第四预设角度的情况下,采用第六目标曲线拟合所述目标点和所述换向点;其中,所述第一预设角度大于0,所述第三预设角度小于所述第四预设角度;所述第三目标曲线对曲率和曲率变化率均不做约束,所述第四目标曲线只对曲率进行约束,所述第五目标曲线只对曲率变化率进行约束,所述第六目标曲线的曲率为固定值。When the angle difference is greater than or equal to 0 and less than the first preset angle, the third target curve is used to fit the target point and the turning point; when the angle difference is greater than or equal to the third preset angle and less than the fourth preset angle, the sixth target curve is used to fit the target point and the turning point; wherein the first preset angle is greater than 0, and the third preset angle is less than the fourth preset angle; the third target curve does not constrain the curvature and the rate of change of curvature, the fourth target curve only constrains the curvature, the fifth target curve only constrains the rate of change of curvature, and the curvature of the sixth target curve is a fixed value.

一个实施例中,确定所述第一关键点信息相关的目标点,包括:在所述第一关键点信息包括终点信息的情况下,确定所述第一关键点信息未包括倒车途径点;确定所述终点信息对应的终点作为所述目标点。In one embodiment, determining the target point related to the first key point information includes: when the first key point information includes end point information, determining that the first key point information does not include a reversing path point; and determining the end point corresponding to the end point information as the target point.

另一个实施例中,确定所述第一关键点信息相关的目标点,包括:在所述第一关键点信息包括起点信息的情况下,确定所述第一关键点信息包括前向途径点;根据所述起点和所述前向途径点确定所述目标点。In another embodiment, determining the target point related to the first key point information includes: when the first key point information includes starting point information, determining that the first key point information includes a forward path point; and determining the target point based on the starting point and the forward path point.

其中,所述根据所述起点和所述前向途径点确定所述目标点,包括:采用预设曲线连接所述起点和至少一个所述前向途径点得到引导路径;在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点。Wherein, determining the target point according to the starting point and the forward path point comprises: using a preset curve to connect the starting point and at least one of the forward path points to obtain a guide path; determining at least one target sampling point on the guide path, and determining the target point according to the target sampling point.

进一步地,所述在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点,包括:确定所述引导路径上距离所述换向点最近的点,作为第一指定采样点;根据所述第一指定采样点,确定所述至少一个目标采样点。Further, determining at least one target sampling point on the guide path and determining the target point according to the target sampling point includes: determining a point on the guide path that is closest to the reversing point as a first designated sampling point; and determining the at least one target sampling point according to the first designated sampling point.

优选地,根据所述第一指定采样点,确定所述至少一个目标采样点包括:根据所述第一指定采样点的信息和所述换向点的信息,确定所述第一指定采样点是否满足目标自动驾驶车辆的转弯需求;在满足所述目标自动驾驶车辆的转弯需求的情况下,将所述第一指定采样点作为一个目标采样点;在不满足所述目标自动驾驶车辆的转弯需求的情况下,在所述引导路径上,将所述第一指定采样点朝着所述起点的方向移动指定距离,获得第二指定采样点,其中,所述第二指定采样点满足所述目标自动驾驶车辆的转弯需求;将所述第二指定采样点作为一个目标采样点。Preferably, determining the at least one target sampling point according to the first designated sampling point includes: determining whether the first designated sampling point meets the turning requirement of the target autonomous driving vehicle according to information of the first designated sampling point and information of the turning point; if the turning requirement of the target autonomous driving vehicle is met, taking the first designated sampling point as a target sampling point; if the turning requirement of the target autonomous driving vehicle is not met, moving the first designated sampling point in the direction of the starting point by a designated distance on the guidance path to obtain a second designated sampling point, wherein the second designated sampling point meets the turning requirement of the target autonomous driving vehicle; and taking the second designated sampling point as a target sampling point.

进一步地,在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点,包括:将所述第一指定采样点或者所述第二指定采样点作为所述目标点;或者,以所述第一指定采样点或者所述第二指定采样点为目标起始点,在所述引导路径上按照指定距离间隔朝着所述起点的方向采样,得到所述至少一个目标采样点,其中,所述至少一个目标采样点包括所述第一指定采样点或者所述第二指定采样点;将各个目标采样点作为所述目标点。Further, determining at least one target sampling point on the guide path, and determining the target point according to the target sampling point includes: taking the first designated sampling point or the second designated sampling point as the target point; or taking the first designated sampling point or the second designated sampling point as the target starting point, sampling in a direction toward the starting point at a designated distance interval on the guide path to obtain the at least one target sampling point, wherein the at least one target sampling point includes the first designated sampling point or the second designated sampling point; and taking each target sampling point as the target point.

路径拟合模块33,用于按照所述目标曲线拟合策略,对所述第一关键点信息对应的关键点和所述换向点信息对应的换向点进行拟合,得到目标路径。The path fitting module 33 is used to fit the key points corresponding to the first key point information and the turning points corresponding to the turning point information according to the target curve fitting strategy to obtain a target path.

此外,在所述第一关键点信息包括终点信息的情况下,确定所述第一关键点信息中包括倒车途径点的信息;采用第一目标曲线拟合所述终点、所述倒车途经点和所述换向点,得到所述目标路径;或者,In addition, when the first key point information includes the end point information, it is determined that the first key point information includes the information of the reversing waypoint; the first target curve is used to fit the end point, the reversing waypoint and the turning point to obtain the target path; or,

在所述第一关键点信息包括起点信息的情况下,确定所述第一关键点信息中未包括前向途径点的信息;采用第二目标曲线拟合所述起点、所述前向途径点和所述换向点,得到所述目标路径。In the case where the first key point information includes the starting point information, it is determined that the first key point information does not include information of the forward path point; and a second target curve is used to fit the starting point, the forward path point and the turning point to obtain the target path.

需要说明的是,还包括:对所述目标路径进行平滑处理;对所述平滑处理后的目标路径进行以下校验至少之一:第一校验处理,用于判断所述平滑处理后的目标路径是否在预设边界范围内;第二校验处理,用于判断所述平滑处理后的目标路径的终点和所述第一关键点信息中包括的终点的终点位置是否符合距离要求;第三校验处理,用于判断所述平滑处理后的目标路径的终点的朝向和所述第一关键点信息中包括的终点的终点朝向是否满足朝向要求;确定通过校验的目标路径,并按照通过校验的目标路径控制目标自动驾驶车辆的行驶。It should be noted that it also includes: smoothing the target path; performing at least one of the following checks on the smoothed target path: a first check process, used to determine whether the smoothed target path is within a preset boundary range; a second check process, used to determine whether the end point of the smoothed target path and the end point position included in the first key point information meet the distance requirement; a third check process, used to determine whether the orientation of the end point of the smoothed target path and the end point orientation of the end point included in the first key point information meet the orientation requirement; determining a target path that passes the check, and controlling the driving of the target autonomous driving vehicle according to the target path that passes the check.

根据本申请,还提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行上述任一项所述的方法。According to the present application, a computer-readable storage medium is also provided, wherein the storage medium stores a computer program, and the computer program is used to execute any of the methods described above.

根据本申请,还提供了一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于执行上述任一项所述的方法。According to the present application, an electronic device is also provided, comprising: a processor; a memory for storing instructions executable by the processor; and the processor is used to execute any of the methods described above.

上述方法已经在前面实施例中做了详述,在此不再赘述。The above method has been described in detail in the previous embodiments and will not be repeated here.

可以理解的是,上述各实施例中相同或相似部分可以相互参考,在一些实施例中未详细说明的内容可以参见其他实施例中相同或相似的内容。It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

需要说明的是,在本申请的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本申请的描述中,除非另有说明,“多个”的含义是指至少两个。It should be noted that, in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" refers to at least two.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims (14)

1.一种路径生成方法,其特征在于,包括:1. A path generation method, characterized by comprising: 获取第一关键点信息和换向点信息;其中,所述第一关键点信息包括起点信息和/或终点信息,所述起点信息包括起点的起点位置和起点朝向,所述换向点信息包括换向点的换向点位置和换向点朝向,所述终点信息包括终点的终点位置和终点朝向;Acquire first key point information and turning point information; wherein the first key point information includes starting point information and/or end point information, the starting point information includes a starting point position and a starting point orientation of the starting point, the turning point information includes a turning point position and a turning point orientation of the turning point, and the end point information includes an end point position and an end point orientation of the end point; 确定所述第一关键点信息相关的目标点,根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略;Determine a target point related to the first key point information, and determine a target curve fitting strategy according to a relationship between an orientation of the target point and an orientation of a reversing point corresponding to the reversing point information; 按照所述目标曲线拟合策略,对所述第一关键点信息对应的关键点和所述换向点信息对应的换向点进行拟合,得到目标路径。According to the target curve fitting strategy, the key points corresponding to the first key point information and the turning points corresponding to the turning point information are fitted to obtain a target path. 2.根据权利要求1所述的方法,其特征在于,所述根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略,包括:2. The method according to claim 1, characterized in that the determining of the target curve fitting strategy according to the relationship between the orientation of the target point and the orientation of the reversing point corresponding to the reversing point information comprises: 获取所述目标点的朝向所对应的方向和所述换向点朝向所对应的方向之间的角度差值;Obtaining an angle difference between a direction corresponding to the direction of the target point and a direction corresponding to the direction of the reversing point; 根据所述角度差值,确定所述目标曲线拟合策略。The target curve fitting strategy is determined according to the angle difference. 3.根据权利要求1所述的方法,其特征在于,所述确定所述第一关键点信息相关的目标点,包括:3. The method according to claim 1, characterized in that the step of determining the target point related to the first key point information comprises: 在所述第一关键点信息包括终点信息的情况下,确定所述第一关键点信息未包括倒车途径点;In the case where the first key point information includes the end point information, determining that the first key point information does not include a reversing waypoint; 确定所述终点信息对应的终点作为所述目标点。An end point corresponding to the end point information is determined as the target point. 4.根据权利要求1所述的方法,其特征在于,所述确定所述第一关键点信息相关的目标点,包括:4. The method according to claim 1, characterized in that the step of determining the target point related to the first key point information comprises: 在所述第一关键点信息包括起点信息的情况下,确定所述第一关键点信息包括前向途径点;In a case where the first key point information includes starting point information, determining that the first key point information includes a forward waypoint; 根据所述起点和所述前向途径点确定所述目标点。The target point is determined based on the starting point and the forward waypoint. 5.根据权利要求4所述的方法,其特征在于,所述根据所述起点和所述前向途径点确定所述目标点,包括:5. The method according to claim 4, characterized in that the determining the target point according to the starting point and the forward path point comprises: 采用预设曲线连接所述起点和至少一个所述前向途径点得到引导路径;Connecting the starting point and at least one of the forward path points using a preset curve to obtain a guidance path; 在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点。At least one target sampling point is determined on the guide path, and the target point is determined according to the target sampling point. 6.根据权利要求5所述的方法,其特征在于,所述在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点,包括:6. The method according to claim 5, characterized in that determining at least one target sampling point on the guide path and determining the target point according to the target sampling point comprises: 确定所述引导路径上距离所述换向点最近的点,作为第一指定采样点;Determine a point on the guide path that is closest to the reversing point as a first designated sampling point; 根据所述第一指定采样点,确定所述至少一个目标采样点。The at least one target sampling point is determined according to the first designated sampling point. 7.根据权利要求6所述的方法,其特征在于,所述根据所述第一指定采样点,确定所述至少一个目标采样点包括:7. The method according to claim 6, wherein determining the at least one target sampling point according to the first designated sampling point comprises: 根据所述第一指定采样点的信息和所述换向点的信息,确定所述第一指定采样点是否满足目标自动驾驶车辆的转弯需求;Determining, according to the information of the first designated sampling point and the information of the turning point, whether the first designated sampling point meets the turning requirement of the target autonomous driving vehicle; 在满足所述目标自动驾驶车辆的转弯需求的情况下,将所述第一指定采样点作为一个目标采样点;In a case where a turning requirement of the target autonomous driving vehicle is met, taking the first designated sampling point as a target sampling point; 在不满足所述目标自动驾驶车辆的转弯需求的情况下,在所述引导路径上,将所述第一指定采样点朝着所述起点的方向移动指定距离,获得第二指定采样点,其中,所述第二指定采样点满足所述目标自动驾驶车辆的转弯需求;将所述第二指定采样点作为一个目标采样点。When the turning requirement of the target autonomous driving vehicle is not met, on the guidance path, the first designated sampling point is moved a designated distance in the direction of the starting point to obtain a second designated sampling point, wherein the second designated sampling point meets the turning requirement of the target autonomous driving vehicle; and the second designated sampling point is used as a target sampling point. 8.根据权利要求7所述的方法,其特征在于,所述在所述引导路径上确定至少一个目标采样点,并根据所述目标采样点确定所述目标点,包括:8. The method according to claim 7, characterized in that the determining at least one target sampling point on the guide path and determining the target point according to the target sampling point comprises: 将所述第一指定采样点或者所述第二指定采样点作为所述目标点;或者,The first designated sampling point or the second designated sampling point is used as the target point; or, 以所述第一指定采样点或者所述第二指定采样点为目标起始点,在所述引导路径上按照指定距离间隔朝着所述起点的方向采样,得到所述至少一个目标采样点,其中,所述至少一个目标采样点包括所述第一指定采样点或者所述第二指定采样点;将各个目标采样点作为所述目标点。Taking the first designated sampling point or the second designated sampling point as a target starting point, sampling is performed on the guide path at a designated distance interval in a direction toward the starting point to obtain the at least one target sampling point, wherein the at least one target sampling point includes the first designated sampling point or the second designated sampling point; and each target sampling point is used as the target point. 9.根据权利要求2所述的方法,其特征在于,所述根据所述角度差值,确定所述目标曲线拟合策略,包括:9. The method according to claim 2, characterized in that the step of determining the target curve fitting strategy according to the angle difference comprises: 在所述角度差值大于或等于第一预设角度且小于第二预设角度时,采用第四目标曲线拟合所述目标点和所述换向点;When the angle difference is greater than or equal to the first preset angle and less than the second preset angle, a fourth target curve is used to fit the target point and the reversing point; 在所述角度差值大于或等于所述第二预设角度且小于第三预设角度的情况下,采用第五目标曲线拟合所述目标点和所述换向点;When the angle difference is greater than or equal to the second preset angle and less than the third preset angle, a fifth target curve is used to fit the target point and the reversing point; 其中,所述第一预设角度小于所述第二预设角度,所述第二预设角度小于所述第三预设角度,所述第四目标曲线和所述第五目标曲线对曲率和/或曲率变化率的约束条件不同。The first preset angle is smaller than the second preset angle, the second preset angle is smaller than the third preset angle, and the fourth target curve and the fifth target curve have different constraints on curvature and/or curvature change rate. 10.根据权利要求9所述的方法,其特征在于,所述根据所述角度差值,确定所述目标曲线拟合策略,还包括:10. The method according to claim 9, characterized in that the step of determining the target curve fitting strategy according to the angle difference further comprises: 在所述角度差值大于或等于0且小于所述第一预设角度的情况下,采用第三目标曲线拟合所述目标点和所述换向点;When the angle difference is greater than or equal to 0 and less than the first preset angle, a third target curve is used to fit the target point and the reversing point; 在所述角度差值大于或等于所述第三预设角度且小于第四预设角度的情况下,采用第六目标曲线拟合所述目标点和所述换向点;When the angle difference is greater than or equal to the third preset angle and less than the fourth preset angle, a sixth target curve is used to fit the target point and the reversing point; 其中,所述第一预设角度大于0,所述第三预设角度小于所述第四预设角度;所述第三目标曲线对曲率和曲率变化率均不做约束,所述第四目标曲线只对曲率进行约束,所述第五目标曲线只对曲率变化率进行约束,所述第六目标曲线的曲率为固定值。Among them, the first preset angle is greater than 0, the third preset angle is less than the fourth preset angle; the third target curve does not constrain the curvature and the rate of change of curvature, the fourth target curve only constrains the curvature, the fifth target curve only constrains the rate of change of curvature, and the curvature of the sixth target curve is a fixed value. 11.根据权利要求1所述的方法,其特征在于,还包括:11. The method according to claim 1, further comprising: 在所述第一关键点信息包括终点信息的情况下,确定所述第一关键点信息中包括倒车途径点的信息;采用第一目标曲线拟合所述终点、所述倒车途经点和所述换向点,得到所述目标路径;或者,In the case where the first key point information includes the end point information, determining that the first key point information includes information of a reversing path point; fitting the end point, the reversing path point and the turning point with a first target curve to obtain the target path; or 在所述第一关键点信息包括起点信息的情况下,确定所述第一关键点信息中未包括前向途径点的信息;采用第二目标曲线拟合所述起点、所述前向途径点和所述换向点,得到所述目标路径。In the case where the first key point information includes the starting point information, it is determined that the first key point information does not include information of the forward path point; and a second target curve is used to fit the starting point, the forward path point and the turning point to obtain the target path. 12.根据权利要求1所述的方法,其特征在于,还包括:12. The method according to claim 1, further comprising: 对所述目标路径进行平滑处理;Performing smoothing on the target path; 对所述平滑处理后的目标路径进行以下校验至少之一:第一校验处理,用于判断所述平滑处理后的目标路径是否在预设边界范围内;第二校验处理,用于判断所述平滑处理后的目标路径的终点和所述第一关键点信息中包括的终点的终点位置是否符合距离要求;第三校验处理,用于判断所述平滑处理后的目标路径的终点的朝向和所述第一关键点信息中包括的终点的终点朝向是否满足朝向要求;At least one of the following checks is performed on the target path after the smoothing process: a first check process is used to determine whether the target path after the smoothing process is within a preset boundary range; a second check process is used to determine whether the end point of the target path after the smoothing process and the end point position of the end point included in the first key point information meet the distance requirement; a third check process is used to determine whether the orientation of the end point of the target path after the smoothing process and the end point orientation of the end point included in the first key point information meet the orientation requirement; 确定通过校验的目标路径,并按照通过校验的目标路径控制目标自动驾驶车辆的行驶。A verified target path is determined, and the driving of the target autonomous driving vehicle is controlled according to the verified target path. 13.根据权利要求1或12所述的方法,其特征在于,所述换向点信息包括多个换向点,还包括:13. The method according to claim 1 or 12, characterized in that the reversal point information includes a plurality of reversal points, and further comprising: 获取第一用户指令,所述第一用户指令用于指示生成第一换向点;Acquire a first user instruction, where the first user instruction is used to instruct to generate a first reversal point; 根据所述第一换向点,生成所述多个换向点,所述多个换向点包括所述第一换向点;generating the plurality of reversing points according to the first reversing point, wherein the plurality of reversing points includes the first reversing point; 按照指定顺序,针对所述多个换向点中的各个换向点所对应的目标路径进行校验,直到得到至少一个通过校验的目标路径为止。According to a specified order, the target path corresponding to each of the plurality of switching points is verified until at least one target path that passes the verification is obtained. 14.一种路径生成装置,其特征在于,包括:14. A path generation device, comprising: 信息获取模块,用于获取第一关键点信息和换向点信息;其中,所述第一关键点信息包括起点信息和/或终点信息,所述起点信息包括起点的起点位置和起点朝向,所述换向点信息包括换向点的换向点位置和换向点朝向,所述终点信息包括终点的终点位置和终点朝向;An information acquisition module, used to acquire first key point information and turning point information; wherein the first key point information includes starting point information and/or end point information, the starting point information includes a starting point position and a starting point orientation of the starting point, the turning point information includes a turning point position and a turning point orientation of the turning point, and the end point information includes an end point position and an end point orientation of the end point; 策略确定模块,用于确定所述第一关键点信息相关的目标点,根据所述目标点的朝向和所述换向点信息对应的换向点朝向之间的关系,确定目标曲线拟合策略;a strategy determination module, configured to determine a target point related to the first key point information, and determine a target curve fitting strategy according to a relationship between an orientation of the target point and an orientation of a reversing point corresponding to the reversing point information; 路径拟合模块,用于按照所述目标曲线拟合策略,对所述第一关键点信息对应的关键点和所述换向点信息对应的换向点进行拟合,得到目标路径。A path fitting module is used to fit the key points corresponding to the first key point information and the turning points corresponding to the turning point information according to the target curve fitting strategy to obtain a target path.
CN202410732681.4A 2024-06-06 2024-06-06 Path generation method and device Active CN118310536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410732681.4A CN118310536B (en) 2024-06-06 2024-06-06 Path generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410732681.4A CN118310536B (en) 2024-06-06 2024-06-06 Path generation method and device

Publications (2)

Publication Number Publication Date
CN118310536A true CN118310536A (en) 2024-07-09
CN118310536B CN118310536B (en) 2024-08-09

Family

ID=91730434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410732681.4A Active CN118310536B (en) 2024-06-06 2024-06-06 Path generation method and device

Country Status (1)

Country Link
CN (1) CN118310536B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170364083A1 (en) * 2016-06-21 2017-12-21 Baidu Online Network Technology (Beijing) Co., Ltd. Local trajectory planning method and apparatus for smart vehicles
CN112414419A (en) * 2019-08-23 2021-02-26 上海汽车集团股份有限公司 Method and related device for planning lane change path of vehicle
CN113848898A (en) * 2021-09-17 2021-12-28 京东鲲鹏(江苏)科技有限公司 Path planning method, device, autonomous vehicle and storage medium
WO2022134515A1 (en) * 2020-12-25 2022-06-30 上海商汤临港智能科技有限公司 Reference trajectory point and reference trajectory generation methods, traveling method, and vehicle
WO2022148441A1 (en) * 2021-01-11 2022-07-14 长沙智能驾驶研究院有限公司 Vehicle parking planning method and apparatus, and device and computer storage medium
CN115230741A (en) * 2022-08-24 2022-10-25 北京领骏科技有限公司 Automatic driving track control method and related equipment
CN117091615A (en) * 2022-05-11 2023-11-21 广州汽车集团股份有限公司 Path planning method, path planning device, vehicle and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170364083A1 (en) * 2016-06-21 2017-12-21 Baidu Online Network Technology (Beijing) Co., Ltd. Local trajectory planning method and apparatus for smart vehicles
CN112414419A (en) * 2019-08-23 2021-02-26 上海汽车集团股份有限公司 Method and related device for planning lane change path of vehicle
WO2022134515A1 (en) * 2020-12-25 2022-06-30 上海商汤临港智能科技有限公司 Reference trajectory point and reference trajectory generation methods, traveling method, and vehicle
WO2022148441A1 (en) * 2021-01-11 2022-07-14 长沙智能驾驶研究院有限公司 Vehicle parking planning method and apparatus, and device and computer storage medium
CN113848898A (en) * 2021-09-17 2021-12-28 京东鲲鹏(江苏)科技有限公司 Path planning method, device, autonomous vehicle and storage medium
CN117091615A (en) * 2022-05-11 2023-11-21 广州汽车集团股份有限公司 Path planning method, path planning device, vehicle and storage medium
CN115230741A (en) * 2022-08-24 2022-10-25 北京领骏科技有限公司 Automatic driving track control method and related equipment

Also Published As

Publication number Publication date
CN118310536B (en) 2024-08-09

Similar Documents

Publication Publication Date Title
US12038753B2 (en) Speed planning method and apparatus, electronic device and storage medium
WO2023005223A1 (en) Trajectory planning method and apparatus, storage medium, device, and computer program product
EP4019899B1 (en) Method and apparatus for creating driving route of autonomous vehicle and computer program therefor
CN118746308A (en) A method and system for generating reference lines for autonomous driving at intersections based on navigation maps
CN118310536B (en) Path generation method and device
CN114115268A (en) Route generation method, apparatus, vehicle and storage medium
CN116045995B (en) Map generation system, method, vehicle and medium
CN116476840A (en) Lane changing driving method, device, equipment and storage medium
CN116552508A (en) Automatic parking control method, device, equipment and storage medium
CN112504276A (en) Path planning method and device, unmanned equipment and storage medium
CN114114930B (en) Method, device, equipment and medium for generating local reference path of automobile
CN116576874A (en) Vehicle driving path optimization method and device, electronic equipment and storage medium
CN114604274A (en) Curve target screening method, electronic equipment and storage medium
CN119043357A (en) Path planning method and device
CN111880521B (en) Vehicle control method and device, vehicle and electronic equipment
CN116295478B (en) Navigation method and device for vehicle
WO2021027966A1 (en) Traveling method, traveling device, and storage medium
CN114993331B (en) Route planning method, electronic device and storage medium
CN116481554A (en) Automatic driving path generation method, system, storage medium and equipment
CN116022148A (en) Vehicle lane change control method and device
CN115946713A (en) Vehicle driving assistance method and device, electronic device and storage medium
CN117470256B (en) Matching method, system and vehicle based on high-precision map and navigation map
CN119916730B (en) Vehicle control method, device, computer device and storage medium
CN119659610B (en) Speed control method, device, equipment and computer readable storage medium
CN119705453B (en) Variable road diameter planning method, variable road diameter planning device, vehicle and computer program product

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 8th Floor, Zijin Mining Headquarters Building, No.1 Sanhuan North Road, Chengbei Village, Lincheng Town, Shanghang County, Longyan City, Fujian Province 361000

Patentee after: Fujian Yikong Intelligent Driving Technology Co.,Ltd.

Country or region after: China

Address before: Unit 701B 7th Floor Building AB Dongsheng Building No 8 Zhongguancun East Road Haidian District Beijing

Patentee before: Beijing Easy Controlled Intelligent Driving Technology Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 8th Floor, Zijin Mining Headquarters Building, No.1 North Third Ring Road, Shanghang County, Longyan City, Fujian Province 364299

Patentee after: Yikong Intelligent Driving Technology Co.,Ltd.

Country or region after: China

Address before: 8th Floor, Zijin Mining Headquarters Building, No.1 North Third Ring Road, Chengbei Village, Lincheng Town, Shanghang County, Longyan City, Fujian Province

Patentee before: Fujian Yikong Intelligent Driving Technology Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 8th Floor, Zijin Mining Headquarters Building, No.1 North Third Ring Road, Shanghang County, Longyan City, Fujian Province 361000

Patentee after: Yikong Intelligent Driving Technology Co.,Ltd.

Country or region after: China

Address before: 8th Floor, Zijin Mining Headquarters Building, No.1 North Third Ring Road, Shanghang County, Longyan City, Fujian Province

Patentee before: Yikong Intelligent Driving Technology Co.,Ltd.

Country or region before: China