Method and device for updating planned route, vehicle, equipment and storage medium
By determining the planned road section where the vehicle deviates and finding the target passing location to update the route in the autonomous driving system, the problems of slow route update response and large deviation in the existing technology are solved, and the timeliness and safety of route update are improved.
Patent Information
- Application Number
- CN202410669826.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-17
AI Technical Summary
After the vehicle deviates from the original route, the existing automatic driving navigation system takes a long time to respond when re-planning the route. The new route deviates greatly from the original route, causing the vehicle to drive on an invalid route, increasing driving risks.
Provides a method for updating planned routes, by determining the planned road section where the vehicle's current position deviates, and finding the target passing location along the direction of travel of the current planned route, updating the route based on the current and target locations, reducing route changes, and improving update timeliness and accuracy sex.
It achieves rapid and accurate updating of the planned route after the vehicle deviates from the original route, reduces driving risks, and improves driving safety and efficiency.
Smart Images

Figure CN118654685A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, specifically to the field of autonomous driving technology, and more particularly to a method, device, vehicle, equipment and storage medium for updating a planned route. Background Art
[0002] An autonomous driving navigation system usually only uses map data to plan the vehicle's navigation route after receiving a navigation task. However, due to changes in road and traffic conditions, the vehicle may deviate from the original planned route during actual driving, requiring the navigation system to update the navigation route in a timely and accurate manner. Summary of the invention
[0003] The present disclosure provides a method, device, vehicle, equipment and storage medium for updating a planned route, which can update the planned route in a timely manner, thereby improving the safety of the vehicle's driving.
[0004] According to a first aspect of the present disclosure, a method for updating a planned route is provided, the method comprising the following steps:
[0005] In response to the current position of the vehicle deviating from the current planned route, determining a planned section on the current planned route corresponding to the current position;
[0006] Starting from the planned road section, search for the target passing position along the vehicle travel direction of the current planned route;
[0007] In response to finding the target passing position, the current planned route is updated according to the current position and the target passing position to obtain the target planned route.
[0008] According to a second aspect of the present disclosure, a device for updating a planned route is provided, the device comprising: a road segment determination module, a location search module and a route update module, wherein:
[0009] The road segment determination module is configured to, in response to the current position of the vehicle deviating from the current planned route, determine a planned road segment on the current planned route corresponding to the current position;
[0010] The location search module is configured to search for a target passing location along the vehicle travel direction of the current planned route, starting from the planned road section;
[0011] The route updating module is configured to, in response to finding the target passing position, update the current planned route according to the current position and the target passing position to obtain the target planned route.
[0012] According to a third aspect of the present disclosure, there is provided an autonomous driving vehicle, the autonomous driving vehicle comprising:
[0013] The controller is configured to execute the method provided in the first aspect.
[0014] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:
[0015] at least one processor; and
[0016] a memory communicatively connected to at least one processor; wherein,
[0017] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the at least one processor to execute the method provided by the first aspect.
[0018] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to cause a computer to execute the method provided in the first aspect.
[0019] The method for updating the planned route provided by the present disclosure determines the planned section corresponding to the current position on the current planned route in response to the current position of the vehicle deviating from the current planned route; then, starting from the planned section, the target passing position is searched along the vehicle travel direction of the current planned route; after the target passing position is found, the current planned route is updated according to the current position and the target passing position to obtain the target planned route. This solution can traverse the passing positions on the current planned route in a timely manner after the current position of the vehicle deviates from the current planned route, and update the current planned route accordingly, quickly obtain the target planned route close to the current planned route, improve the timeliness of the planned route update, and reduce the deviation between the target planned route and the original planned route, improve driving safety, and ensure driving efficiency.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0022] Figure 1 is a flowchart of a first embodiment of a method for updating a planned route according to the present disclosure;
[0023] Figure 2 is a flow chart of a second embodiment of a method for updating a planned route according to the present disclosure;
[0024] Figure 3 is a schematic diagram of a scenario in which the vehicle deviates from the current planned route according to the present disclosure;
[0025] Figure 4 It is a schematic diagram of an implementation process of searching for a target passing position in the update method of the planned route according to the present disclosure;
[0026] Figure 5 is a block diagram of an embodiment of a device for updating a planned route according to the present disclosure;
[0027] Figure 6 The block diagram is a block diagram of an electronic device for implementing the method for updating a planned route disclosed in the present invention. DETAILED DESCRIPTION
[0028] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0029] When existing autonomous driving navigation systems re-plan navigation routes, they often fail to consider the original route when re-planning after the vehicle deviates from the original route, resulting in the new route being likely to deviate significantly from the original route. In addition, the response time is long and the planning speed is slow, resulting in the vehicle possibly driving on an invalid route for a period of time, or even deviating further and further from the current route, increasing driving risks.
[0030] The present disclosure provides a method for updating a planned route, which can promptly detect when a vehicle deviates from the current planned route, and traverse, search and plan according to the passing positions in the current planned route, so as to quickly plan a target planned route close to the current planned route, improve the timeliness and accuracy of updating the planned route, and ensure driving safety.
[0031] An exemplary system architecture for implementing the update method of the planned route provided by the present disclosure may include a terminal device, a network, and a server. The network is used to provide a communication link between the terminal device and the server, and may include various connection types, such as a wired communication link, a wireless communication link, or an optical fiber cable, etc.
[0032] The user can use the terminal device to interact with the server through the network to receive or send information, etc. Various client applications can be installed on the terminal device, for example, map-type, entertainment-type, and other client applications.
[0033] The terminal device can be hardware or software. When the terminal device is hardware, it can be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, etc.; it can also be intelligent devices such as vehicles and intelligent robots, such as self-driving cars, delivery robots, etc. When the terminal device is software, it can be installed in the above electronic devices. It can be implemented as multiple software or software modules, or as a single software or software module. No specific limitation is made here.
[0034] The server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0035] It should be pointed out that the planned route updating method provided in the present disclosure can be executed by the server in the above system architecture, and can also be implemented through the above terminal device.
[0036] Figure 1 A schematic diagram showing a process 100 of an embodiment of a method for updating a planned route provided by the present disclosure is shown, referring to Figure 1 As shown, the updating method of the planned route includes the following steps:
[0037] Step S101, in response to the current position of the vehicle deviating from the current planned route, determining a planned section on the current planned route corresponding to the current position.
[0038] In the embodiment of the present disclosure, the executor of the method for updating the planned route, such as a server or a terminal device (such as a vehicle-mounted terminal), senses and records the position information of the vehicle (such as position coordinates, vehicle head direction, etc.) and the environmental information around the vehicle (such as obstacle attributes, speed, position, vehicle head direction and other obstacle information, as well as road attribute information, etc.) during the vehicle's movement, so as to determine the vehicle's travel progress, the impact of the surrounding environment on the smoothness of the vehicle's movement, and the deviation of the vehicle on the planned route.
[0039] When the vehicle is traveling along the planned route, the execution subject determines whether the current position of the vehicle deviates from the current planned route based on the perception data of the vehicle. In response to determining that the current position of the vehicle deviates from the current planned route, it is determined that the current planned route needs to be updated.
[0040] When the current position of the vehicle does not deviate from the current planned route, it is determined that the vehicle is traveling along the current planned route. In this case, if there is no manual trigger or other mandatory update, the execution subject maintains the current planned route as the navigation route to control the vehicle. Only when the vehicle deviates from the current planned route, the planned route is updated according to the current position of the vehicle, thereby reducing unnecessary computing costs and saving resources.
[0041] In some optional implementations, when the execution subject determines that the current position of the vehicle deviates from the current planned route, the execution subject may also determine the location attribute of the current position of the vehicle, for example, whether the current position of the vehicle is located at an intersection, whether it is located on a reverse road, etc.
[0042] Since most intersections include multiple overlapping lanes, in such scenarios, the navigation algorithm may fail to solve, introducing safety risks. Also, updating the planned route at a traffic intersection may lead to many changes to the current planned route and greater uncertainty, which may lead to a sudden increase in safety risks. Therefore, it is necessary to avoid updating the planned route at intersections.
[0043] For example, when the execution subject determines that the current position of the vehicle deviates from the current planned route, the current position is determined to be at an intersection, and the update of the current planned route needs to be delayed, for example, for a preset time period.
[0044] In some optional implementations, when the execution entity determines that the current position of the vehicle deviates from the current planned route and is located in an intersection area, the execution entity monitors the current position of the vehicle until it is determined that the vehicle leaves the intersection area, that is, the current position of the vehicle is no longer located in the intersection area, and then begins to update the current planned route based on the current position of the vehicle at this time.
[0045] In some optional implementations, when the execution subject determines that the current position of the vehicle deviates from the current planned route, it can further determine whether the driving state of the vehicle at the current position complies with traffic regulations. The driving state of the vehicle at the current position can include whether the current position of the vehicle is within the road, whether the driving direction of the vehicle is reverse, etc.
[0046] For example, if the current position of the vehicle is not on the road or the driving direction of the vehicle is opposite to the driving direction indicated by the road (i.e., the vehicle is driving in the opposite direction), it is determined that the driving state of the vehicle at the current position does not comply with traffic regulations. In this case, the execution subject can trigger a warning message to indicate that the vehicle is driving abnormally or prompt the occupants to manually intervene in the control, or directly control the vehicle to stop driving, such as stopping on the spot or pulling over.
[0047] In some optional implementations, in response to the vehicle's driving state at the current position complying with traffic regulations, the executing entity confirms that the vehicle's driving state at the current position is safe, that is, it determines that the vehicle can continue to drive at the current position. In this case, the current planned route can be updated according to the current position to ensure the safety of the vehicle's driving and avoid traffic safety hazards caused by violations of traffic regulations.
[0048] In the vehicle navigation system, after the planned route is generated, the planned route is divided into a plurality of planned sections. For example, the planned route can be divided into a plurality of planned sections according to at least one of road attributes, road names, road entrances and exits, and road length.
[0049] When the above-mentioned execution entity determines that the current position of the vehicle deviates from the current planned route and its current position meets the route update conditions (for example, the current position is located on a non-reverse road and not in an intersection area), it first determines the planned section corresponding to the current position on the current planned route, and then updates the current planned route accordingly.
[0050] For example, the planned section corresponding to the current position on the current planned route can be the theoretical planned section where the vehicle should be located when it travels along the current planned route to the current position, or it can be the planned section on the current planned route that is closest to the current position and has the same driving direction. The same driving direction includes that the angle between the driving direction indicated by the planned section and the driving direction of the vehicle at the current position is less than 90 degrees.
[0051] In some optional implementations, the execution subject may determine the planned road section corresponding to the current position of the vehicle on the current planned route based on the historical perception data of the vehicle traveling along the current planned route. For example, the execution subject may determine the planned road section corresponding to the current position on the current planned route based on information such as the driving time and driving speed of the vehicle traveling along the current planned route.
[0052] In some optional implementations, the execution entity may determine the planned section of the vehicle corresponding to the current position on the current planned route based on information such as the vehicle's last position on the current planned route, the driving time and driving speed from the last position to the current position.
[0053] In some optional implementations, the execution entity may search for a planned section on the current planned route that is closest to the current location and has an indicated driving direction that is consistent with the driving direction of the current location based on the vehicle's driving direction and location coordinates at the current location.
[0054] Step S102, starting from the planned road section, searching for the target passing position along the vehicle travel direction of the current planned route.
[0055] In the embodiment of the present disclosure, the execution entity of the planned route updating method, such as a server or a terminal device (such as a vehicle-mounted terminal), searches for the target passing position along the vehicle's traveling direction of the current planned route starting from the planned section determined in step S101.
[0056] In a vehicle navigation system, after a planned route is generated and before navigation using the planned route is started, the generated planned route is traversed, the road attributes and road location information are identified, and a mark is added at a location of a preset type to mark it as a passing location of the planned route. For example, by traversing the planned route, the location of each intersection in the planned route is determined, and a location mark is added at the identified intersection location or a location at a preset distance before the intersection to mark the location as a passing location.
[0057] Exemplarily, a planned route includes at least one passing location.
[0058] In some optional implementations, after the passing position on the planned route is determined, the position identifier and position coordinates of the passing position are stored in a global route variable.
[0059] There is no necessary connection between the planned sections and the marked passing positions for a planned route. For example, among the multiple planned sections divided by each planned route, some planned sections may not have passing positions, and some planned sections may have one or more passing positions.
[0060] In some optional implementations, the target passing position is a passing position on the current planned route that is located after the planned section corresponding to the current position of the vehicle and meets preset conditions.
[0061] In some optional implementations of the embodiments of the present disclosure, after the above-mentioned execution entity determines the planned road section corresponding to the current position on the currently planned route, it starts from the planned road section and traverses the remaining passing positions on the currently planned route in sequence along the vehicle travel direction of the currently planned route, and searches for the first passing position that meets the preset conditions, and uses it as the target passing position.
[0062] Among them, the preset condition can be that the difference between the length of the route re-planned according to the target passing position and the current position and the length of the route between the current position and the target passing position corresponding to the current planned route is within a preset difference range.
[0063] In some optional implementations of the embodiments of the present disclosure, the execution entity may traverse each passing position after the planned section on the current planned route, calculate the distance between each passing position and the current position, and the distance between each passing position and the corresponding position of the current position on the current planned route, and then calculate the difference between the above two distances for the same passing position, and then sort the calculated differences for all passing positions according to the size of the values; then determine the maximum difference within the preset difference range, and determine the passing position corresponding to the maximum difference within the preset difference range as the target passing position.
[0064] In some optional implementations of the disclosed embodiments, the execution subject calculates the route distance between the first passing position and the current position, and the route distance between the corresponding position of the current position on the current planned route and the passing position in sequence according to the passing order of the vehicle on the current planned route, and then determines whether the difference between the two distances is within a preset difference range. If so, the first passing position is determined to be the target passing position. If not, the route distance between the second passing position and the current position and the route distance between the corresponding position of the current position on the current planned route and the passing position are calculated, and judgment is made, and so on, until a target passing position that meets the requirements is determined. In the case where there may be multiple passing positions that meet the requirements, the use of this solution can effectively save computing power and avoid unnecessary resource occupation and waste.
[0065] In some optional implementations, the execution entity may use the straight-line distance between two locations as the corresponding route distance, or calculate the corresponding map route distance in combination with map data, or determine the corresponding route distance based on the projection relationship between the locations and the routes.
[0066] In some optional implementations, the re-planned route between the current position and a certain passing position is a straight route without turns, and the original planned route between the corresponding position of the current position on the current planned route and the passing position is also a straight route without turns. At this time, the execution entity can calculate the straight-line distance between the current position and the passing position as the length L1 of its newly planned route; calculate the straight-line distance between the corresponding position of the current position on the current planned route and the passing position as the length L2 of the originally planned route, and then determine whether the passing position can be used as the target passing position based on whether the difference between L1 and L2 is within a preset difference range.
[0067] In some optional implementations, the re-planned route between the current position and a certain passing position is called the new planned route, and the route between the corresponding position of the current position on the current planned route and the passing position is called the original planned route. If the original planned route or the new planned route is a driving route with at least one turn, the executing entity can accurately determine the route lengths of the new planned route and the original planned route based on the current position, the passing position, and the corresponding position of the current position on the current planned route in combination with high-precision map data, and determine whether the passing position can be used as the target passing position based on whether the difference between the two is within a preset difference range.
[0068] In some optional implementations, the execution subject determines the corresponding route length according to the positional relationship of each position in the same coordinate system. For example, the execution subject may project the world coordinates of each position into the SL coordinate system of the corresponding route (with the center line of the route as the reference line, the driving direction indicated by the road as the positive direction S, and the direction perpendicular to the center line of each position as the positive direction L), and calculate the straight-line distance or route distance between the two corresponding positions in the SL coordinate system.
[0069] Exemplarily, the executing entity determines the S coordinate value S0 of the current position in the SL coordinate system on the original planned route and the S coordinate value S1 of a certain passing position in the SL coordinate system on the original planned route, and can directly use the difference between S1 and S0 as the route length S between the corresponding position of the current position on the current planned route and the passing position; and the executing entity determines the S coordinate value S0' of the current position in the SL coordinate system on the new planned route and the S coordinate value S1' of the passing position in the SL coordinate system on the new planned route, and can directly use the difference between S1' and S0' as the route length S' between the current position and the passing position; then, based on whether the difference between S' and S is within a preset difference range, determine whether the passing position can be used as the target passing position.
[0070] Step S103, in response to finding the target passing position, the current planned route is updated according to the current position and the target passing position to obtain the target planned route.
[0071] In the embodiment of the present disclosure, the executor of the method for updating the planned route, such as a server or a terminal device (such as a vehicle-mounted terminal), after finding the target passing position in step S102, updates the current planned route according to the current position and the target passing position to obtain the target planned route.
[0072] In some optional implementations, after finding the target passing position, the executing entity combines the current position of the vehicle to determine a new route between the current position and the target passing position, and then combines the original route after the target passing position on the current planned route to connect the new route with the original route as the re-planned target planned route.
[0073] In some optional implementations of the embodiments of the present disclosure, after determining the target passing position, the executing entity may directly use the target passing position as the route between it and the current position planned during the candidate passing position process as a new route between the target passing position and the current position.
[0074] In some optional implementations, after determining the target passing position, the execution subject can use the A-star algorithm to search for a feasible route between the current position and the target passing position in the topological map in combination with the current position of the vehicle, and combine the feasible route with the original planned route after the target passing position in the current planned route, and merge the two to obtain an updated target planned route. The A-star algorithm used can refer to related technologies and will not be described in detail here.
[0075] According to the method for updating the planned route provided by the embodiment of the present disclosure, when it is determined that the current position of the vehicle deviates from the current planned route, the planned road section corresponding to the current position on the current planned route is first determined, and the target passing position that the vehicle has not passed is searched along the travel direction of the current planned route, and then the current planned route is updated according to the target passing position and the current position, so as to timely and quickly update the planned route while minimizing route changes, thereby ensuring the safety of the vehicle and ensuring driving efficiency.
[0076] In some optional implementations of the present disclosure, the method for updating the planned route further includes: controlling the vehicle to drive automatically according to the target planned route. After determining the re-planned target planned route, the execution subject can directly control the vehicle to drive automatically along the target planned route.
[0077] It should be pointed out that in the technical solution of the present disclosure, the acquisition, storage and application of user personal information (such as location information) involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0078] Figure 2 FIG. 2 is a schematic diagram showing a second implementation process 200 of the method for updating a planned route according to the present disclosure. Figure 2 As shown, the updating method of the planned route includes the following steps:
[0079] Step S201, in response to the current position of the vehicle deviating from the current planned route, determining a candidate section on the current planned route that is within a preset distance range of the current position.
[0080] In the embodiment of the present disclosure, the executor of the method for updating the planned route, such as a server or a terminal device (such as a vehicle-mounted terminal), senses and records the position information of the vehicle (such as position coordinates, vehicle head direction, etc.) and the environmental information around the vehicle (such as obstacle attributes, speed, position, vehicle head direction and other obstacle information, as well as road attribute information, etc.) during the vehicle's movement, so as to determine the vehicle's travel progress, the impact of the surrounding environment on the smoothness of the vehicle's movement, and the deviation of the vehicle on the planned route.
[0081] When the vehicle is traveling along the planned route, the execution subject determines whether the current position of the vehicle deviates from the current planned route based on the perception data of the vehicle. In response to determining that the current position of the vehicle deviates from the current planned route, it is determined that the current planned route needs to be updated.
[0082] When the current position of the vehicle does not deviate from the current planned route, it is determined that the vehicle is traveling along the current planned route. In this case, if there is no manual trigger or other mandatory update, the execution subject maintains the current planned route as the navigation route to control the vehicle. Only when the vehicle deviates from the current planned route, the planned route is updated according to the current position of the vehicle, thereby reducing unnecessary computing costs and saving resources.
[0083] In some optional implementations, when the execution subject determines that the current position of the vehicle deviates from the current planned route, the execution subject may also determine the location attribute of the current position of the vehicle, for example, whether the current position of the vehicle is located at an intersection, whether it is located on a reverse road, etc.
[0084] Since most intersections include multiple overlapping lanes, in such scenarios, the navigation algorithm may fail to solve, introducing safety risks. Also, updating the planned route at a traffic intersection may lead to many changes to the current planned route and greater uncertainty, which may lead to a sudden increase in safety risks. Therefore, it is necessary to avoid updating the planned route at intersections.
[0085] For example, when the execution subject determines that the current position of the vehicle deviates from the current planned route, the current position is determined to be at an intersection, and the update of the current planned route needs to be delayed, for example, for a preset time period.
[0086] In some optional implementations, when the execution entity determines that the current position of the vehicle deviates from the current planned route and is located in an intersection area, the execution entity monitors the current position of the vehicle until it is determined that the vehicle leaves the intersection area, that is, the current position of the vehicle is no longer located in the intersection area, and then begins to update the current planned route based on the current position of the vehicle at this time.
[0087] In some optional implementations, when the execution subject determines that the current position of the vehicle deviates from the current planned route, it can further determine whether the driving state of the vehicle at the current position complies with traffic regulations. The driving state of the vehicle at the current position can include whether the current position of the vehicle is within the road, whether the driving direction of the vehicle is reverse, etc.
[0088] In some optional implementations, in response to the vehicle's driving state at the current position complying with traffic regulations, the executing entity confirms that the vehicle's driving state at the current position is safe, that is, it determines that the vehicle can continue to drive at the current position. In this case, the current planned route can be updated according to the current position to ensure the safety of the vehicle's driving and avoid traffic safety hazards caused by violations of traffic regulations.
[0089] In the vehicle navigation system, after the planned route is generated, the planned route is divided into a plurality of sections. For example, the planned route can be divided into a plurality of sections according to at least one of road attributes, road names, road entrances and exits, and road length.
[0090] The above-mentioned execution subject determines that the current planned route needs to be updated when it is determined that the current position of the vehicle deviates from the current planned route and its current position meets the route update conditions (for example, the current position is located on a non-reverse road and not in an intersection area).
[0091] In this scheme, in response to determining that the current planned route needs to be updated, the execution entity first determines the candidate sections on the current planned route that are within a preset distance range of the current position of the vehicle, and then determines the planned section corresponding to the current position on the current planned route.
[0092] Among them, the preset distance range can be an equidistant range around the current position of the vehicle, such as a circular range with the current position as the center and the preset distance as the radius; it can also be a rectangular range surrounded by the first front distance range, the second lateral distance range and the third rear distance range of the current position of the vehicle; it can also be a preset distance range set by other rules, which is not limited here.
[0093] In some optional implementations, taking into account the uncertain direction in which the current position of the vehicle deviates from the current planned route, the execution entity searches for a section on the current planned route within a preset distance (e.g., 10m) around the current position based on the position coordinates of the vehicle at the current position as a candidate section.
[0094] Step S202, determining a planned road section corresponding to the current position from candidate road sections according to the vehicle head orientation and position coordinates at the current position.
[0095] In the embodiment of the present disclosure, the execution entity of the planned route update method, such as a server or a terminal device (such as a vehicle-mounted terminal), determines the planned section corresponding to the current position from the candidate sections determined in step S201 based on the front orientation and position coordinates of the vehicle at the current position.
[0096] In some optional implementations, the execution entity determines the distance between the candidate road section determined in step S201 and the current position based on the position coordinates of the vehicle at the current position, and then sorts the candidate road sections in order of distance from near to far to obtain a road section sequence; then, based on the vehicle head direction at the current position, the candidate road sections in the road section sequence are traversed from small to large in order of distance, and the candidate road section whose angle between the indicated driving direction and the vehicle head direction is within a preset angle range and whose distance from the current position is the smallest is searched as the planned road section corresponding to the current position.
[0097] In some optional implementations of the embodiments of the present disclosure, a planned road section corresponding to the current position is determined from candidate road sections based on the front orientation and position coordinates of the vehicle at the current position, including: determining, from candidate road sections, a same-direction road section whose vehicle travel direction is consistent with the front orientation, based on the front orientation of the vehicle at the current position; determining, based on the position coordinates of the vehicle at the current position and the starting coordinates and end coordinates of the same-direction road section, a same-direction road section that is closest to the position coordinates of the current position as the planned road section corresponding to the current position.
[0098] Among them, if the angle between the vehicle traveling direction indicated by any candidate road section and the vehicle head direction at the current position is less than 90 degrees, it is considered that the vehicle traveling direction of the candidate road section is consistent with the vehicle head direction.
[0099] In this solution, the execution subject first selects the same-direction road sections whose vehicle travel direction is consistent with the current head direction of the vehicle from the candidate road sections according to the head direction of the vehicle at the current position; then, based on the position coordinates of the vehicle at the current position and the starting and ending coordinates of each same-direction road section, it searches for the same-direction road section closest to the current position and determines it as the planned road section corresponding to the current position. By first selecting the same-direction road sections and then searching for the closest planned road section from the same-direction road sections, the amount of data calculation can be effectively reduced, computing power can be saved, resource usage can be reduced, and the search efficiency and search accuracy of the planned road section corresponding to the current position can be improved, thereby improving the efficiency of route update.
[0100] In some optional implementations, for a certain same-direction road segment AB, assuming that its starting point coordinates are A (x1, y1), the end point coordinates are B (x2, y2), and the position coordinates of the vehicle at the current position are C (x3, y3), the position determination process of the current position C relative to the same-direction road segment AB is as follows:
[0101] First calculate the length L of the same-direction section AB:
[0102] Then calculate the vector and The dot product of
[0103] If dot≤0, the current position C is outside the same-direction road segment AB and close to A; if dot>L 2 , the current position C is located outside the same-direction road segment AB and close to the area of B; otherwise, the current position C is considered to be located in the area between the same-direction road segments AB, and the distance from the current position C to the same-direction road segment AB is
[0104] in,
[0105] Based on this, the same-direction road section AB where the current position C is located in the area between its starting point and end point can be found and used as the planned road section corresponding to the current position.
[0106] Step S203, starting from the planned road section, searching for the target passing position along the vehicle travel direction of the current planned route.
[0107] In the embodiment of the present disclosure, the execution entity of the planned route update method, such as a server or a terminal device (such as a vehicle-mounted terminal), starts from the planned section determined in step S203, and searches for the target passing position that meets the route update requirements on the current planned route along the vehicle travel direction of the current planned route.
[0108] Step S203 and Figure 1Step S102 of the illustrated embodiment is basically the same, and the specific implementation method can refer to the above description of step S102, which will not be repeated here.
[0109] Step S204, in response to finding the target passing position, determining a first planned route with the current position as the starting point and the target passing position as the end point.
[0110] In the embodiment of the present disclosure, the execution entity of the planned route update method, such as a server or a terminal device (such as a vehicle-mounted terminal), after finding the target passing position in step S203, combines the current position of the vehicle to determine the first planned route with the current position as the starting point and the target passing position as the end point.
[0111] In some optional implementations, as recorded in step S102, in the process of determining whether a certain passing position is a target passing position, if a new route has been planned based on the passing position and the current position of the vehicle, if the passing position is determined to be the target passing position, the planned new route can be directly determined as the first planned route with the current position as the starting point and the target passing position as the end point.
[0112] In some optional implementations, after determining the target passing position, the execution subject can use the A-star algorithm to search for feasible routes in the topological map in combination with the current position of the vehicle, and determine the first planned route accordingly. The A-star algorithm used can refer to related technologies and will not be described in detail here.
[0113] In some optional implementations, after determining the target passing position, the executing entity can combine the high-precision map data to plan multiple new routes with the current position as the starting point and the target passing position as the end point, and then conduct a comprehensive evaluation of each new route based on actual conditions, such as driving time, road speed limit, road traffic congestion, weather conditions, whether the current time period is a peak period, etc., and then select a better route from the multiple new routes as the first planned route.
[0114] Step S205, merging the first planned route with the second planned route after the target passing position in the current planned route to obtain the target planned route.
[0115] In an embodiment of the present disclosure, an executor of the method for updating a planned route, such as a server or a terminal device (such as a vehicle-mounted terminal), merges a first planned route with a second planned route after the target passing position in the current planned route to obtain a target planned route.
[0116] After determining the target waypoint, the execution subject determines the untraveled portion of the current planned route with the target waypoint as the starting point and the route end point unchanged as the second planned route. Then, the first planned route with the current position as the starting point and the target waypoint as the end point is merged with the second planned route to obtain a new planned route with the current position as the starting point and the route end point of the current planned route as the end point, which is used as the updated target planned route.
[0117] Step S206, in response to not finding the target passing position, clearing the current planned route.
[0118] In an embodiment of the present disclosure, the execution entity of the above-mentioned planned route update method, such as a server or a terminal device (such as a vehicle-mounted terminal), responds to the failure to find the target passing position that meets the route update requirements in the current planned route, that is, it is determined that the passing positions that have not been traveled on the current planned route do not meet the route planning requirements. It can be determined that the current planned route update has failed, but because the current position of the vehicle has deviated from the current planned route, in order to ensure the safety of the vehicle, the above-mentioned execution entity can, in this case, clear the current planned route, and then control the vehicle to stop driving or force the vehicle to stop driving due to the loss of the planned route.
[0119] According to the method for updating a planned route provided by an embodiment of the present disclosure, when the execution subject determines that the current position of the vehicle deviates from the current planned route, the execution subject first determines the candidate sections on the current planned route based on the preset distance range of the current position of the vehicle, and determines the planned section corresponding to the current position from the candidate sections in combination with the vehicle head orientation and position coordinates at the current position; then searches for the target passing position along the vehicle travel direction of the current planned route, and when the target passing position is found, determines a first planned route with the current position as the starting point and the target passing position as the end point, and merges it with the second planned route after the target passing position on the current planned route to obtain an updated target planned route; when the target passing position is not found, clears the current planned route to control the vehicle to stop driving, avoids safety hazards caused by erroneous driving of the vehicle, and improves the driving safety of the vehicle.
[0120] This solution can accurately locate the planned road section corresponding to the current position in the current planned route of the vehicle when the current position of the vehicle deviates from the current planned route, and quickly and accurately find the target passing position that can assist in updating the route, saving computing power, ensuring the search efficiency of the target passing position, improving the route update efficiency, and ensuring driving safety; and in the case that the target passing position cannot be found, the current planned route is cleared in time to stop the vehicle from driving, further ensuring the safety and reliability of the vehicle's driving.
[0121] Figure 3A schematic diagram showing a scenario 300 in which the vehicle deviates from the currently planned route is shown. Figure 3 As shown, the current position 301 of the vehicle has deviated from the current planned route 310. Through the planned route updating method provided by the present invention, the execution entity determines the planned section 310a corresponding to the current position 301 on the current planned route. The driving direction indicated by the planned section 310a and the angle between the front direction of the vehicle at the current position 301 (the direction of the arrow in the figure) is less than 90 degrees, and the current position 301 is located in the area between the starting point and the end point of the planned section 310a, and the distance to the planned section 310a is the smallest.
[0122] The execution entity starts from the planned road section 310a, searches for and verifies the passing position along the current planned route 310, obtains the target passing position 302, and then combines the high-precision map data to determine the first planned route 320 with the current position 301 as the starting point and the target passing position 302 as the end point, and the second planned route 310b after the target passing position 302 on the current planned route 310, and then merges the first planned route 320 and the second planned route 310b to obtain an updated target planned route.
[0123] Figure 4 A schematic diagram of an implementation process 400 of searching for a target passing position in the method for updating a planned route provided by the present disclosure is shown. Figure 4 As shown, the process of finding the target passing position includes the following steps:
[0124] Step S401, starting from the planned road section, the first passing position found along the vehicle's travel direction of the current planned route is determined as a candidate passing position.
[0125] In an embodiment of the present disclosure, the executor of the above-mentioned planned route updating method, such as a server or a terminal device (such as a vehicle-mounted terminal), starts from the planned road section corresponding to the current position in the current planned route, searches for the marked passing positions along the vehicle's traveling direction of the current planned route, and determines the first passing position found as a candidate passing position.
[0126] In a vehicle navigation system, after a planned route is generated and before navigation using the planned route is started, the generated planned route is traversed, the attributes of each road and the road position information thereof are identified, and a mark is added at a location of a preset type (e.g., an intersection) to mark it as a passing location of the planned route. For example, by traversing the planned route, the location of each intersection in the planned route is determined, and a position mark is added at the identified intersection location or a location at a preset distance before the intersection to mark the location as a passing location.
[0127] Exemplarily, a planned route includes at least one passing location.
[0128] There may be no direct relationship between the road sections divided by a planned route and the passing positions. For example, some road sections may not have passing positions, some road sections may have more than one passing position, or a passing position may be located at the overlapping position of two adjacent road sections, for example, at the end of the previous road section and at the starting point of the next road section.
[0129] After the execution subject determines the planned road section corresponding to the current position on the current planned route, it searches for the first passing position after the planned road section on the current planned route along the vehicle travel direction of the current planned route and determines it as a candidate passing position.
[0130] Step S402, determining a candidate planned route with the current location as the starting point and the candidate passing location as the end point.
[0131] In the embodiment of the present disclosure, the executor of the above-mentioned planned route updating method, such as a server or a terminal device (such as a vehicle-mounted terminal), determines a drivable candidate planned route based on the candidate passing position found in step S401, with the candidate passing position as the end point and the current position of the vehicle as the starting point.
[0132] In some optional implementations, the above-mentioned execution entity combines the high-precision map data and the current planned route to find a route that starts from the current location and ends at the candidate passing location and is closest to the current planned route, and determines it as the candidate planned route.
[0133] In some optional implementations, the execution subject combines the high-precision map data to find a drivable route with the current location as the starting point and the candidate passing location as the end point, and then determines the candidate planned route from the drivable routes according to the preset planning conditions. The preset planning conditions may include at least one of the following: the shortest route mileage, the smoothest traffic, the shortest traffic time, the fewest traffic lights, and expressway priority.
[0134] For example, after the execution entity finds multiple drivable routes with the current location as the starting point and the candidate passing location as the end point in combination with the high-precision map data, the multiple drivable routes can be sorted according to preset planning conditions, and the optimal route in the sorting results can be determined as the candidate planning route.
[0135] Exemplarily, after the execution subject finds multiple drivable routes with the current location as the starting point and the candidate passing location as the end point in combination with the high-precision map data, the multiple drivable routes are sorted according to each of the multiple preset planning conditions, and then the optimal route in each sorting result is selected, and then the drivable route with the most appearances among the multiple optimal routes is determined as the candidate planning route. For example, 5 drivable routes L1, L2, L3, L4, and L5 are found. The shortest route sorted from short to long in terms of route mileage is L2, the most unobstructed route sorted from high to low in terms of traffic smoothness is L3, the fastest route sorted from short to long in terms of traffic time is L2, and the optimal route sorted from few to many in terms of the number of traffic lights is L4. It can be seen that the drivable route L2 appears twice in the optimal result of the sorting, and the number of appearances of L3 and L4 are both 1. The execution subject determines the drivable route L2 as the candidate planning route.
[0136] In some optional implementations, the execution entity may also present one or more sorting results of multiple drivable routes, and determine candidate planned routes based on the user's operation on the presented sorting results.
[0137] In some optional implementations, if combined with high-precision map data, only one drivable route is found with the current location as the starting point and the candidate passing location as the end point, the execution entity directly determines the drivable planned route as the candidate planned route.
[0138] In some optional implementations, if in combination with high-precision map data, the executing entity fails to find a drivable route with the current location as the starting point and the candidate passing location as the end point, it can be directly determined that the candidate passing location does not meet the conditions, that is, the candidate passing location is not the target passing location, and the next passing location after the candidate passing location on the current planned route is continued to be searched along the travel direction of the current planned route, and it is determined as the new candidate passing location, and the corresponding candidate planned route is determined according to the above-mentioned scheme.
[0139] In some optional implementations, the execution entity combines high-precision map data and, if it fails to find a drivable route with the current location as the starting point and the candidate passing location as the end point, it can also determine that the current location of the vehicle is abnormal. For example, the current location is not on a drivable road or is on a wrong road. In this case, the execution entity can directly issue an alarm to prompt the occupants of the vehicle or a remote administrator to manually take over the vehicle. The execution entity can also control the vehicle to stop, or find the nearest parking location to the current location and control the vehicle to stop after driving to the parking location.
[0140] Step S403, determining a first projection position of the current position on the candidate planned route, and calculating a first distance between the first projection position and the candidate passing position.
[0141] In an embodiment of the present disclosure, the executor of the above-mentioned planned route updating method, such as a server or a terminal device (such as a vehicle-mounted terminal), after determining a candidate planned route with the current position as the starting point and the candidate passing position as the end point, determines the first projection position of the current position on the candidate planned route, and calculates the first distance between the first projection position and the candidate passing position.
[0142] In some optional implementations, the execution entity determines a first projection position of the current position on the candidate planned route, and then determines the distance between the first projection position and the candidate passing position in combination with high-precision map data to obtain a first distance.
[0143] In some optional implementations, the execution subject uses the SL coordinate system to determine the first projection position of the current position on the candidate planned route, that is, to determine the S coordinate value S of the current position on the candidate planned route. e ', then determine the S coordinate value S of the candidate passing position on the candidate planned route p '; Then calculate the S coordinate difference S of the two p '-S e ', as the first distance d1 between the first projection position and the candidate passing position.
[0144] Step S404, determining a second projection position of the current position on the currently planned route, and calculating a second distance between the second projection position and the candidate passing position.
[0145] In an embodiment of the present disclosure, the executor of the above-mentioned planned route updating method, such as a server or a terminal device (such as a vehicle-mounted terminal), determines the second projection position of the current position on the current planned route, and then calculates the second distance between the second projection position and the candidate passing position.
[0146] In some optional implementations, the execution entity can determine the second projection position of the current position on the current planned route based on the world coordinate system or the SL coordinate system, and then calculate the second distance between the second projection position and the candidate passing position in combination with the coordinates of the candidate passing position in the same coordinate system.
[0147] In some optional implementations, the execution subject determines the second projection position of the current position of the vehicle on the current planned route based on the SL coordinate system, that is, determines the S coordinate value S of the current position on the current planned route. e , and then determine the S coordinate value S of the candidate passing position on the current planned route p ; Then calculate the S coordinate difference S of the two p -S e , as the second distance d2 between the second projection position and the candidate passing position.
[0148] Step S405, in response to the difference between the first distance and the second distance being greater than or equal to a preset threshold, taking the candidate passing position as the starting point, the first passing position found along the vehicle's traveling direction of the current planned route is determined as a new candidate passing position.
[0149] In an embodiment of the present disclosure, the execution entity of the above-mentioned planned route updating method, such as a server or a terminal device (such as a vehicle-mounted terminal), responds to the difference between the first distance and the second distance being greater than or equal to a preset threshold, that is, the deviation between the new route and the original route is too large, which may bring safety hazards to driving. The execution entity determines that the candidate passing position and its candidate planned route do not meet the route update requirements, that is, the candidate passing position cannot be used as the target passing position for route update, and then continues to search for the next passing position as a new candidate passing position, and again determines whether the new candidate passing position can be used as the target passing position.
[0150] Among them, the execution entity takes the candidate passing position that does not meet the conditions as the starting point, searches for the next passing position on the current planned route along the vehicle's travel direction of the current planned route, and determines it as the new candidate passing position.
[0151] After finding a new candidate waypoint, the execution subject re-determines the candidate planned route between the current position and the new candidate waypoint according to the scheme recorded in step S402, and re-determines the corresponding first distance and second distance according to the scheme recorded in steps S403 and S404, and then determines whether the new candidate waypoint can be used as the target waypoint according to the difference between the first distance and the second distance. If not, continue to repeat the above process to find and verify the next waypoint until a candidate waypoint that can be used as the target waypoint is found, or until all the waypoints on the current planned route are traversed and determined to be all unable to be used as the target waypoint.
[0152] Step S406, in response to the difference between the first distance and the second distance being less than a preset threshold, determining the candidate passing position as the target passing position.
[0153] In an embodiment of the present disclosure, the executor of the above-mentioned planned route updating method, such as a server or a terminal device (such as a vehicle-mounted terminal), in response to determining that the difference between the first distance and the second distance is less than a preset threshold, determines that the candidate passing position and its candidate planned route meet the route update conditions, and can determine that the candidate passing position is the target passing position.
[0154] The difference between the first distance and the second distance includes a difference caused by the first distance being greater than or less than the second distance.
[0155] In this solution, when the difference Δd=|d1-d2| between the first distance and the second distance is less than a preset threshold, the executing entity determines the candidate passing position as the target passing position and stops the traversal process of the passing positions on the current planned route.
[0156] In some optional implementations, after the execution entity determines the candidate passing position as the target passing position, it can directly determine the candidate planned route corresponding to the candidate passing position as the first planned route between the current position and the target passing position, and merge it with the second planned route after the target passing position on the current planned route to obtain an updated target planned route.
[0157] As an implementation of the methods shown in the above figures, Figure 5 An embodiment of a device for updating a planned route according to the present disclosure is shown. The device 500 for updating a planned route is Figure 1 Corresponding to the method embodiment shown, the device can be applied to various electronic devices.
[0158] Reference Figure 5 As shown, the apparatus 500 for updating a planned route provided by an embodiment of the present disclosure includes: a road section determination module 501, a position search module 502, and a route update module 503. The road section determination module 501 is configured to, in response to the current position of the vehicle deviating from the current planned route, determine the planned road section corresponding to the current position on the current planned route; the position search module 502 is configured to, starting from the planned road section, search for the target passing position along the vehicle traveling direction of the current planned route; the route update module 503 is configured to, in response to finding the target passing position, update the current planned route according to the current position and the target passing position to obtain the target planned route.
[0159] In the planned route updating device 500 of this embodiment, the specific processing of the road segment determination module 501, the location search module 502 and the route updating module 503 and the technical effects thereof can be referred to in detail. Figure 1 The relevant descriptions of steps S101 to S103 in the corresponding embodiment are not repeated here.
[0160] In some optional implementations of the embodiments of the present disclosure, the section determination module is configured to: determine candidate sections on the current planned route that are within a preset distance range from the current position; and determine the planned section corresponding to the current position from the candidate sections based on the vehicle's front orientation and position coordinates at the current position.
[0161] In the planned route updating device of this embodiment, the specific processing of the road section determination module and the technical effects thereof can be referred to in Figure 2 The relevant descriptions of steps S201 - S202 in the corresponding embodiment are not repeated here.
[0162] In some optional implementations of the embodiments of the present disclosure, a planned road section corresponding to the current position is determined from candidate road sections based on the front orientation and position coordinates of the vehicle at the current position, including: determining, from candidate road sections, a same-direction road section whose vehicle travel direction is consistent with the front orientation, based on the front orientation of the vehicle at the current position; determining, based on the position coordinates of the vehicle at the current position and the starting coordinates and end coordinates of the same-direction road section, a same-direction road section that is closest to the position coordinates of the current position as the planned road section corresponding to the current position.
[0163] In some optional implementations of the embodiments of the present disclosure, the location search module is configured to: starting from the planned road section, determine the first passing position found along the vehicle's traveling direction of the current planned route as a candidate passing position; determine a candidate planned route with the current position as the starting point and the candidate passing position as the end point; determine the first projection position of the current position on the candidate planned route, and calculate the first distance between the first projection position and the candidate passing position; determine the second projection position of the current position on the current planned route, and calculate the second distance between the second projection position and the candidate passing position; in response to the difference between the first distance and the second distance being greater than or equal to a preset threshold, determine the first passing position found along the vehicle's traveling direction of the current planned route with the candidate passing position as the starting point as a new candidate passing position; in response to the difference between the first distance and the second distance being less than a preset threshold, determine the candidate passing position as the target passing position.
[0164] In the updating device for planning routes of this embodiment, the specific processing of the location search module and the technical effects thereof can be referred to in Figure 4 The relevant descriptions of steps S401 to S406 in the corresponding embodiment are not repeated here.
[0165] In some optional implementations of the embodiments of the present disclosure, the route update module is configured to: determine a first planned route with the current position as the starting point and the target passing position as the end point; merge the first planned route with the second planned route after the target passing position in the current planned route to obtain the target planned route.
[0166] In the updating device for planning routes of this embodiment, the specific processing of the road segment updating module and the technical effects thereof can be referred to in Figure 2 The relevant descriptions of steps S204-S205 in the corresponding embodiment are not repeated here.
[0167] In some optional implementations of the embodiments of the present disclosure, the device for updating the planned route also includes a route clearing module, and the route clearing module is configured to clear the current planned route in response to failure to find the target passing position.
[0168] In the updating device for planning routes of this embodiment, the specific processing of the route clearing module and the technical effects thereof can be referred to in Figure 2 The relevant description of step S207 in the corresponding embodiment will not be repeated here.
[0169] The method for updating the planned route and the device for updating the planned route provided by the present disclosure can be applied to the field of autonomous driving technology. When it is determined that the current position of the vehicle deviates from the current planned route, the target passing position on the current planned route is promptly found according to the current position of the vehicle, and the current planned route is updated accordingly, thereby improving the accuracy of the vehicle control and the safety of the vehicle driving. Accordingly, the present disclosure also provides an autonomous driving vehicle for executing the above-mentioned method for updating the planned route.
[0170] The autonomous driving vehicle provided by the embodiments of the present disclosure includes a controller, which is configured to execute the method for updating the planned route described in the above embodiments.
[0171] In some optional implementations, the autonomous driving vehicle further includes: a vehicle body and a sensing device installed on the vehicle body. The sensing device is configured to obtain and record the location information of the vehicle body, such as the location coordinates of the vehicle body, the direction of the front of the vehicle, and the road information, and can also be configured to sense the moving obstacles and fixed obstacles around the vehicle body and record the sensing data. Furthermore, the controller is configured to execute the method for updating the planned route described in the above embodiment according to the sensing data recorded by the sensing device.
[0172] In some optional implementations, the controller is also configured to control the vehicle body to automatically travel according to the updated target planned route.
[0173] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0174] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0175] like Figure 6As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0176] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0177] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as the update method of the planned route. For example, in some embodiments, the update method of the planned route may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the update method of the planned route described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to execute the update method of the planned route by any other appropriate means (e.g., by means of firmware).
[0178] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0179] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0180] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0181] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0182] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0183] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0184] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0185] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for updating a planned route, characterized in that: The method comprises: In response to the current position of the vehicle deviating from the current planned route, determining a planned section on the current planned route corresponding to the current position; Starting from the planned road section, searching for a target passing position along the vehicle travel direction of the current planned route; and In response to finding the target passing position, the current planned route is updated according to the current position and the target passing position to obtain the target planned route.
2. The method according to claim 1, characterized in that The determining a planned section on the current planned route corresponding to the current location includes: Determining a candidate road segment on the currently planned route that is within a preset distance range from the current location; According to the vehicle head orientation and position coordinates at the current position, a planned road section corresponding to the current position is determined from the candidate road sections.
3. The method according to claim 2, characterized in that The step of determining a planned road section corresponding to the current position from the candidate road sections according to the vehicle head orientation and position coordinates at the current position includes: According to the vehicle head direction at the current position, determining a road section in the same direction as the vehicle head direction from the candidate road sections; According to the position coordinates of the vehicle at the current position and the starting point coordinates and the end point coordinates of the same-direction road section, the same-direction road section closest to the position coordinates of the current position is determined as the planned road section corresponding to the current position.
4. The method according to claim 1, characterized in that: The step of searching for a target passing position along a vehicle traveling direction of the currently planned route starting from the planned road section includes: Starting from the planned road section, the first passing position found along the vehicle travel direction of the current planned route is determined as a candidate passing position; Determine a candidate planned route with the current location as the starting point and the candidate passing location as the end point; Determine a first projection position of the current position on the candidate planned route, and calculate a first distance between the first projection position and the candidate passing position; Determine a second projection position of the current position on the current planned route, and calculate a second distance between the second projection position and the candidate passing position; In response to the difference between the first distance and the second distance being greater than or equal to a preset threshold, taking the candidate waypoint as a starting point, determining the first waypoint found along the vehicle travel direction of the current planned route as a new candidate waypoint; In response to the difference between the first distance and the second distance being less than a preset threshold, the candidate passing position is determined as the target passing position.
5. The method according to claim 1, characterized in that The updating of the current planned route according to the current position and the target passing position to obtain the target planned route includes: Determine a first planned route with the current location as a starting point and the target passing location as an end point; The first planned route is combined with a second planned route after the target passing position in the current planned route to obtain a target planned route.
6. The method according to claim 1, characterized in that The method further comprises: In response to not finding the target passing position, clearing the current planned route.
7. A device for updating a planned route, characterized in that: The device comprises: A road segment determination module is configured to determine a planned road segment corresponding to the current position on the current planned route in response to the current position of the vehicle deviating from the current planned route; A location search module is configured to search for a target passing location along the vehicle travel direction of the current planned route, starting from the planned road section; and The route updating module is configured to update the current planned route according to the current position and the target passing position in response to finding the target passing position, so as to obtain the target planned route.
8. An autonomous driving vehicle, characterized in that: The autonomous driving vehicle comprises: A controller configured to execute the method according to any one of claims 1 to 6.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.
