Path processing method, device control method, apparatus, device and medium

By optimizing path processing within the search area of ​​the movable device, the problem of unexpected routes in the teaching path is solved, the versatility and efficiency of path planning are improved, adapting to various working scenarios, and optimizing path planning and positioning mapping functions.

CN119413196BActive Publication Date: 2025-09-23CORECHENG (BEIJING) TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411546777.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2024-10-22
Filing Date
2024-10-31
Publication Date
2025-09-23
Estimated Expiration
2044-10-31

AI Technical Summary

Technical Problem

In the path planning of movable devices such as vehicles and robots, the driver's taught path is affected by various factors, resulting in unexpected routes such as S-shaped routes and reversing routes, which affects the effectiveness of assisted execution of path planning.

Method used

By determining the search area based on the original teaching path and environmental information of the movable device, and searching for the target teaching path that meets the search target within the area, the preset path search algorithm and smoothing algorithm are used to optimize the path, avoiding setting rules and adapting to various working conditions.

Benefits of technology

It improves the versatility and efficiency of teaching path processing, ensures the accuracy of path planning, adapts to various working scenarios, and optimizes path planning and positioning mapping functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119413196B_ABST
    Figure CN119413196B_ABST
Patent Text Reader

Abstract

The disclosed embodiments provide a path processing method, a device control method, an apparatus, a device, and a medium, and relate to the field of computer technology. The path processing method includes: determining a search area containing the original teaching path based on the original teaching path of the movable device and the environmental information corresponding to the original teaching path; searching for a target teaching path that meets the search target in the search area based on a preset search target; the original teaching path is the driving path of the movable device under manual operation, and the search area is the area that the movable device can travel through. In this way, a new method for processing the teaching path can be provided, which does not require setting rules and can adapt to various working conditions, thereby improving the versatility and processing efficiency of the teaching path processing.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This disclosure claims priority to a Chinese patent application filed with the Patent Office of China on October 22, 2024, with application number 202411482140.7 and application name “Path processing method, device, removable device and storage medium,” the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present disclosure relates to the field of computer technology, and more specifically, to a path processing method, a device control method, an apparatus, a device, and a medium. Background Art

[0003] When planning the path of a movable device such as a vehicle or robot, in order to improve the accuracy of the path planning, a teaching path can be used to assist in decision-making planning. Taking the path planning of a vehicle as an example, the teaching path can be the original driving path obtained by the driver in advance while driving the vehicle as the teaching path. Based on the teaching path, the path planning is assisted to achieve high-level assisted driving functions such as memory parking and / or memory driving. However, in actual applications, the quality of the driver's teaching path is affected by various reasons. There is a certain probability that unexpected routes such as S-shaped routes and reversing routes will appear, which will affect the effect of the assisted execution of path planning. Summary of the Invention

[0004] In view of this, the embodiments of the present disclosure propose a new technical solution for path processing.

[0005] According to a first aspect of an embodiment of the present disclosure, a path processing method is provided, the method comprising:

[0006] Determining a search area containing the original taught path based on an original taught path of the movable device and environmental information corresponding to the original taught path; wherein the original taught path is a path along which the movable device travels under manual operation, and the search area is an area through which the movable device can travel;

[0007] Based on a preset search target, a target teaching path that meets the search target is searched in the search area.

[0008] Optionally, determining a search area including the original teaching path according to the original teaching path of the movable device and environmental information corresponding to the original teaching path includes:

[0009] determining a movement boundary corresponding to the original teaching path according to environmental information of the original teaching path;

[0010] A search area including the original teaching path is determined according to the movement boundary and the original teaching path.

[0011] Optionally, the moving boundary includes a first side boundary point set located on a first side of the original taught path and a second side boundary point set located on a second side of the original taught path; and determining the search area including the original taught path based on the moving boundary and the original taught path includes:

[0012] Determining a set of candidate path points corresponding to the original taught path; wherein the set of candidate path points includes a plurality of candidate path points, and a distance between two adjacent candidate path points in an extension direction of the original taught path is within a preset distance range;

[0013] For a candidate path point in the candidate path point set, determining a candidate area corresponding to the candidate path point based on a first side boundary point and a second side boundary point corresponding to the candidate path point, thereby obtaining a plurality of candidate areas corresponding to the plurality of candidate path points; wherein the first side boundary point corresponding to the candidate path point is a boundary point in the first side boundary point set that is closest to the candidate path point, and the second side boundary point corresponding to the candidate path point is a boundary point in the second side boundary point set that is closest to the candidate path point;

[0014] A set of the multiple candidate areas is used as the search area.

[0015] Optionally, determining the candidate area corresponding to the candidate path point according to the first side boundary point and the second side boundary point corresponding to the candidate path point includes:

[0016] A first region is formed with the middle position of a line segment formed by the first side boundary point and the second side boundary point as the center of a circle and the length of the line segment as the diameter, and the first region is used as the candidate region; or

[0017] A second area is formed with the candidate path point as the center and the specified length as the radius, and the second area is used as the candidate area; wherein the specified length is the minimum value between the preset radius and the minimum boundary distance, and the minimum boundary distance is the minimum distance between the candidate path point and the first side boundary point and the second side boundary point.

[0018] Optionally, determining a set of candidate path points corresponding to the original taught path includes:

[0019] According to the intervals between adjacent original path points in the extension direction of the original teaching path, the original path points are added and / or deleted to obtain the candidate path point set, so that the distance between two adjacent candidate path points in the candidate path point set is within the preset distance range.

[0020] Optionally, the step of searching for a target teaching path that meets a preset search target in the search area includes:

[0021] Taking the position points in the search area as nodes to be searched, and searching the nodes to be searched based on a preset path search algorithm to obtain a target teaching path that meets the search target;

[0022] In which, the preset path search algorithm includes a first cost function and / or a second cost function, the first cost function is used to determine the first cost from the node to be searched to the end point of the original taught path according to the index of the node to be searched and the number of candidate areas contained in the search area, the index of the node to be searched is the maximum value of the indexes of one or more candidate areas to which the node to be searched belongs, and the index of the candidate area is the index determined according to the order of the candidate path points in the candidate path point set; the second cost function is used to determine the second cost from the starting point of the original taught path to the node to be searched according to the distance and smoothness between the node to be searched and the current node, and the distance between the center position of the candidate area where the node to be searched is located and the node to be searched.

[0023] Optionally, the preset path search algorithm further includes kinematic parameters of the movable device, and the kinematic parameters are used to make the node to be searched closer to the end point relative to the current node.

[0024] Optionally, the step of searching for a target teaching path that meets a preset search target in the search area includes:

[0025] Searching within the search area based on a preset path search algorithm to obtain a plurality of target nodes on the shortest path from the starting point to the end point of the original teaching path;

[0026] The multiple target nodes are smoothed based on a preset smoothing algorithm to obtain the target teaching path.

[0027] Optionally, the preset smoothing algorithm is a pure tracking control algorithm, and / or the preset path search algorithm is an A-star search algorithm.

[0028] According to a first aspect of an embodiment of the present disclosure, a device control method is provided, the method comprising:

[0029] determining a target teach path corresponding to the first movable device;

[0030] controlling the first movable device to travel according to the target taught path;

[0031] Among them, the target teaching path is a path obtained by searching in a search area containing an original teaching path based on a preset search target, the original teaching path is the driving path of the second movable device under manual operation, and the search area is an area that the second movable device can travel through, determined based on the original teaching path and environmental information corresponding to the original teaching path.

[0032] According to a third aspect of an embodiment of the present disclosure, a path processing device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as described in any one of the first aspects.

[0033] According to a fourth aspect of an embodiment of the present disclosure, a device control device is provided, which includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as described in any one of the second aspects.

[0034] According to a fifth aspect of an embodiment of the present disclosure, a movable device is provided, which includes the path processing device as described in the third aspect, or the device control device as described in the fourth aspect.

[0035] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it implements the path processing method as described in any one of the first aspects, or the device control method as described in any one of the second aspects.

[0036] Based on the path processing method provided by the embodiment of the present disclosure, a search area containing the original teaching path of the movable device and the environmental information corresponding to the original teaching path is determined; based on a preset search target, a target teaching path that meets the search target is searched in the search area. The original teaching path is the driving path of the movable device under manual operation, and the search area is the area that the movable device can travel through. This provides a new method for processing the teaching path, which does not require setting rules and can adapt to various working conditions, thereby improving the versatility and processing efficiency of the teaching path processing.

[0037] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0039] Figure 1 The present invention is a schematic diagram of an intelligent connected system to which the method provided by the embodiment of the present disclosure can be applied.

[0040] Figure 2 is based on Figure 1 The illustrated embodiment provides a schematic diagram of a movable device.

[0041] Figure 3 It is a flowchart of a path processing method provided by an embodiment of the present disclosure.

[0042] Figure 4 Schematic diagram of an original teaching path and moving boundary provided by an embodiment of the present disclosure.

[0043] Figure 5 This is a schematic diagram showing a search area provided by an embodiment of the present disclosure.

[0044] Figure 6 This is a schematic diagram of a path processing provided by an embodiment of the present disclosure.

[0045] Figure 7 It is a schematic diagram of another path processing provided by an embodiment of the present disclosure.

[0046] Figure 8 It is a flowchart of another path processing method provided by an embodiment of the present disclosure.

[0047] Figure 9 It is a flow chart of a device control method provided by an embodiment of the present disclosure.

[0048] Figure 10 It is a structural diagram of a path processing device provided by an embodiment of the present disclosure.

[0049] Figure 11 It is a structural diagram of a device control device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0050] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure.

[0051] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0052] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, methods, and equipment should be considered part of the specification.

[0053] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0054] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0055] First, the application scenarios of the embodiments of the present disclosure are described.

[0056] Figure 1 Schematic diagram of an intelligent connected system 100 to which the method provided by the embodiment of the present disclosure can be applied. Figure 1 As shown, the intelligent connected system 100 may include: a mobile device 101, a server 102, and a user terminal 103.

[0057] In some examples, the movable device 101 can be a movable device such as a vehicle or a robot, for example, a vehicle with an autonomous driving function, a robot that can move autonomously, etc. Among them, autonomous driving is also called unmanned driving or intelligent driving. Vehicles with autonomous driving functions can achieve driving tasks such as environmental perception, decision planning and control execution. The level of autonomous driving can refer to the automobile intelligence classification standard formulated by the Society of Automotive Engineers (SAE). For example, L0 is manual driving, L1 is assisted driving, L2 is partial autonomous driving, L3 is conditional autonomous driving, L4 is highly autonomous driving, and L5 is fully autonomous driving. The above classification method of autonomous driving levels is only for example, and the embodiments of this disclosure do not limit the classification standards and levels of autonomous driving.

[0058] In some examples, the server 102 can be a single server or a distributed server cluster consisting of multiple servers, and its deployment method can include a local server or a cloud server. The server 102 can communicate with the mobile device 101 and / or the user terminal 103 based on the communication network and provide various services to the mobile device 101 and / or the user terminal 103. For example, the server can receive perception data sent by the mobile device and provide services such as high-precision maps, data analysis, decision-making planning, etc. to the mobile device. For another example, the server can receive query instructions or control instructions sent by the user terminal and provide corresponding services to the user.

[0059] In some examples, the user terminal 103 can be any form of electronic device that provides services to users, such as a personal computer, a laptop computer, a smart tablet, a smart phone, a smart wearable device, etc. The user can interact with the mobile device or server through the human-computer interaction terminal configured by the mobile device 101, or can interact with the mobile device or server through the user terminal 103, for example, querying the status and / or parameters of the mobile device through the user terminal, or controlling the mobile device to perform set tasks and / or modify configuration parameters, etc.; wherein the user terminal runs an application based on the intelligent network system to achieve interaction with the mobile device or server, and the application can be a local application, a web application, or a mini-program, etc., which is not limited here.

[0060] In some examples, the above application running on the user terminal can provide authentication or authorization services for the user. The user who is successfully authenticated and granted the corresponding authority can query and / or control the removable device within the scope of the granted authority.

[0061] The mobile device 101, the server 102, and the user terminal 103 can communicate with each other through a communication link provided by a communication network 104. The communication network 104 may include one or more networks of any type. For example, the communication network 104 may include a network providing communication such as the Internet, a local area network (LAN), a wide area network (WAN), a virtual private network (VPN), a public switched telephone network (PSTN), a satellite communication network, Wi-Fi, 2G, 3G, 4G, 5G, 6G, NB-IoT, eMTC, infrared, Bluetooth, NFC, or a combination of the above multiple networks. The communication networks between the mobile device 101 and the server 102, between the user terminal 103 and the server 102, and between the user terminal 103 and the mobile device 101 may be the same or different.

[0062] It should be noted that Figure 1 The structure of the intelligent connected system 100 shown in FIG is merely illustrative. The intelligent connected system in the embodiments of the present disclosure is not limited to the above structure and may include more or fewer devices as needed, and devices may be combined or separated. For example, the intelligent connected system may not include user terminals and / or servers; for another example, user terminals and servers may be deployed together.

[0063] Figure 2 is based on Figure 1 The embodiment shown is a schematic diagram of a mobile device 101. Figure 2As shown, the mobile device 101 may include a perception component 1011, a computing platform 1012, an execution component 1013, etc. The perception component 1011, the computing platform 1012, and the execution component 1013 may be connected via a bus or other means.

[0064] In some examples, the perception component 1011 can be used to collect information about the movable device itself or outside of it. The perception component 1011 may include at least one of a visual sensing unit, a radar, a positioning and navigation unit, an inertial measurement unit (IMU), or other sensing units. The visual sensor unit may include one or more cameras, the radar may include at least one of a lidar, a millimeter-wave radar, an ultrasonic radar, or other radars, and the positioning and navigation unit may include at least one of a GPS system, a Beidou system, or other global positioning systems.

[0065] In some examples, the computing platform 1012 may include a device with computing capabilities for processing the perception information collected by the perception component 1011 to obtain control information, and sending corresponding control instructions to the execution component 1013 so that the execution component 1013 performs corresponding actions, thereby achieving control of the mobile device 101. For example, the computing platform 1012 can perform positioning and mapping (Simultaneous Localization and Mapping, SLAM), path planning, behavior decision-making and other behaviors on the mobile device, thereby achieving autonomous control of the mobile device. The computing platform 1012 may include at least one processor and at least one memory, and each processor may execute instructions stored in the memory individually or collectively to implement the method provided in the embodiment of the present disclosure. The processor in the embodiment of the present disclosure may include at least one of a central processing unit (CPU), a graphic processing unit (GPU), a field programmable gate array (FPGA), a system on chip (SOC), an application specific integrated circuit (ASIC), a microcontroller unit (MCU) or other processors. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. In addition to storing instructions, the memory can also store data, such as high-precision maps, path information, the location, direction, speed and other data of movable devices. The data stored in the memory can be accessed and used by the processor.

[0066] In some examples, the computing platform of the mobile device can independently perform computing tasks, or can communicate with a server to complete computing tasks. For example, the computing platform of the mobile device can cooperate with the server to complete corresponding computing tasks.

[0067] The computing platform 1012 can be set in the mobile device 101, and part or all of the computing platform 1012 can also be set in the server corresponding to the mobile device. For example, some functions of the computing platform 1012 with higher real-time requirements are set in the mobile device, and other functions with lower real-time requirements are set in the server corresponding to the mobile device.

[0068] In some examples, the execution component 1013 is used to execute corresponding actions based on the control of the computing platform 1012, so that the movable device 101 completes the movement task. The execution component 1013 may include, for example, a power component, a brake component, a transmission component, a steering component, and the like.

[0069] It should be noted that Figure 2 The structure of the mobile device 101 shown in the figure is merely illustrative. The mobile device in the embodiments of the present disclosure is not limited to the above structure and may include more or fewer components as needed. The device may also be combined or split. For example, the mobile device may not include the computing platform described above. For another example, the mobile device may also include a communication component, an interface component, a multimedia component, an input component, an output component, etc.

[0070] The disclosed embodiments can be applied to processing a taught path of a movable device to obtain a target taught path. This target taught path can be used to control the movable device. For example, path planning and / or positioning mapping can be performed for the movable device based on the processed target taught path.

[0071] The original taught path is typically the path that a mobile device would follow under manual operation. Because manual operation is affected by various objective factors, the original taught path obtained in actual applications may have a certain probability of exhibiting unexpected paths, such as S-shaped or reverse movements, and may not necessarily be the shortest path. Without addressing these issues, it is difficult to meet the requirements of path planning and / or positioning mapping.

[0072] In related technologies, local adjustments can be made to the original teaching path based on rules. For example, pre-defined processing rules can be used to remove unexpected paths such as S-shaped and reverse paths from the original teaching path, thereby obtaining a teaching path that meets the requirements of the rules. However, this method requires a large number of pre-defined rules to process the original teaching path, and the rules have limited capabilities and poor versatility.

[0073] In response to the problems of related technologies, the embodiments of the present disclosure provide a new processing solution for the teaching path. This solution can determine the search area based on the original teaching path, and search for the target teaching path that meets the search target in the search area. Therefore, there is no need to set rules, and it can adapt to various working conditions, thereby improving the versatility and efficiency of teaching path processing.

[0074] Figure 3 This is a flow chart of a path processing method provided by an embodiment of the present disclosure. The path processing method can be Figure 1 The mobile device and / or server shown is executed. Figure 3As shown, the path processing method of this embodiment may include the following steps S310 to S320.

[0075] Step S310 : determining a search area including the original teaching path according to the original teaching path of the movable device and the environmental information corresponding to the original teaching path.

[0076] The original teaching path may be a path that the movable device travels along when manually operated. For example, if the movable device is a vehicle, the original teaching path may be an original path that the driver drives the vehicle.

[0077] The environmental information may include environmental information used to determine the area through which the mobile device can travel. For example, the environmental information may include surrounding environmental information measured by sensors while the mobile device is traveling along the original taught path, and / or surrounding environmental information of the original taught path obtained based on high-definition map information. The surrounding environmental information may include environmental information within an area less than or equal to a preset maximum distance from the original taught path. In some examples, the environmental information may include at least one of road information, lane information, and obstacle information.

[0078] The search area can be an area that the mobile device can traverse. That is, the search area is all or part of an area that the mobile device can continuously traverse from any position on the original taught path. The scope of the search area can be larger than the scope of the original taught path to provide more path points to choose from.

[0079] For example, a target area that a movable device can travel through from any position on the original taught path can be determined based on environmental information, and an area consisting of position points in the target area and whose distance from the original driving path is less than a preset maximum distance is used as a search area.

[0080] Step S320 : Based on the preset search target, a target teaching path that meets the search target is searched in the search area.

[0081] The search objective may include at least one of a path length objective, a smoothness objective, and a search algorithm. For example, the search objective may include searching for the shortest path from the starting point to the end point of the original taught path; another example may include searching for the shortest path from the starting point to the end point that satisfies a smoothness requirement; another example may include the preset path search algorithm used and the constraints of the preset path search algorithm.

[0082] It should be noted that the target teaching path can be the same as or different from the original teaching path. For example, if the original teaching path contains unexpected routes such as S-shaped, reverse, or circular paths, the target teaching path obtained by searching the search area based on the search target can remove these unexpected routes to obtain the shortest path from the starting point to the end point.

[0083] The above method provides a new method for processing the teaching path, which does not require setting rules and can adapt to various working scenarios, thereby improving the versatility and efficiency of teaching path processing.

[0084] In some embodiments, the target teaching path can be used to assist in executing one or more functions such as path planning, positioning and mapping, memory parking, and memory driving. In this way, the performance of the corresponding function can be improved by optimizing the teaching path.

[0085] In some embodiments, the above step S310 can be performed during the process of generating the original teaching path, or after the original teaching path is generated. For example, in the process of manually operating the movable device to generate the original teaching path, the search area can be determined based on the currently acquired portion of the original teaching path and the corresponding environmental information. For another example, after the movable device is manually operated to drive and generate the complete original teaching path and the environmental information corresponding to the original teaching path, the search area containing the original teaching path can be determined based on the original teaching path and the environmental information.

[0086] In some embodiments of the present disclosure, the above step S310 may include the following steps S3101 and S3102:

[0087] Step S3101: Determine a movement boundary corresponding to the original teaching path according to the environmental information of the original teaching path.

[0088] Among them, the moving boundary can be a boundary formed by multiple position points that the movable device can travel through from the original teaching path and are farthest from the original teaching path, that is, the moving boundary can be a boundary formed by the boundary points in the radial direction of the original teaching path and closest to the original teaching path, and the boundary points can be road boundary points, lane boundary points or boundary points of static obstacles. For example, the moving boundary can include a road boundary, a lane boundary or a boundary formed by a static obstacle, and the moving boundary can be determined based on the road information, lane information or static obstacle information in the environmental information, for example, the road boundary, lane boundary or static obstacle boundary is obtained based on the image recognition algorithm. Optionally, the environmental information of the original teaching path may also include the moving boundary, so that the moving boundary can be directly obtained without re-identification.

[0089] In some embodiments, the search area may be all or part of the area enclosed by the moving boundary.

[0090] Figure 4 Schematic diagram of an original teaching path and moving boundary provided by an embodiment of the present disclosure. Figure 4 The scene involved is a parking lot scene, where P is a parking space, the solid line is the original teaching path 210, and the dotted lines are moving boundaries 221 and 222. The two moving boundaries 221 and 222 are respectively located on both sides of the original teaching path.

[0091] Step S3102: Determine a search area including the original teaching path according to the moving boundary and the original teaching path.

[0092] In this way, it can be ensured that the search area determined based on the moving boundary and the original teaching path is an area that the movable device can travel through, and the target teaching path searched in the search area is a path that the movable device can travel, thereby improving the accuracy of the teaching path processing.

[0093] In some embodiments, the distance between the movement boundary and the original taught path can be set to be less than or equal to a preset maximum distance. This preset maximum distance can be a user-configured distance. Alternatively, the preset maximum distance can be determined based on the maximum detectable distance of the mobile device's sensors, for example, it can be equal to the maximum detectable distance. Alternatively, the preset maximum distance can be determined based on the mobile device's dimensional parameters, which can be any of its length, width, or wheelbase. Taking the wheelbase as an example, the preset threshold can be N times the wheelbase, where N is greater than or equal to 1. Alternatively, N can be less than or equal to 5. Thus, by constraining the distance between the search area and the original taught path using a preset threshold, the search area can be prevented from being too large, the search computational complexity can be reduced, and search efficiency can be improved. For example, if the preset maximum distance of the original taught path does not include environmental factors that affect the movement of the mobile device, such as road boundaries, lane boundaries, and boundaries formed by static obstacles, then the distance between the movement boundary and the original taught path is determined to be the preset maximum distance. This can avoid determining an excessively large movement boundary in open areas, preventing an overly large search area determined based on the movement boundary, and improving search efficiency and the efficiency of taught path processing.

[0094] In some embodiments of the present disclosure, the movement boundary may include a first side boundary point set located on a first side of the original teaching path and a second side boundary point set located on a second side of the original teaching path. The first side and the second side may be the left side and the right side of the extension direction of the original teaching path, respectively.

[0095] The above step S3102 may include the following steps S31021 to S31023:

[0096] Step S31021, determine the set of candidate path points corresponding to the original teaching path.

[0097] The candidate path point set includes a plurality of candidate path points, and the distance between two adjacent candidate path points in the extension direction of the original teaching path is within a preset distance range. The preset distance range can be any distance range pre-set by the user.

[0098] In some examples, the candidate pathpoint can be represented by (x, y, theta), where x represents the horizontal position of the candidate pathpoint, typically a horizontal distance relative to the starting point; y represents the vertical position of the candidate pathpoint, typically a vertical distance relative to the starting point; and theta represents the orientation of the movable device at the candidate pathpoint (x, y), typically expressed as an angle that describes the direction of the movable device. This angle is typically relative to true north or the positive x-axis of the coordinate system.

[0099] In some examples, the original path points of the original taught path may be densified and / or de-densified to obtain the candidate path point set, such that the distance between two adjacent candidate path points is within a preset distance range. For example, the original path points may be added and / or deleted based on the spacing between adjacent original path points in the extension direction of the original taught path to obtain the candidate path point set, such that the distance between two adjacent candidate path points in the candidate path point set is within the preset distance range.

[0100] In one implementation, the preset distance range may include a threshold value less than or equal to a maximum distance. If the distance between two adjacent original path points is greater than the maximum distance threshold, a new path point may be inserted between the two adjacent original path points, with the inserted new path point being adjacent to each of the two original path points, such that the distance between two adjacent candidate path points in the candidate path point set satisfies the preset distance range. This prevents excessive distances between adjacent path points from affecting path processing accuracy.

[0101] In another implementation, the preset distance range may include a minimum distance threshold that is greater than or equal to the minimum distance threshold. If the distance between two adjacent original path points is less than the minimum distance threshold, one of the original path points may be deleted so that the distance between the two adjacent candidate path points in the candidate path point set meets the preset distance range. This prevents the efficiency of path processing from being affected by a small distance between adjacent path points.

[0102] In another implementation, the preset distance range may include less than or equal to a maximum distance threshold and greater than or equal to a minimum distance threshold, and the original path points may be added and / or deleted according to the preset distance range to obtain a set of candidate path points.

[0103] The above-mentioned minimum distance threshold and maximum distance threshold may be pre-set distance thresholds, and the minimum distance threshold is smaller than the maximum distance threshold. Optionally, the minimum distance threshold and / or maximum distance threshold may be determined based on the external dimension parameters of the movable device, and the external dimension parameters may be the length or width of the movable device, or the external dimension parameters may be the front and rear wheelbase of the movable device. For example, the maximum distance threshold may be set to the value of the external dimension parameters of the movable device; for another example, the maximum distance threshold may be set to C1 times the external dimension parameters of the movable device, and the maximum distance threshold may be set to C2 times the external dimension parameters of the movable device. Wherein, C1 may be a value greater than or equal to 1, such as 1.1 or 1.5; C2 may be any value less than 1, such as 0.5 or 0.8.

[0104] Step S31022: For a candidate path point in the candidate path point set, determine the candidate area corresponding to the candidate path point based on the first side boundary point and the second side boundary point corresponding to the candidate path point, and obtain multiple candidate areas corresponding to the multiple candidate path points.

[0105] Among them, the first side boundary point corresponding to the candidate path point is the boundary point closest to the candidate path point in the first side boundary point set, and the second side boundary point corresponding to the candidate path point is the boundary point closest to the candidate path point in the second side boundary point set.

[0106] The specific implementation of step S31022 includes any one of the following methods 1 or 2:

[0107] Method 1: Use the middle position of the line segment formed by the first side boundary point and the second side boundary point as the center of the circle and the length of the line segment as the diameter to form a first region, which can also be called a first circular region or a first channel circle.

[0108] Method 2: With the candidate path point as the center and a specified length as the radius, a second area is formed, and the second area is used as the candidate area; wherein the specified length is the minimum value between the preset radius and the minimum boundary distance, and the minimum boundary distance is the minimum distance between the candidate path point and the first side boundary point and the second side boundary point. This second area can also be referred to as a second circular area or a second channel circle. Optionally, the implementation method of the preset radius can refer to the implementation method of the preset maximum distance in the aforementioned embodiment of the present disclosure, and will not be repeated here.

[0109] The above channel circle (the first channel circle or the second channel circle) can be represented by (x, y, radius, floor_index), where x represents the horizontal position of the channel circle's center, usually a horizontal distance relative to the starting point; y represents the vertical position of the channel circle's center, usually a vertical distance relative to the starting point; radius represents the radius of the channel circle, and floor_index represents the floor, which defaults to 0. Floor_index is optional.

[0110] Step S31023: taking a set of multiple candidate areas as a search area.

[0111] Figure 5 This is a schematic diagram of a search area provided by an embodiment of the present disclosure. Figure 5 The scenario involved is a parking lot scenario, where P is a parking space. Based on the original teaching path 210 and the moving boundaries 221 and 222 on both sides of the original teaching path, multiple channel circles can be determined. Each channel circle is a candidate area corresponding to a candidate path point. The collection of multiple candidate areas forms a search area. It should be noted that Figure 5 The channel circle shown can be generated based on the above-mentioned method 1 or method 2.

[0112] In this way, through the above steps S31021 to S31023, a search area including the original teaching path can be determined according to the moving boundary and the original teaching path, so as to search for a target teaching path that meets the search target within the search area.

[0113] In some embodiments, the above step S320 can be implemented in the following manner: taking the position points in the search area as the nodes to be searched, and searching the nodes to be searched based on a preset path search algorithm to obtain a target teaching path that meets the search target.

[0114] The preset path search algorithm may be a heuristic path search algorithm, such as an A-star search algorithm, a Dijkstra algorithm, a BFS (Breadth-First Search) search algorithm, and the like.

[0115] In some examples, the preset path search algorithm may include a first cost function and / or a second cost function, and the search target is achieved through the first cost function and / or the second cost function.

[0116] The first cost function may be used to determine a first cost from the node to be searched to the end point according to the index of the node to be searched and the number of candidate regions included in the search region.

[0117] Among them, the index of the node to be searched is the maximum value of the index of one or more candidate areas to which the node to be searched belongs, and the index of the candidate area is the index determined according to the order of the candidate path points in the candidate path point set. For example, the multiple candidate path points in the above-mentioned candidate path point set may include the starting point and the end point of the original teaching path. Optionally, the index of each candidate path point can be determined according to the order of the multiple candidate path points in the candidate path point set. The order can be the order in the extension direction of the original teaching path, such as the extension order from the end point to the end point. The index of the starting point can be set to the minimum index (for example, 1), and the index of the candidate path points in the extension direction can be set to 2, 3, ..., N in sequence, where N is the index of the end point and is also the maximum index of the multiple candidate path points. Further, the index of each candidate path point can be used as the index of the candidate area corresponding to the candidate path point.

[0118] It should be noted that due to the presence of overlapping candidate regions, if the node to be searched belongs to only one candidate region, the index corresponding to the node to be searched is the index of the candidate region to which the node to be searched belongs. If the node to be searched belongs to multiple candidate regions, the index corresponding to the node to be searched is the maximum value among the indices of the multiple candidate regions to which the node to be searched belongs.

[0119] For example, the first cost function can be expressed by the following formula (1):

[0120] h cost =1-node index / max index (1)

[0121] Among them, h cost Indicates the first cost of the node to be searched, node index Indicates the index of the node to be searched, max index Indicates the number of candidate regions contained in the search area.

[0122] Using this first cost function, the first cost from the node to be searched to the end point can be determined. This first cost can also be called a heuristic cost. The closer the index of the candidate region where the node to be searched is to the total number of candidate regions, the smaller the first cost. The smaller the first cost of the node to be searched, the higher the priority of the node to be searched as the target node on the target teaching path. For example, during the search process, a "heap" data format can be used for processing. The nodes to be searched with larger first costs are ranked lower in the heap, while the nodes to be searched with smaller first costs are ranked higher in the heap. The nodes to be searched at higher positions will be preferentially selected as the target nodes on the target teaching path.

[0123] The first cost function can be used to determine the shortest path from the starting point to the end point of the original teaching path, reducing the impact of non-shortest paths caused by circling or reversing in the teaching path.

[0124] The above second cost function can be used to determine the second cost from the starting point to the node to be searched based on the distance and smoothness between the node to be searched and the current node, and the distance between the center position of the candidate area where the node to be searched is located and the node to be searched.

[0125] For example, the second cost function can be expressed by the following formula (2):

[0126] g cost ( n )=dis cost +kappa cost +circle cost +g cost(n-1) (2)

[0127] Among them, g cost(n) Indicates the second cost of the node to be searched, dis cost Indicates the distance between the node to be searched and the current node (such as Euclidean distance), kappa cost Indicates the smoothness between the node to be searched and the current node, circle cost Indicates the distance between the center of the candidate area where the node to be searched is located and the node to be searched, g xost(n-1) Indicates the second cost of the current node.

[0128] In some embodiments, the preset path search algorithm may further include kinematic parameters of the movable device, which may be used to move the node to be searched closer to the end point relative to the current node, thereby allowing the node expansion during the search process to only expand forward.

[0129] For example, the kinematic parameters may include a maximum steering angle. By setting the maximum steering angle within a certain range, the node can be constrained to only expand forward.

[0130] The effects of the path processing method provided in the embodiment of the present disclosure are illustrated by two specific examples as follows:

[0131] Figure 6 This is a schematic diagram of a path processing provided by an embodiment of the present disclosure. Figure 6 The scenario involved is a parking lot scenario, where P is a parking space. Based on the original teaching path 210 and the moving boundaries 221 and 222 on both sides corresponding to the original teaching path, multiple channel circles can be determined. Each channel circle is a candidate area corresponding to a candidate path point, and the collection of multiple candidate areas forms a search area.

[0132] In this embodiment, there are multiple reversing points in the original teaching path. The second type of channel circle corresponding to the candidate path point of the reversing point is represented by a dotted circle, and the first type of channel circle corresponding to the candidate path point of the non-reversing point is represented by a solid circle. The search area includes the first type of channel circle represented by the solid circle and the second type of channel circle represented by the dotted circle. Using the path processing method provided by the embodiment of the present disclosure, no matter how many times the reversing points are added, multiple channel circles are added within a range. Since there will be overlaps between the channel circles, the traversable space (search area) represented by them does not essentially increase or decrease. The search is performed within the search area. As long as the search area does not change significantly, the search results are consistent. Therefore, no matter how many times the reversing is added, using the path processing method of the aforementioned embodiment of the present disclosure, based on Figure 6 The original taught path and moving boundary shown can generate a target taught path formed by the target node, and both can search for a forward path, thereby filtering out reverse paths through path search. It should be noted that the above-mentioned first-type channel circles and second-type channel circles are for convenience of description, and the step of determining the candidate area (e.g., channel circle) corresponding to the candidate path point does not need to distinguish between types.

[0133] Figure 7 This is a schematic diagram of a path processing provided by an embodiment of the present disclosure. Figure 7 The scenario involved is a parking lot scenario, where P is a parking space. Based on the original teaching path and the moving boundary corresponding to the original teaching path, multiple channel circles can be determined. Each channel circle is a candidate area corresponding to a candidate path point, and the collection of multiple candidate areas forms a search area.

[0134] In this embodiment, the original teaching path circles in a specific area (three circles in the figure). In the circle area, there will be multiple candidate path points and their corresponding candidate areas (channel circles). Different channel circles will have repeated areas. In this way, different nodes to be searched will correspond to multiple channel circles.

[0135] Based on the above-mentioned first cost function, when the first cost of the node to be searched in each channel circle is determined according to the index of the node to be searched, that is, the maximum value of the index of one or more candidate areas to which the node to be searched belongs, when the current node is the node J1 in the graph, the next node of the current node can be searched in the first channel circle Z1 and the second channel circle Z2, wherein the first channel circle Z1 is a first type of channel circle, and the first type of channel circle is represented by a solid circle in the figure, and the second channel circle Z2 is a second type of channel circle, and the second type of channel circle is represented by a dotted circle in the figure. Since the first channel circle Z1 is closer to the end point, the index of the first channel circle Z1 is greater than the index of the second channel circle Z2. After calculating the first cost based on the first cost function, the first cost of the node in the first channel circle Z1 is less than the first cost of the node in the second channel circle Z2. Therefore, the node in the first channel circle Z1 will be prioritized as the next target node of the current node. In this way, the second type of channel circle represented by the dotted circle formed by the circle can be skipped, and the next target node can be searched from the first channel circle Z1 in the first type of channel circle represented by the solid circle extending toward the end point, and the end point is finally found, thereby achieving the purpose of generating the shortest path. It should be noted that the above-mentioned first type channel circle and second type channel circle are for the convenience of description, and there is no need to distinguish between types in the step of determining the candidate area (such as the channel circle) corresponding to the candidate path point.

[0136] In some embodiments of the present disclosure, the above-mentioned path processing related information can be displayed through an interface, and the related information can include at least one of the above-mentioned original teaching path, moving boundary, candidate path point, candidate area, search area, target teaching path, and target node. For example, the above-mentioned related information can be displayed through the interface of a vehicle display, a mobile phone APP, or a computer client. The displayed interface can be as follows: Figures 4 to 7 In this way, users can intuitively observe the relevant information of path processing.

[0137] Figure 8 FIG. 1 is a flow chart of another path processing method provided by an embodiment of the present disclosure. Figure 8 As shown, the path processing method of this embodiment may include the following steps S810 to S830.

[0138] Step S810 : determining a search area including the original teaching path according to the original teaching path of the movable device and the environmental information corresponding to the original teaching path.

[0139] In some embodiments, step S810 may include the following steps S811 to S814:

[0140] Step S811 , performing densification and / or dedensification operations on the original path points of the original teaching path to obtain a set of candidate path points, so that the distance between two adjacent candidate path points is within a preset distance range.

[0141] Step S812: traverse each candidate path point in the candidate path point set, and extract a first side boundary point and a second side boundary point corresponding to the candidate path point from the moving boundary determined based on the environmental information.

[0142] The moving boundary determined based on the environmental information may include a first side boundary point set located on a first side of the original teaching path and a second side boundary point set located on a second side of the original teaching path, wherein the first side and the second side may be the left side and the right side of the extension direction of the original teaching path, respectively. The first side boundary point corresponding to the candidate path point is the boundary point in the first side boundary point set that is closest to the candidate path point, and the second side boundary point corresponding to the candidate path point is the boundary point in the second side boundary point set that is closest to the candidate path point.

[0143] Step S813: For each candidate path point in the candidate path point set, determine the candidate area corresponding to the candidate path point based on the first side boundary point and the second side boundary point corresponding to the candidate path point, and obtain multiple candidate areas corresponding to the multiple candidate path points.

[0144] For example, based on the first side boundary point and the second side boundary point corresponding to each candidate path point, the candidate path point is moved to the middle position of the two boundary points as the center of the channel circle, and the channel circle is generated as the candidate area.

[0145] Step S814: taking a set of multiple candidate regions as a search region.

[0146] The candidate area may be a channel circle, and the search area may be a channel circle set.

[0147] In some embodiments, the specific implementation of step S810 can also refer to the description of step S310 in the aforementioned embodiment of the present disclosure, and will not be repeated here.

[0148] Step S820 : searching within the search area based on a preset path search algorithm to obtain a plurality of target nodes on the shortest path from the starting point to the end point of the original teaching path.

[0149] In some embodiments, the preset path search algorithm may include an A-star search algorithm or other heuristic search algorithms. The specific implementation method of searching for the target node based on the preset path search algorithm can refer to the description of searching for the target node of the target teaching path in the aforementioned embodiment of this disclosure, which will not be repeated here.

[0150] Step S830: Smoothing the multiple target nodes based on a preset smoothing algorithm to obtain a target teaching path.

[0151] It should be noted that step S830 is an optional step, and the target teaching path can be directly obtained based on multiple target nodes without smoothing.

[0152] In some embodiments, the preset smoothing algorithm may include a pure tracking control algorithm, a polynomial interpolation smoothing algorithm, a curve fitting algorithm, or other smoothing algorithms.

[0153] Taking the pure tracking control algorithm as an example, according to the simple geometric bicycle model based on the Ackerman steering vehicle, the front wheel angle of the pure tracking algorithm can be obtained. According to the front wheel angle, the kinematic model of the movable device is used to calculate the next state of the movable device to update the position of the next target node, but the updated position of the target node is still within the search area, thereby achieving the purpose of simple smoothness.

[0154] In this way, through the above steps S810 to S830, a target teaching path that meets the search target can be obtained within the search area through the preset path search algorithm and the preset smoothing algorithm, thereby improving the accuracy of the teaching path.

[0155] Figure 9 This is a flow chart of a device control method provided by an embodiment of the present disclosure. The device control method can be Figure 1 The mobile device and / or server shown is executed. Figure 9 As shown, the path processing method of this embodiment may include:

[0156] Step S910: determining a target teaching path corresponding to the first movable device.

[0157] Step S920: Control the first movable device to travel according to the target teaching path.

[0158] Among them, the target teaching path can be a path obtained by searching in a search area containing an original teaching path based on a preset search target. The original teaching path is the driving path of the second movable device under manual operation, and the search area is an area that the second movable device can travel through, determined based on the original teaching path and environmental information corresponding to the original teaching path.

[0159] The first movable device and the second movable device may be the same or different. In some examples, the second movable device may be a movable device specifically used for data collection (such as a data collection vehicle), and the first movable device is a movable device actually used by the user (such as an autonomous driving vehicle used by the user). In other examples, both the first movable device and the second movable device may be movable devices actually used by the user (such as an autonomous driving vehicle used by the user).

[0160] The method for obtaining the target teaching path in this embodiment can refer to the description in the previous embodiments of the present disclosure and will not be repeated here.

[0161] In this way, since the target teaching path is optimized relative to the original teaching path, the control accuracy can be improved by controlling the travel of the first movable device based on the target teaching path.

[0162] In some examples, there may be only one target teaching path for the first movable device. For example, if the first movable device is fixed and moves within a certain area, only one target teaching path may be set, and the first movable device may be controlled to travel according to the target teaching path.

[0163] In other examples, there may be multiple target teaching paths corresponding to the first movable device, and different target teaching paths correspond to different positions and / or areas. In this way, the target teaching path corresponding to the position of the first movable device can be determined.

[0164] For example, the first movable device is located in a specific parking lot. A target teaching path corresponding to the specific parking lot can be determined, path planning can be performed according to the target teaching path, and the first movable device can be controlled to perform automatic parking and / or automatic car retrieval, thereby realizing a memory parking function.

[0165] For another example, if the first movable device is expected to travel from a first location to a second location, a target teaching path from the first location to the second location can be determined, path planning can be performed based on the target teaching path, and the first movable device can be controlled to travel from the first location to the second location, thereby realizing a memory driving function.

[0166] Figure 10 This is a schematic diagram of the structure of a path processing device provided by an embodiment of the present disclosure. Figure 10As shown, the path processing device 1000 may include a memory 1010 and a processor 1020. The memory 1010 may be used to store computer instructions, and the processor 1020 may be used to call computer instructions from the memory 1010 to execute all or part of the steps of any path processing method in the aforementioned embodiments of the present disclosure. It should be noted that the processor 1020 may include one or more processors to execute instructions, and the memory 1010 may also include one or more memories to store computer instructions.

[0167] Figure 11 This is a schematic diagram of the structure of a device control device provided by an embodiment of the present disclosure. Figure 11 As shown, the device control apparatus 1100 may include a memory 1111 and a processor 1120. The memory 1111 may be used to store computer instructions, and the processor 1120 may be used to call computer instructions from the memory 1111 to execute all or part of the steps of any device control method in the aforementioned embodiments of the present disclosure. It should be noted that the processor 1120 may include one or more processors to execute instructions, and the memory 1111 may also include one or more memories to store computer instructions.

[0168] An embodiment of the present disclosure further provides a movable device, which includes the path processing device or the device control device provided in the above embodiment.

[0169] The movable device may be a vehicle, a robot, or other movable device. For example, the movable device may be a vehicle with assisted driving functions such as memory parking and / or memory driving; or, for another example, the movable device may be an autonomously movable robot or other device.

[0170] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements any of the methods described in the foregoing embodiments of the present disclosure. Optionally, the computer-readable storage medium may be a non-transitory storage medium, but is not limited thereto and may also be a transient storage medium.

[0171] An embodiment of the present disclosure further provides a computer program product, which may include a computer program. When the computer program is executed by a processor, any method in the aforementioned embodiments of the present disclosure may be implemented.

[0172] The present disclosure may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement any of the methods in the aforementioned embodiments of the present disclosure.

[0173] A computer-readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination thereof. As used herein, a computer-readable storage medium is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through an electrical wire.

[0174] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.

[0175] The computer program instructions for performing the operation of the present disclosure can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, which can include object-oriented programming languages ​​such as Smalltalk, C++, and conventional procedural programming languages ​​such as "C" language or similar programming languages. Computer-readable program instructions can be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, by utilizing the state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0176] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0177] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0178] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0179] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architectures, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions. It should be noted that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.

[0180] The embodiments of the present disclosure have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terms used herein are chosen to best explain the principles of the embodiments, practical applications, or technical improvements to technologies in the marketplace, or to enable other persons skilled in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims

1. A path processing method, characterized in that: The method comprises: Determining a search area containing the original taught path based on an original taught path of the movable device and environmental information corresponding to the original taught path; wherein the original taught path is a path along which the movable device travels under manual operation, and the search area is an area through which the movable device can travel; The position points in the search area are used as nodes to be searched, and a target teaching path that meets the preset search target is searched in the nodes to be searched based on a preset path search algorithm.

2. The method according to claim 1, characterized in that The determining, based on the original teaching path of the movable device and the environmental information corresponding to the original teaching path, a search area including the original teaching path includes: determining a movement boundary corresponding to the original teaching path according to environmental information of the original teaching path; A search area including the original teaching path is determined according to the movement boundary and the original teaching path.

3. The method according to claim 2, characterized in that The moving boundary includes a first side boundary point set located on a first side of the original teaching path and a second side boundary point set located on a second side of the original teaching path; The step of determining a search area including the original teaching path according to the movement boundary and the original teaching path includes: Determining a set of candidate path points corresponding to the original taught path; wherein the set of candidate path points includes a plurality of candidate path points, and a distance between two adjacent candidate path points in an extension direction of the original taught path is within a preset distance range; For a candidate path point in the candidate path point set, determining a candidate area corresponding to the candidate path point based on a first side boundary point and a second side boundary point corresponding to the candidate path point, thereby obtaining a plurality of candidate areas corresponding to the plurality of candidate path points; wherein the first side boundary point corresponding to the candidate path point is a boundary point in the first side boundary point set that is closest to the candidate path point, and the second side boundary point corresponding to the candidate path point is a boundary point in the second side boundary point set that is closest to the candidate path point; A set of the multiple candidate areas is used as the search area.

4. The method according to claim 3, characterized in that The determining, based on the first side boundary point and the second side boundary point corresponding to the candidate path point, a candidate area corresponding to the candidate path point includes: A first region is formed with the middle position of a line segment formed by the first side boundary point and the second side boundary point as the center of a circle and the length of the line segment as the diameter, and the first region is used as the candidate region; or A second area is formed with the candidate path point as the center and the specified length as the radius, and the second area is used as the candidate area; wherein the specified length is the minimum value between the preset radius and the minimum boundary distance, and the minimum boundary distance is the minimum distance between the candidate path point and the first side boundary point and the second side boundary point.

5. The method according to claim 3, characterized in that The determining of a set of candidate path points corresponding to the original taught path includes: According to the intervals between adjacent original path points in the extension direction of the original teaching path, the original path points are added and / or deleted to obtain the candidate path point set, so that the distance between two adjacent candidate path points in the candidate path point set is within the preset distance range.

6. The method according to claim 3, characterized in that The preset path search algorithm includes a first cost function and / or a second cost function, wherein the first cost function is used to determine a first cost from the node to be searched to the end point of the original taught path based on the index of the node to be searched and the number of candidate areas included in the search area, the index of the node to be searched being the maximum value of the indices of one or more candidate areas to which the node to be searched belongs, and the index of the candidate area being an index determined according to the order of the candidate path point in the set of candidate path points; The second cost function is used to determine the second cost from the starting point of the original teaching path to the node to be searched based on the distance and smoothness between the node to be searched and the current node, and the distance between the center position of the candidate area where the node to be searched is located and the node to be searched.

7. The method according to claim 6, characterized in that The preset path search algorithm further includes kinematic parameters of the movable device, and the kinematic parameters are used to make the node to be searched closer to the end point relative to the current node.

8. The method according to any one of claims 1 to 7, characterized in that The method of using a position point within the search area as a node to be searched and searching the node to be searched based on a preset path search algorithm to obtain a target teaching path that meets a preset search target includes: Searching within the search area based on a preset path search algorithm to obtain a plurality of target nodes on the shortest path from the starting point to the end point of the original teaching path; The multiple target nodes are smoothed based on a preset smoothing algorithm to obtain the target teaching path.

9. The method according to claim 8, characterized in that The preset smoothing algorithm is a pure tracking control algorithm, and / or the preset path search algorithm is an A-star search algorithm.

10. A device control method, characterized in that: The method comprises: determining a target teach path corresponding to the first movable device; controlling the first movable device to travel according to the target taught path; Among them, the target teaching path is to use the location points in the search area containing the original teaching path as the nodes to be searched, and search for a path that meets the preset search target in the nodes to be searched based on a preset path search algorithm. The original teaching path is the driving path of the second movable device under manual operation, and the search area is the area that the second movable device can travel through, which is determined based on the original teaching path and the environmental information corresponding to the original teaching path.

11. A path processing device, characterized in that: The path processing device includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the path processing method according to any one of claims 1 to 9.

12. A device control device, characterized in that: The device control apparatus includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the device control method according to claim 10.

13. A movable device, characterized in that: The movable device comprises: the path processing device according to claim 11, or the device control device according to claim 12.

14. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the computer program implements: the path processing method according to any one of claims 1 to 9, or the device control method according to claim 10.

Citation Information

Patent Citations

  • Map information construction method and device in teaching process

    CN113551679A

  • Parking path optimization method and device, vehicle and storage medium

    CN116373848A