Parking path generation method and device, parking method and device and electronic equipment
By obtaining the current position and preset parking target points of the unmanned vehicle, a detailed parking path is generated, which solves the problem of inaccurate and inefficient parking in the unmanned vehicle parking path planning, and achieves accurate parking and efficient parking car.
Patent Information
- Application Number
- CN202411388625.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-11-12
AI Technical Summary
The existing unmanned vehicle parking path planning can easily lead to inaccurate parking and low parking efficiency.
By obtaining the current position information of the target vehicle and the preset parking target point, the path for the target vehicle to drive out of the target parking space from the preset parking target point is generated, and based on the current position information, parking start position information and pre-order Suppose the stop speed generates the path of the vehicle to the starting position of the parking, and combines obstacle detection and path adjustment to generate an accurate parking path.
It realizes precise parking of vehicles when parking, improves parking efficiency, and overcomes the problems of inaccurate and inefficient parking.
Smart Images

Figure CN118928374A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of path planning, and more specifically, to a method for generating a parking path, a parking method, a device, an electronic device, and a program product. Background Art
[0002] With the development of science and technology, artificial intelligence-based driverless cars have gradually become known to people. Since they do not require a driver to drive the vehicle, they can realize functions such as automatic departure and automatic parking.
[0003] In the related art, when an unmanned vehicle is parking, it generally determines the starting point and end point of the parking plan route based on the location information of the available parallel parking spaces, and then the unmanned vehicle drives to the starting point and performs parking operations according to the parking plan route.
[0004] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related art: the parking planning route generated by the related art is likely to cause inaccurate parking of the vehicle and low parking efficiency. Summary of the invention
[0005] In view of this, the present disclosure provides a parking path generation method, a parking method, an apparatus, an electronic device, and a program product.
[0006] One aspect of the present disclosure provides a method for generating a parking path, comprising:
[0007] In response to the target vehicle entering the parking scene, obtaining parking information corresponding to the target vehicle, wherein the parking information includes current position information of the target vehicle and a preset parking target point;
[0008] Generate a path for the target vehicle to drive out of the target parking space from the preset parking target point according to the preset parking target point to obtain a first path, wherein an end of the first path away from the preset parking target point is marked as a parking start position, and the target parking space is generated according to the preset parking target point;
[0009] Determining parking starting posture information according to the first path, wherein the parking starting posture information is posture information of the target vehicle at the parking starting position;
[0010] Generate a path for the target vehicle from the current position to the parking starting position according to the current position information of the target vehicle, the parking starting position information and the preset parking speed, and obtain a second path; and
[0011] A parking path for the target vehicle is generated according to the first path and the second path.
[0012] According to an embodiment of the present disclosure, the first path includes a first sub-path, a second sub-path and a third sub-path; a path for a target vehicle to drive out of a target parking space from the preset parking target point is generated according to a preset parking target point, and obtaining the first path includes: generating the first sub-path with the preset parking target point as the starting point of the first sub-path; generating the second sub-path with the end point of the first sub-path as the starting point of the second sub-path; generating the third sub-path with the end point of the second sub-path as the starting point of the third sub-path; generating the first path according to the first sub-path, the second sub-path and the third sub-path.
[0013] According to an embodiment of the present disclosure, the method further includes: determining a target turning radius and a target arc length according to size information of a target parking space, size information of a target vehicle and a preset parking target point, wherein the target turning radius represents a minimum turning radius at which the target vehicle can turn out of the garage, and the target arc length represents a minimum arc length at which the target vehicle can turn out of the garage with the target turning radius; wherein generating a first sub-path with the preset parking target point as the starting point of the first sub-path includes: generating a first sub-path with the preset parking target point as the starting point of the first sub-path according to the target turning radius and the target arc length, wherein the first sub-path is away from the preset parking target point. Assume that one end of the parking target point is marked as the first end point; generating the second sub-path with the end point of the first sub-path as the starting point of the second sub-path includes: taking the first end point as the starting point of the second sub-path, generating the second sub-path according to the position information of the target vehicle at the first end point, wherein the end of the second sub-path away from the first sub-path is marked as the second end point; generating the third sub-path with the end point of the second sub-path as the starting point of the third sub-path includes: taking the second end point as the starting point of the third sub-path, generating the third sub-path according to the target turning radius and the target arc length, wherein the end of the third sub-path away from the second sub-path is the parking starting position.
[0014] According to an embodiment of the present disclosure, according to the size information of the target parking space, the size information of the target vehicle and the preset parking target point, determining the target turning radius and the target arc length includes: establishing a parking space coordinate system with the preset point in the target parking space as the origin, wherein the forward direction of the target vehicle is the positive direction of the X-axis of the parking space coordinate system, the Y-axis direction of the parking space coordinate system is perpendicular to the forward direction of the target vehicle and points to the left side of the target vehicle, the preset point is a point at a first distance from the roadside in a first direction and a second distance from the preset parking target point in a second direction; iteratively performing the following operations until the current right vertex coordinate of the target vehicle meets the preset conditions The present invention relates to a method for determining a turning radius and an arc length when the preset conditions are met as the target turning radius and the target arc length: taking the preset turning radius as the current turning radius, and taking the preset parking target point as the starting point to turn out of the parking lot to the preset position; determining the initial arc length according to the current coordinates of the target parking space at the preset position and the coordinates of the preset parking target point; determining the current right vertex coordinates of the target vehicle according to the parking space coordinate system and the size information of the target parking space; and adjusting the turning radius according to the size information of the target parking space when it is determined that the current right vertex coordinates of the target vehicle do not meet the preset conditions, and determining the adjusted turning radius as the current turning radius.
[0015] According to an embodiment of the present disclosure, the preset position includes the position when the right vertex of the target vehicle is located at the right boundary of the target parking space; the preset condition includes that the longitudinal coordinate of the current right vertex of the target vehicle is smaller than the width of the target parking space.
[0016] According to an embodiment of the present disclosure, taking the first end point as the starting point of the second sub-path, generating the second sub-path according to the position information of the target vehicle at the first end point includes: determining the extension direction of the second sub-path according to the position information of the target vehicle at the first end point to obtain the target extension direction; determining the length of the second sub-path according to the current position information of the target vehicle and the obstacle information within a first preset range from the target vehicle to obtain the target length; taking the first end point as the starting point of the second sub-path, extending the target length along the target extension direction to obtain the second sub-path.
[0017] According to an embodiment of the present disclosure, the parking information also includes map information within a second preset range from the target vehicle; before generating a path for the target vehicle to drive from the current position to the parking starting position to obtain the second path, it also includes: performing obstacle collision detection between the current position of the target vehicle and the parking starting position based on the map information and the size information of the target vehicle; when the collision detection result indicates that there is an obstacle between the current position of the target vehicle and the parking starting position, generating posture information of the adjustment target point according to the target obstacle; generating a path for the target vehicle to drive from the current position to the adjustment target point according to the current posture information of the target vehicle, the posture information of the adjustment target point and the preset parking speed, and obtaining a first adjustment path; generating a path for the target vehicle to drive from the adjustment target point to the parking starting position according to the posture information of the adjustment target point, the parking starting posture information and the preset parking speed, and obtaining a second adjustment path; generating the second path according to the first adjustment path and the second adjustment path.
[0018] According to an embodiment of the present disclosure, generating the posture information of the adjusted target point according to the target obstacle includes: generating a target obstacle circle according to a preset radius with the center of the target obstacle as the circle point; making a tangent from the current position of the target vehicle to the target obstacle circle to obtain at least one tangent; selecting a target tangent from the at least one tangent according to a preset rule; determining the tangent point of the target tangent as the adjusted target point; and determining the posture information of the adjusted target point according to the tangent direction of the target tangent.
[0019] According to an embodiment of the present disclosure, the parking information also includes posture information of a preset parking target point, and the method further includes: if it is determined according to the posture information of the preset parking target point that the posture of the preset parking target point does not satisfy the preset posture, modifying the posture information of the preset parking target point.
[0020] Another aspect of the present disclosure provides a parking method, comprising:
[0021] A parking path corresponding to the vehicle to be parked is obtained, wherein the parking path includes a first path and a second path, wherein the first path is a path generated according to a preset parking target point for the vehicle to be parked to drive out of a target parking space from the preset parking target point, and the target parking space is generated according to the preset parking target point; the second path is parking starting posture information determined according to the first path, wherein the parking starting posture information is posture information of the target vehicle at a parking starting position, and the parking starting position is an end of the first path away from the preset parking target point; a path for the vehicle to be parked to drive from a current position to the parking starting position is generated according to the current posture information of the vehicle to be parked, the parking starting posture information, and the preset parking speed;
[0022] Sending a first parking instruction to the vehicle to be parked, wherein the first parking instruction is generated according to current position information of the vehicle to be parked and a parking path, and is used to control the vehicle to be parked to travel along the second path to a parking start position;
[0023] In response to a signal that the vehicle to be parked completes the first parking instruction, a second parking instruction is sent to the vehicle to be parked, wherein the second parking instruction is used to control the vehicle to be parked to reverse along the first path toward the parking target point;
[0024] In response to a signal indicating that the second parking command has been completed for the vehicle to be parked, the parking operation is stopped.
[0025] According to an embodiment of the present disclosure, the second path includes a first adjustment path and a second adjustment path, the first adjustment path is generated according to the current posture information of the vehicle to be parked, the posture information of the adjustment target point and the preset parking speed; the second adjustment path is generated according to the posture information of the adjustment target point, the parking starting posture information and the preset parking speed, and the adjustment target point is determined according to the target obstacle between the current position of the vehicle to be parked and the parking starting position; sending a first parking instruction to the vehicle to be parked, wherein the first parking instruction is generated according to the current posture information of the vehicle to be parked and the parking path, and is used to control the vehicle to be parked to travel along the second path to the parking starting position, including: sending a first sub-instruction to the vehicle to be parked, wherein the first sub-instruction is generated according to the first adjustment path, and is used to control the vehicle to be parked to travel along the first adjustment path to the target adjustment point; in response to a signal that the vehicle to be parked completes the first sub-instruction, sending a second sub-instruction to the vehicle to be parked, wherein the second sub-instruction is generated according to the second adjustment path, and is used to control the vehicle to be parked to travel along the second adjustment path to the parking starting position.
[0026] Another aspect of the present disclosure provides a parking path generation device, comprising:
[0027] A first acquisition module, configured to acquire parking information corresponding to the target vehicle in response to the target vehicle entering the parking scene, wherein the parking information includes current position information of the target vehicle and a preset parking target point;
[0028] A first generating module is used to generate a path for a target vehicle to drive out of a target parking space from the preset parking target point according to a preset parking target point, so as to obtain a first path, wherein an end of the first path away from the preset parking target point is marked as a parking start position, and the target parking space is generated according to the preset parking target point;
[0029] A determination module, configured to determine parking start posture information according to the first path, wherein the parking start posture information is posture information of the target vehicle at the parking start position;
[0030] A second generating module is used to generate a path for the target vehicle to travel from the current position to the parking starting position according to the current position information of the target vehicle, the parking starting position information and the preset parking speed, so as to obtain a second path; and
[0031] The third generating module is used to generate a parking path of the target vehicle according to the first path and the second path.
[0032] Another aspect of the present disclosure provides a parking device, comprising:
[0033] A second acquisition module is used to acquire a parking path corresponding to the vehicle to be parked, wherein the parking path includes a first path and a second path, wherein the first path is a path generated according to a preset parking target point for the vehicle to be parked to drive out of a target parking space from the preset parking target point, and the target parking space is generated according to the preset parking target point; the second path is to determine parking starting posture information according to the first path, wherein the parking starting posture information is the posture information of the target vehicle at the parking starting position, and the parking starting position is the end of the first path away from the preset parking target point; and the path of the vehicle to be parked from the current position to the parking starting position is generated according to the current posture information of the vehicle to be parked, the parking starting posture information and the preset parking speed;
[0034] A first sending module, configured to send a first parking instruction to the vehicle to be parked, wherein the first parking instruction is generated according to current position information of the vehicle to be parked and a parking path, and is configured to control the vehicle to be parked to travel along a second path to a parking start position;
[0035] a second sending module, configured to send a second parking instruction to the vehicle to be parked in response to a signal indicating that the vehicle to be parked has completed the first parking instruction, wherein the second parking instruction is used to control the vehicle to be parked to reverse along the first path toward the parking target point;
[0036] The stopping module is used for stopping the parking operation in response to a signal indicating that the vehicle to be parked completes the second parking instruction.
[0037] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the method of the embodiment of the present disclosure when executed.
[0038] Another aspect of the present disclosure provides a computer program, which includes computer executable instructions. When the instructions are executed, they are used to implement the method of the embodiment of the present disclosure.
[0039] According to the embodiments of the present disclosure, after the target vehicle enters the parking scene, the current posture information and the preset parking target point of the target vehicle are obtained; then the target parking space is generated according to the preset parking point, and the path of the target vehicle driving out of the target parking space from the preset parking target point is generated according to the preset parking target point to obtain the first path, and the posture information of the parking starting position is obtained; then according to the current posture information of the target vehicle, the parking starting posture information and the preset parking speed, the path of the target vehicle driving from the current position to the parking starting position is generated to obtain the second path; then according to the first path and the second path, the parking path technical means of the target vehicle is generated, by generating the second path based on the parking starting posture information during the parking process, so that when parking, the vehicle can move to the parking starting position along the second path, and maintain the posture of the parking starting position to perform the reverse operation, and accurately park at the preset parking target point, so as to at least partially overcome the technical problems of inaccurate parking of vehicles and low parking efficiency in the related art, thereby achieving the technical effect of accurately parking vehicles and improving parking efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0041] Figure 1 An exemplary system architecture to which the method for generating a parking path according to an embodiment of the present disclosure can be applied is schematically shown;
[0042] Figure 2 A flowchart of a method for generating a parking path according to an embodiment of the present disclosure is schematically shown;
[0043] Figure 3 A flowchart of a method for generating a first path according to an embodiment of the present disclosure is schematically shown;
[0044] Figure 4 A schematic diagram of parking according to an embodiment of the present disclosure is schematically shown;
[0045] Figure 5 A flowchart of a method for generating a parking path according to another embodiment of the present disclosure is schematically shown;
[0046] Figure 6 A flowchart of parallel parking according to an embodiment of the present disclosure is schematically shown;
[0047] Figure 7 A flowchart schematically illustrates the entry phase of parallel parking according to an embodiment of the present disclosure;
[0048] Figure 8 A flowchart of a parking method according to an embodiment of the present disclosure is schematically shown;
[0049] Fig. 9 A block diagram schematically shows a device for generating a parking path according to an embodiment of the present disclosure;
[0050] Fig.10 A block diagram schematically shows a parking device according to an embodiment of the present disclosure; and
[0051] Fig.11 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0052] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0053] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0054] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0055] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0056] The embodiment of the present disclosure provides a method for generating a parking path. The method includes: in response to a target vehicle entering a parking scene, obtaining parking information corresponding to the target vehicle, wherein the parking information includes the current position information of the target vehicle and a preset parking target point; generating a path for the target vehicle to drive out of the target parking space from the preset parking target point according to the preset parking target point, and obtaining a first path, wherein the end of the first path away from the preset parking target point is marked as a parking start position, and the target parking space is generated according to the preset parking target point; determining the parking start position information according to the first path, wherein the parking start position information is the position information of the target vehicle at the parking start position; generating a path for the target vehicle to drive from the current position to the parking start position according to the current position information of the target vehicle, the parking start position information and the preset parking speed, and obtaining a second path; and generating a parking path for the target vehicle according to the first path and the second path.
[0057] In the technical solution of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.
[0058] In the technical solution disclosed in the present invention, the acquisition, collection, storage, use, processing, transmission, provision, disclosure and application of data are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures are taken, and do not violate public order and good morals.
[0059] Figure 1 The exemplary system architecture 100 to which the method for generating a parking path according to an embodiment of the present disclosure can be applied is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0060] like Figure 1 As shown, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.
[0061] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 101, 102, and 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, and / or social platform software, etc. (only for example).
[0062] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to unmanned vehicles, smart phones, tablet computers, laptop computers, desktop computers, etc.
[0063] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0064] It should be noted that the method for generating a parking path provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the device for generating a parking path provided in the embodiment of the present disclosure can generally be set in the server 105. The method for generating a parking path provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the device for generating a parking path provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Alternatively, the method for generating a parking path provided in the embodiment of the present disclosure can also be executed by the first terminal device 101, the second terminal device 102, the third terminal device 103, or can also be executed by other terminal devices different from the terminal devices 101, 102, or 103. Accordingly, the parking path generation device provided in the embodiment of the present disclosure may also be arranged in the first terminal device 101, the second terminal device 102, the third terminal device 103, or in other terminal devices different from the first terminal device 101, the second terminal device 102, the third terminal device 103.
[0065] For example, the first terminal device 101, the second terminal device 102, and the third terminal device 103 may obtain parking information corresponding to the target vehicle. Then, the first terminal device 101 may locally execute the parking path generation method provided by the embodiment of the present disclosure based on the parking information, the size information of the target parking space, and the size information of the target vehicle, or send the information to other terminal devices, servers, or server clusters, and the other terminal devices, servers, or server clusters that receive the information may execute the parking path generation method provided by the embodiment of the present disclosure.
[0066] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0067] Figure 2 The flowchart of the method for generating a parking path according to an embodiment of the present disclosure is schematically shown.
[0068] like Figure 2 As shown, the method includes operations S210 to S250.
[0069] In operation S210, in response to the target vehicle entering a parking scene, parking information corresponding to the target vehicle is acquired, wherein the parking information includes current position information of the target vehicle and a preset parking target point.
[0070] According to an embodiment of the present disclosure, the target vehicle is in a cruising scene during normal driving. After driving to a parking area, the target vehicle switches from a cruising scene to a parking scene because the route planning method of the cruising scene is different from the route planning method of the parking scene.
[0071] According to an embodiment of the present disclosure, in response to the target vehicle switching to a parking scene, the parking path generation method provided by the embodiment of the present disclosure is executed.
[0072] According to an embodiment of the present disclosure, the parking information may include all information required when the target vehicle is parked in the target parking space. For example, the parking information may include the current position information of the target vehicle, the size information of the target vehicle, the map information of the preset parking target point and the surrounding area of the target vehicle, etc.
[0073] According to an embodiment of the present disclosure, after the target vehicle enters the parking scene, parking information may be sent to the target vehicle, such as a preset parking target point of the target vehicle, which represents a specific location where the target vehicle is parked.
[0074] In operation S220, a path for the target vehicle to drive out of the target parking space from the preset parking target point is generated according to the preset parking target point to obtain a first path, wherein an end of the first path away from the preset parking target point is marked as a parking start position, and the target parking space is generated according to the preset parking target point.
[0075] According to an embodiment of the present disclosure, the target parking space may be a minimum parking space generated according to a preset parking target point.
[0076] According to an embodiment of the present disclosure, the parking process is reversed, with a preset parking target point as the starting point, and a path for the target vehicle to drive out of the target parking space from the preset parking target point is determined based on the size information of the target parking space and the size information of the target vehicle. The end point of the path is the starting point when the target vehicle enters the garage.
[0077] According to the embodiments of the present disclosure, a first path is generated with a preset parking target point as a starting point, thereby obtaining a starting point for entering the garage, so that the target vehicle can start to reverse into the garage after driving to the starting point for entering the garage, thereby accurately parking at the preset parking target point position, thereby improving parking accuracy. At the same time, starting from the starting point for entering the garage and reversing into the garage along the first path, the vehicle can park at the preset parking target point once without adjusting the position of the target vehicle again, thereby helping to improve parking efficiency.
[0078] In operation S230 , parking start posture information is determined according to the first path, wherein the parking start posture information is posture information of the target vehicle at the parking start position.
[0079] According to an embodiment of the present disclosure, the parking start posture information may include the heading information of the target vehicle at the parking start posture.
[0080] According to an embodiment of the present disclosure, the target vehicle exits the target garage from the preset parking target point according to the first path, and when reaching the end of the first path, the posture of the target vehicle is the parking starting posture information.
[0081] In operation S240, a path for the target vehicle to travel from the current position to the parking starting position is generated according to the current position information of the target vehicle, the parking starting position information, and the preset parking speed, thereby obtaining a second path.
[0082] In operation S250, a parking path of the target vehicle is generated according to the first path and the second path.
[0083] According to the embodiments of the present disclosure, after the target vehicle enters the parking scene, the current posture information and the preset parking target point of the target vehicle are obtained; then the target parking space is generated according to the preset parking point, and the path of the target vehicle driving out of the target parking space from the preset parking target point is generated according to the size information of the target parking space and the size information of the target vehicle, so as to obtain the first path and the posture information of the parking starting position; then the path of the target vehicle driving from the current position to the parking starting position is generated according to the current posture information of the target vehicle, the parking starting posture information and the preset parking speed, so as to obtain the second path; then the parking path technical means of the target vehicle is generated according to the first path and the second path, and the second path is used to generate the second path based on the parking starting posture information during the parking process, so that the vehicle can move to the parking starting position along the second path when parking, and maintain the posture of the parking starting position to perform the reverse operation, and accurately park at the preset parking target point, so as to at least partially overcome the technical problems of inaccurate parking of vehicles and low parking efficiency in the related art, thereby achieving the technical effect of accurately parking vehicles and improving parking efficiency.
[0084] According to an embodiment of the present disclosure, the first path includes a first sub-path, a second sub-path and a third sub-path; a path for a target vehicle to drive out of a target parking space from the preset parking target point is generated according to a preset parking target point, and obtaining the first path includes: generating the first sub-path with the preset parking target point as the starting point of the first sub-path; generating the second sub-path with the end point of the first sub-path as the starting point of the second sub-path; generating the third sub-path with the end point of the second sub-path as the starting point of the third sub-path; generating the first path according to the first sub-path, the second sub-path and the third sub-path.
[0085] Figure 3 The flowchart of the method for generating the first path according to the embodiment of the present disclosure is schematically shown.
[0086] like Figure 3 As shown, operation S220 includes operations S310 to S350.
[0087] In operation S310, a target turning radius and a target arc length are determined according to the size information of the target parking space, the size information of the target vehicle and the preset parking target point, wherein the target turning radius represents the minimum turning radius at which the target vehicle can turn out of the parking lot, and the target arc length represents the minimum arc length at which the target vehicle can turn out of the parking lot with the target turning radius.
[0088] According to an embodiment of the present disclosure, the size information of the target parking space may include the length information and width information of the target parking space. The size information of the target vehicle may include information such as vehicle width, front overhang length, rear overhang length and wheelbase length. Among them, the front overhang length represents the distance from the center of the front wheel to the front end of the vehicle; the rear overhang length represents the distance from the center of the rear wheel to the rear end of the vehicle; and the wheelbase length represents the distance from the center of the front wheel to the center of the rear wheel.
[0089] According to the embodiments of the present disclosure, in the process of determining the target turning radius and the target arc length, the parking process can be reversed, with the parking end point (preset parking target point) as the starting point, turning out of the warehouse with the minimum turning radius until the right vertex of the target vehicle reaches the right boundary of the parking space; then the coordinates of the right front vertex of the target vehicle are calculated according to the position and posture of the target vehicle. If the coordinates of the right front vertex are greater than or equal to the width of the target parking space, it means that the length of the parking space can meet one parking, and the minimum turning radius is determined as the target turning radius; if the coordinates of the right front vertex are less than the width of the target parking space, it means that the length of the parking space cannot meet one parking, and the turning radius needs to be adjusted until the exit requirements are met or the number of adjustments reaches the limit, then the adjustment is terminated to obtain the target turning radius. The target arc length is the arc length that the target vehicle travels when turning out of the warehouse with the target turning radius until the right vertex of the target vehicle reaches the right boundary of the parking space.
[0090] According to an embodiment of the present disclosure, a parking space coordinate system is established with a preset point in the target parking space as the origin, wherein the forward direction of the target vehicle is the positive direction of the X-axis of the parking space coordinate system, and the Y-axis direction of the parking space coordinate system is perpendicular to the forward direction of the target vehicle and pointing to the left side of the target vehicle, and the preset point is a point that is a first distance from the roadside in a first direction and a second distance from the preset parking target point in a second direction.
[0091] According to an embodiment of the present disclosure, the first distance represents the distance from the roadside after the target vehicle is parked in the target parking space. The second distance represents the distance from the rear obstacle after the target vehicle is parked in the target parking space. The first distance and the second distance can be preconfigured. The first distance and the second distance can be the same or different. For example, the first distance and the second distance can both be 30 centimeters; for another example, the first distance can be 40 centimeters, and the second distance can both be 30 centimeters.
[0092] According to an embodiment of the present disclosure, in the parking space coordinate system, each coordinate point of the outer contour of the target vehicle can be expressed by the following formulas (1) to (4), wherein formula (1) represents the coordinate of the front vertex on the left side of the target vehicle, formula (2) represents the coordinate of the front vertex on the right side of the target vehicle, formula (3) represents the coordinate of the rear vertex on the left side of the target vehicle, and formula (4) represents the coordinate of the rear vertex on the left side of the target vehicle.
[0093] (1)
[0094] (2)
[0095] (3)
[0096] (4)
[0097] in, , is the reference point, i.e. the coordinate of the rear axle center of the target vehicle, is the vehicle width, is the front overhang length, is the rear overhang length, is the wheelbase length, is the angle between the vehicle body and the X-axis.
[0098] According to an embodiment of the present disclosure, determining a target turning radius and a target arc length based on size information of a target parking space, size information of a target vehicle and a preset parking target point may include: iteratively performing the following operations until the current right vertex coordinates of the target vehicle meet preset conditions, and determining the turning radius and arc length when the preset conditions are met as the target turning radius and target arc length: taking the preset turning radius as the current turning radius, and turning out of the warehouse to the preset position with the preset parking target point as the starting point; determining an initial arc length based on the current coordinates of the target parking space at the preset position and the coordinates of the preset parking target point; determining the current right vertex coordinates of the target vehicle based on the parking space coordinate system and the size information of the target parking space; based on the size information of the target parking space, if it is determined that the current right vertex coordinates of the target vehicle do not meet the preset conditions, adjusting the turning radius, and determining the adjusted turning radius as the current turning radius.
[0099] According to an embodiment of the present disclosure, the preset position includes the position when the right vertex of the target vehicle is located at the right boundary of the target parking space; the preset condition includes that the longitudinal coordinate of the current right vertex of the target vehicle is smaller than the width of the target parking space.
[0100] In operation S320, a first sub-path is generated with the preset parking target point as the starting point of the first sub-path according to the target turning radius and the target arc length, wherein an end of the first sub-path away from the preset parking target point is marked as a first end point.
[0101] According to an embodiment of the present disclosure, the first subpath is for the target vehicle to adjust its posture in the target parking space according to a preset parking target point and determine the target turning radius.
[0102] In operation S330, the first end point is used as the starting point of the second sub-path, and the second sub-path is generated according to the position information of the target vehicle at the first end point, wherein the end of the second sub-path away from the first sub-path is marked as the second end point.
[0103] According to an embodiment of the present disclosure, taking the first end point as the starting point of the second sub-path, generating the second sub-path according to the position information of the target vehicle at the first end point includes: determining the extension direction of the second sub-path according to the position information of the target vehicle at the first end point to obtain the target extension direction; determining the length of the second sub-path according to the current position information of the target vehicle and the obstacle information within a first preset range from the target vehicle to obtain the target length; taking the first end point as the starting point of the second sub-path, extending the target length along the target extension direction to obtain the second sub-path.
[0104] According to an embodiment of the present disclosure, the position information of the first terminal may include the heading information of the target vehicle at the first terminal, and the extension direction of the second subpath is determined according to the heading information. Specifically, the heading of the target vehicle at the first terminal is used as the target extension direction.
[0105] According to an embodiment of the present disclosure, the target length is an optimal length estimated based on the current posture information of the target vehicle and the obstacle information within a first preset range from the target vehicle.
[0106] According to an embodiment of the present disclosure, the first preset range may be pre-configured, such as within two meters around the target vehicle.
[0107] According to an embodiment of the present disclosure, the first end point is used as the starting point of the second sub-path, and the target length is extended along the target extension direction to obtain the second sub-path. The target length can be extended toward the target by the difference method to obtain the second sub-path.
[0108] According to an embodiment of the present disclosure, the second sub-path can be a straight line segment as a transition segment between the diameters of the first sub-path and the third sub-path. In the process of determining the second sub-path, the length of the second sub-path is adjusted according to the locations of obstacles detected around the target vehicle, so that the objective factors of imperfect control in the actual vehicle environment are taken into account at the same time.
[0109] In operation S340, the third sub-path is generated with the second end point as the start point of the third sub-path according to the target turning radius and the target arc length, wherein an end of the third sub-path away from the second sub-path is the parking start position.
[0110] According to an embodiment of the present disclosure, the target turning radius and target arc length of the third sub-path are consistent with the target turning radius and target arc length of the first sub-path, except that the turning direction of the third sub-path is different from the turning direction of the first sub-path. For example, the target vehicle needs to turn left along the first sub-path, while the third sub-path needs to turn right.
[0111] According to an embodiment of the present disclosure, the third subpath represents that the target vehicle starts to reverse from the parking start position into the target parking space.
[0112] In operation S350, a first path is generated according to the first sub-path, the second sub-path, and the third sub-path.
[0113] Figure 4 A parking diagram according to an embodiment of the present disclosure is schematically shown.
[0114] like Figure 4 As shown, when the target vehicle drives to position A, it enters the parking scene, and then obtains the parking information of the target vehicle at position A, such as the current position information of the target vehicle at position A, the preset parking target point, such as Figure 4 Then generate the target parking space according to the preset parking target point, for example, the length of the target parking space is L and the width is W.
[0115] Perform reverse path planning, and generate a path for the target vehicle to drive out of the target parking space from the preset parking target point A7 according to the size information of the target parking space and the size information of the target vehicle, and obtain the first path, i.e., path A7~A2, where point A2 is the parking start position. The first path includes the first sub-path, i.e., A7~A6, the second sub-path, A5~A4, and the third sub-path, A3~A2. It should be noted that A8~A7, A6~A5, A4~A3, and A2~A1 are the target vehicle's wheel return process.
[0116] In the process of planning the first sub-path, the target turning radius, i.e., the distance from A7 to O2, and the target arc length are determined according to the size information of the target parking space, the size information of the target vehicle and the preset parking target point. The preset parking target point, i.e., point A7, is used as the starting point of the first sub-path, and the arc length of the first sub-path, i.e., A7 to A6, is generated according to the target turning radius and the target arc length.
[0117] During the second sub-path planning process, the extension direction of the second sub-path is determined according to the position information of the target vehicle at the first end point, i.e., point A6, to obtain the target extension direction, i.e., the direction from A5 to A4; the length of the second sub-path is determined according to the current position information of the target vehicle and the obstacle information within the first preset range from the target vehicle, to obtain the target length; with the first end point as the starting point of the second sub-path, the target length is extended along the target extension direction to obtain the straight line segment of the second sub-path, i.e., from A5 to A4.
[0118] During the planning of the third sub-path, the target turning radius and target arc length of the third sub-path are consistent with those of the first sub-path, that is, the target vehicle is based on the second end point, i.e., point A4, as the starting point, and the third sub-path is generated according to the target turning radius and target arc length, and the arc segment of A3~A2 is obtained, and point A2 is the parking starting position. The difference between the third sub-path and the first sub-path is that the turning direction of the third sub-path is different from that of the first sub-path. For example, the target vehicle needs to turn left along the first sub-path, while the third sub-path needs to turn right.
[0119] Afterwards, the position information of the target vehicle at position A2 is determined, and the parking starting position information is determined; afterward, according to the current position information of the target vehicle, the parking starting position information and the preset parking speed, a path for the target vehicle to drive from the current position to the parking starting position is generated, and a second path, i.e., path A~A2, is obtained. Therefore, the parking path of the embodiment of the present disclosure includes A~A2 and A2~A8.
[0120] When parking, the target vehicle first drives from position A to position A2; then reverses along the A2-A3 arc to position A3, then reverses along the A4-A5 straight line to position A5 after turning the wheels, then reverses along the A6-A7 arc to point A7 after turning the wheels, and stops accurately at point A7 to complete the reverse operation.
[0121] In some embodiments, a reverse segment (not shown in the figure) may be included after point A8 to guide the vehicle to drive to a parking spot.
[0122] It should be noted that in order to ensure that the path meets continuous changes and increase the adaptability of the algorithm, the embodiment of the present disclosure uses a quintic polynomial to design the storage path. The formula of the quintic polynomial can be expressed by the following formula.
[0123] (5)
[0124] (6)
[0125] (7)
[0126] Assume that the positions of the starting point and the parking point are and , we can get:
[0127] (8)
[0128] (9)
[0129] (10)
[0130] (11)
[0131] In order to ensure the curvature continuity of the paths at both ends of the parking point, the quintic polynomial must be constrained by the equivalent front wheel turning angle δ of the parking point. Assuming that the equivalent front wheel turning angles at the starting point and the parking point are δ1 and δ2 respectively, the following constraint equation can be established:
[0132] (12)
[0133] (13)
[0134] According to equations (8) to (13), six equations are established to solve a unique quintic polynomial curve, which is the planned path.
[0135] Figure 5 A flowchart of a method for generating a parking path according to another embodiment of the present disclosure is schematically shown.
[0136] According to an embodiment of the present disclosure, the parking information further includes map information within a second preset range from the target vehicle.
[0137] like Figure 5 As shown, the method for generating a parking path of this embodiment may include operations S510 to S570 before operation S240 in addition to operations S210 to S250.
[0138] In operation S510, obstacle collision detection is performed between the current position of the target vehicle and the parking start position according to the map information and the size information of the target vehicle to obtain a collision detection result.
[0139] According to an embodiment of the present disclosure, according to the map information and the size information of the target vehicle, performing obstacle collision detection between the current position of the target vehicle and the parking start position may include: generating a rectangular box on the second path according to the size information of the target vehicle, and performing collision detection with obstacles and road boundaries in the map information. If there is no intersection, it indicates that there is no obstacle in the second path; if there is an intersection, it indicates that there is an obstacle in the second path.
[0140] In operation S520, it is determined whether there is an obstacle between the current position of the target vehicle and the parking start position according to the collision detection result. If there is an obstacle, operation S530 is performed; if there is no obstacle, operation S570 is performed.
[0141] In operation S530 , position and posture information of the target point is adjusted according to the target obstacle generation.
[0142] According to an embodiment of the present disclosure, generating the posture information of the adjusted target point according to the target obstacle includes: generating a target obstacle circle according to a preset radius with the center of the target obstacle as the circle point; making a tangent from the current position of the target vehicle to the target obstacle circle to obtain at least one tangent; selecting a target tangent from the at least one tangent according to a preset rule; determining the tangent point of the target tangent as the adjusted target point; and determining the posture information of the adjusted target point according to the tangent direction of the target tangent.
[0143] According to an embodiment of the present disclosure, the preset rule may be a tangent line that makes the target vehicle turn at the minimum angle. Specifically, the preset rule may be a tangent line that has the smallest angle with the current heading of the target vehicle.
[0144] In operation S540, a path for the target vehicle to travel from the current position to the adjustment target point is generated according to the current position information of the target vehicle, the position information of the adjustment target point, and the preset parking speed, to obtain a first adjustment path.
[0145] In operation S550, a path for the target vehicle to travel from the adjustment target point to the parking start position is generated according to the posture information of the adjustment target point, the parking start posture information, and the preset parking speed, thereby obtaining a second adjustment path.
[0146] In operation S560 , a second path is generated according to the first adjustment path and the second adjustment path.
[0147] In operation S570, the second path is directly generated.
[0148] According to the embodiments of the present disclosure, the method provided by the present disclosure introduces a proportional guide line and a second path during the parking process, and provides an obstacle avoidance method during the generation of the proportional guide line, which fully considers the kinematic characteristics of the vehicle and is more reasonable than the method of planning the path of the vehicle as a particle in related technologies.
[0149] According to an embodiment of the present disclosure, the parking information also includes posture information of a preset parking target point, and the method further includes: if it is determined according to the posture information of the preset parking target point that the posture of the preset parking target point does not satisfy the preset posture, modifying the posture information of the preset parking target point.
[0150] According to an embodiment of the present disclosure, the method can correct the side distance and posture of a preset parking target point according to map information during the parking process.
[0151] Figure 6 A flowchart of parallel parking according to an embodiment of the present disclosure is schematically shown.
[0152] like Figure 6 As shown, this embodiment includes operations S601 to S608.
[0153] In operation S601, current position information, target point information, road boundary information and map information of the target vehicle are obtained from the configuration file. The target point information includes target point heading information and target point coordinate information.
[0154] In operation S602, it is determined whether the target vehicle is parallel parked according to the current position information and road boundary information of the target vehicle. If not, operation S608 is executed; if yes, operation S603 is executed.
[0155] In operation S603, obstacle information of the target vehicle within a first threshold range is determined according to the map information to obtain an obstacle tree, wherein the obstacle information includes distance information of the obstacle from the target vehicle, obstacle size information, and obstacle intention information.
[0156] In operation S604, local coordinate system conversion is performed.
[0157] In operation S605 , an adjustment segment path, an entry segment path, and a straight segment path are generated respectively based on the local coordinate system.
[0158] In operation S606, it is determined whether the adjustment segment path, the entry segment path and the straight segment path intersect with the obstacles in the obstacle tree. If there is an intersection, operation S608 is performed; if there is no intersection, operation S607 is performed.
[0159] In operation S607 , a status code indicating that parking path planning is completed is returned.
[0160] In operation S608, an error is returned.
[0161] Figure 7 A flow chart of the entry phase of parallel parking according to an embodiment of the present disclosure is schematically shown.
[0162] like Figure 7 As shown, this embodiment includes operations S701 to S711.
[0163] In operation S701, current position information, target point information, road boundary information and map information of a target vehicle are acquired. The target point information may include target point heading information and target point coordinate information.
[0164] In operation S702 , a minimum parking space and a width are determined according to the target point information to determine a parking space.
[0165] In operation S703, it is determined whether the target point is parallel to the road boundary according to the target point information and the road boundary information. If not, operation S711 is executed; if yes, operation S704 is executed.
[0166] In operation S704, it is determined whether the road where the parking space is located is straight according to the map information. If not, operation S711 is executed, and if so, operation S705 is executed.
[0167] According to an embodiment of the present disclosure, if the road is not straight, for example, the parking space is located at a road intersection, during the parking process, the vehicle needs to move to the road intersection to perform the parking operation, thereby making it difficult to perform a parallel parking operation.
[0168] In operation S705, it is determined whether the distance between the target point and the roadside meets a preset value according to the target point coordinate information. If not, operation S706 is performed; if yes, operation S707 is performed.
[0169] In operation S706, a new target point is generated based on the preset value.
[0170] In operation S707 , a parking coordinate system is established according to the target point.
[0171] In operation S708, a parking space center point is generated. The parking space center point is the center point of the parking space.
[0172] In operation S709, it is determined whether the parking space is located in a parking area according to the center point of the parking space and the map information. If yes, operation S710 is executed; if no, operation S711 is executed.
[0173] According to an embodiment of the present disclosure, when the parking space is located in a no-parking zone, the parallel parking operation needs to be stopped.
[0174] In operation S710, entry into a parking space is permitted.
[0175] In operation S711, an error is returned.
[0176] Figure 8 The flowchart of the parking method according to the embodiment of the present disclosure is schematically shown.
[0177] like Figure 8 As shown, the method includes operations S810 to S840.
[0178] In operation S810, a parking path corresponding to the vehicle to be parked is obtained. The parking path includes a first path and a second path. The first path is a path generated according to a preset parking target point for the vehicle to be parked to drive out of the target parking space from the preset parking target point. The second path is parking start posture information determined according to the first path, wherein the parking start posture information is the posture information of the target vehicle at the parking start position, and the parking start position is the end of the first path away from the preset parking target point. The path of the vehicle to be parked from the current position to the parking start position is generated according to the current posture information of the vehicle to be parked, the parking start posture information and the preset parking speed.
[0179] In operation S820, a first parking instruction is sent to the vehicle to be parked, wherein the first parking instruction is generated according to current position information and a parking path of the vehicle to be parked, and is used to control the vehicle to be parked to travel along the second path to a parking start position.
[0180] In operation S830, in response to a signal that the vehicle to be parked completes the first parking instruction, a second parking instruction is sent to the vehicle to be parked, wherein the second parking instruction is used to control the vehicle to be parked to reverse along the first path toward the parking target point.
[0181] In operation S840, in response to a signal indicating that the second parking instruction has been completed for the vehicle to be parked, the parking operation is stopped.
[0182] According to an embodiment of the present disclosure, the second path includes a first adjustment path and a second adjustment path, the first adjustment path is generated according to the current posture information of the vehicle to be parked, the posture information of the adjustment target point and the preset parking speed; the second adjustment path is generated according to the posture information of the adjustment target point, the parking starting posture information and the preset parking speed, and the adjustment target point is determined according to the target obstacle between the current position of the vehicle to be parked and the parking starting position; sending a first parking instruction to the vehicle to be parked, wherein the first parking instruction is generated according to the current posture information of the vehicle to be parked and the parking path, and is used to control the vehicle to be parked to travel along the second path to the parking starting position, including: sending a first sub-instruction to the vehicle to be parked, wherein the first sub-instruction is generated according to the first adjustment path, and is used to control the vehicle to be parked to travel along the first adjustment path to the target adjustment point; in response to a signal that the vehicle to be parked completes the first sub-instruction, sending a second sub-instruction to the vehicle to be parked, wherein the second sub-instruction is generated according to the second adjustment path, and is used to control the vehicle to be parked to travel along the second adjustment path to the parking starting position.
[0183] Based on the above parking path generation method, the present disclosure also provides a parking path generation device. Fig. 9 The device is described in detail.
[0184] Fig. 9 A block diagram of a device for generating a parking path according to an embodiment of the present disclosure is schematically shown.
[0185] like Fig. 9 As shown, Fig. 9 As shown, the parking path generation device 900 of this embodiment includes a first acquisition module 910 , a first generation module 920 , a determination module 930 , a second generation module 940 and a third generation module 950 .
[0186] The first acquisition module 910 is used to obtain the parking information corresponding to the target vehicle in response to the target vehicle entering the parking scene, wherein the parking information includes the current posture information of the target vehicle and the preset parking target point, and the preset parking target point is located in the target parking space. In one embodiment, the first acquisition module 910 can be used to perform the operation S210 described above, which will not be repeated here.
[0187] The first generation module 920 is used to generate a path for the target vehicle to drive out of the target parking space from the preset parking target point according to the preset parking target point, and obtain a first path, wherein the end of the first path away from the preset parking target point is marked as the parking start position, and the target parking space is generated according to the preset parking target point. In one embodiment, the first generation module 920 can be used to perform the operation S220 described above, which will not be repeated here.
[0188] The determination module 930 is used to determine the parking start posture information according to the first path, wherein the parking start posture information is the posture information of the target vehicle at the parking start position. In one embodiment, the determination module 930 can be used to perform the operation S230 described above, which will not be repeated here.
[0189] The second generation module 940 is used to generate a path for the target vehicle from the current position to the parking starting position according to the current position information of the target vehicle, the parking starting position information and the preset parking speed, and obtain a second path. In one embodiment, the second generation module 940 can be used to perform the operation S240 described above, which will not be repeated here.
[0190] The third generation module 950 is used to generate a parking path of the target vehicle according to the first path and the second path. In one embodiment, the third generation module 950 can be used to perform the operation S250 described above, which will not be repeated here.
[0191] According to an embodiment of the present disclosure, the first path includes a first sub-path, a second sub-path, and a third sub-path.
[0192] According to an embodiment of the present disclosure, the first generation module includes: a first generation submodule, a second generation submodule, a third generation submodule and a fourth generation submodule.
[0193] The first generating submodule is used to generate a first sub-path with a preset parking target point as the starting point of the first sub-path.
[0194] The second generating submodule is used to generate a second subpath by taking the end point of the first subpath as the starting point of the second subpath.
[0195] The third generating submodule is used to generate a third subpath by taking the end point of the second subpath as the starting point of the third subpath.
[0196] The fourth generating submodule is used to generate the first path according to the first subpath, the second subpath and the third subpath.
[0197] According to an embodiment of the present disclosure, the first generating module includes: a first determining submodule.
[0198] The first determination submodule is used to determine a target turning radius and a target arc length according to size information of a target parking space, size information of a target vehicle and a preset parking target point, wherein the target turning radius represents a minimum turning radius at which the target vehicle can turn out of the garage, and the target arc length represents a minimum arc length at which the target vehicle can turn out of the garage with the target turning radius.
[0199] According to an embodiment of the present disclosure, the first generating submodule is further used to generate the first subpath with the preset parking target point as the starting point of the first subpath according to the target turning radius and the target arc length, wherein the end of the first subpath away from the preset parking target point is marked as the first end point.
[0200] The second generating submodule is further used to generate the second subpath with the first end point as the starting point of the second subpath according to the position information of the target vehicle at the first end point, wherein the end of the second subpath away from the first subpath is marked as the second end point.
[0201] The third generating submodule is further used to generate a third subpath with the second end point as the starting point of the third subpath according to the target turning radius and the target arc length, wherein the end of the third subpath away from the second subpath is the parking starting position.
[0202] The fourth generating submodule is further used to generate the first path according to the first subpath, the second subpath and the third subpath.
[0203] According to an embodiment of the present disclosure, a parking space coordinate system is established with a preset point in the target parking space as the origin, wherein the forward direction of the target vehicle is the positive direction of the X-axis of the parking space coordinate system, and the Y-axis direction of the parking space coordinate system is perpendicular to the forward direction of the target vehicle and pointing to the left side of the target vehicle, and the preset point is a point that is a first distance from the roadside in a first direction and a second distance from the preset parking target point in a second direction.
[0204] According to an embodiment of the present disclosure, the first determining submodule includes: a turning and exiting unit, a first determining unit, a second determining unit, and an adjusting unit.
[0205] The following operations of the turning out-of-warehouse unit, the first determination unit, the second determination unit and the adjustment unit are iteratively executed until the current right vertex coordinates of the target vehicle meet the preset conditions, and the turning radius and arc length when the preset conditions are met are determined to be the target turning radius and target arc length.
[0206] Among them, the turning and out-of-warehouse unit is used to turn and out-of-warehouse to a preset position with a preset turning radius as the current turning radius and a preset parking target point as the starting point.
[0207] The first determining unit is used to determine the initial arc length according to the current coordinates of the target parking space at the preset position and the coordinates of the preset parking target point.
[0208] The second determining unit is used to determine the current right vertex coordinates of the target vehicle according to the parking space coordinate system and the size information of the target parking space.
[0209] The adjusting unit is used to adjust the turning radius according to the size information of the target parking space and determine that the current right vertex coordinate of the target vehicle does not meet the preset conditions, and determine the adjusted turning radius as the current turning radius.
[0210] According to an embodiment of the present disclosure, the preset position includes the position when the right vertex of the target vehicle is located at the right boundary of the target parking space; the preset condition includes that the longitudinal coordinate of the current right vertex of the target vehicle is smaller than the width of the target parking space.
[0211] According to an embodiment of the present disclosure, the second generating module includes: a second determining submodule, a third determining submodule and an obtaining submodule.
[0212] The second determination submodule is used to determine the extension direction of the second subpath according to the position information of the target vehicle at the first end point to obtain the target extension direction.
[0213] The third determination submodule is used to determine the length of the second subpath according to the current position information of the target vehicle and the obstacle information within a first preset range from the target vehicle to obtain the target length.
[0214] A sub-module is obtained, and the first end point is used as the starting point of the second sub-path, and the target length is extended along the target extension direction to obtain the second sub-path.
[0215] According to an embodiment of the present disclosure, the parking information further includes map information within a second preset range from the target vehicle.
[0216] According to an embodiment of the present disclosure, the device for generating a parking path further includes: a detection module, a fourth generation module, a fifth generation module, a sixth generation module and a seventh generation module.
[0217] The detection module is used to perform obstacle collision detection between the current position of the target vehicle and the parking start position according to the map information and the size information of the target vehicle.
[0218] The fourth generating module is used to generate and adjust the position and posture information of the target point according to the target obstacle when the collision detection result indicates that there is an obstacle between the current position of the target vehicle and the parking starting position.
[0219] The fifth generation module is used to generate a path for the target vehicle to travel from the current position to the adjustment target point according to the current position information of the target vehicle, the position information of the adjustment target point and the preset parking speed, so as to obtain a first adjustment path.
[0220] The sixth generation module is used to generate a path for the target vehicle to travel from the adjustment target point to the parking start position according to the posture information of the adjustment target point, the parking start posture information and the preset parking speed, so as to obtain a second adjustment path.
[0221] The seventh generating module is used to generate the second path according to the first adjustment path and the second adjustment path.
[0222] According to an embodiment of the present disclosure, the fourth generation module includes: a fifth generation submodule, a tangent generation submodule, a selection submodule, a fourth determination submodule and a fifth determination submodule.
[0223] The fifth generating submodule is used to generate a target obstacle circle with the center of the target obstacle as the circle point according to a preset radius.
[0224] The tangent generation submodule is used to make a tangent from the current position of the target vehicle to the target obstacle circle to obtain at least one tangent.
[0225] The selection submodule is used to select a target tangent line from at least one tangent line according to a preset rule.
[0226] The fourth determination submodule is used to determine the tangent point of the target tangent line as the adjustment target point.
[0227] The fifth determination submodule is used to determine and adjust the position and posture information of the target point according to the tangent direction of the target tangent.
[0228] According to an embodiment of the present disclosure, the parking information also includes posture information of a preset parking target point.
[0229] According to an embodiment of the present disclosure, the device for generating a parking path further includes: a modification module.
[0230] The modification module is used to modify the posture information of the preset parking target point when it is determined that the posture of the preset parking target point does not meet the preset posture according to the posture information of the preset parking target point.
[0231] It should be noted that the embodiments of the device part of the present disclosure are the same or similar to the embodiments of the method part of the present disclosure, and the present disclosure will not repeat them here.
[0232] According to the embodiments of the present invention, any one or more of the modules, sub-modules, and units, or at least part of the functions of any one of them, can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, sub-modules, and units can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, sub-modules, and units can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application-specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging circuits, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, sub-modules, and units can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.
[0233] For example, any of the first acquisition module 910, the first generation module 920, the determination module 930, the second generation module 940, and the third generation module 950 can be combined in one module / unit / sub-unit for implementation, or any of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the first acquisition module 910, the first generation module 920, the determination module 930, the second generation module 940, and the third generation module 950 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, at least one of the first acquisition module 910, the first generation module 920, the determination module 930, the second generation module 940 and the third generation module 950 may be at least partially implemented as a computer program module, which may perform a corresponding function when executed.
[0234] Based on the above parking method, the present disclosure also provides a parking device. Fig.10 The device is described in detail.
[0235] Fig.10A block diagram of a parking device according to an embodiment of the present disclosure is schematically shown.
[0236] like Fig.10 As shown, the parking device 1000 of this embodiment includes a second acquisition module 1010 , a first sending module 1020 , a second sending module 1030 and a stop module 1040 .
[0237] The second acquisition module 1010 is used to acquire a parking path corresponding to the vehicle to be parked, wherein the parking path includes a first path and a second path, the first path is a path generated according to a preset parking target point for the vehicle to be parked to drive out of the target parking space from the preset parking target point; the second path is parking starting posture information determined according to the first path, wherein the parking starting posture information is the posture information of the target vehicle at the parking starting position, and the parking starting position is the end of the first path away from the preset parking target point; the path of the vehicle to be parked from the current position to the parking starting position is generated according to the current posture information of the vehicle to be parked, the parking starting posture information and the preset parking speed.
[0238] The first sending module 1020 is used to send a first parking instruction to the vehicle to be parked, wherein the first parking instruction is generated according to the current posture information and parking path of the vehicle to be parked, and is used to control the vehicle to be parked to travel along the second path to the parking starting position.
[0239] The second sending module 1030 is used to send a second parking instruction to the vehicle to be parked in response to the signal that the vehicle to be parked completes the first parking instruction, wherein the second parking instruction is used to control the vehicle to be parked to reverse along the first path to the parking target point.
[0240] The stopping module 1040 is configured to stop the parking operation in response to a signal indicating that the vehicle to be parked has completed the second parking instruction.
[0241] According to an embodiment of the present disclosure, the second path includes a first adjustment path and a second adjustment path, the first adjustment path is generated based on the current posture information of the vehicle to be parked, the posture information of the adjustment target point and the preset parking speed; the second adjustment path is generated based on the posture information of the adjustment target point, the parking starting posture information and the preset parking speed, and the adjustment target point is determined based on the target obstacle between the current position of the vehicle to be parked and the parking starting position.
[0242] According to an embodiment of the present disclosure, the first sending module includes: a first sending submodule and a second sending submodule.
[0243] The first sending submodule is used to send a first sub-instruction to the vehicle to be parked, wherein the first sub-instruction is generated according to the first adjustment path and is used to control the vehicle to be parked to travel along the first adjustment path to the target adjustment point.
[0244] The second sending submodule is used to send a second sub-instruction to the vehicle to be parked in response to the signal that the vehicle to be parked completes the first sub-instruction, wherein the second sub-instruction is generated according to the second adjustment path and is used to control the vehicle to be parked to travel along the second adjustment path to the parking starting position.
[0245] It should be noted that the embodiments of the device part of the present disclosure are the same or similar to the embodiments of the method part of the present disclosure, and the present disclosure will not repeat them here.
[0246] According to the embodiments of the present invention, any one or more of the modules and submodules, or at least part of the functions of any one of them, can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules and submodules can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules and submodules can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or in any one of the three implementation methods of software, hardware and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules and submodules can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.
[0247] For example, any multiple of the second acquisition module 1010, the first sending module 1020, the second sending module 1030 and the stop module 1040 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the second acquisition module 1010, the first sending module 1020, the second sending module 1030 and the stop module 1040 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the second acquisition module 1010 , the first sending module 1020 , the second sending module 1030 and the stop module 1040 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be executed.
[0248] Fig.11 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Fig.11 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0249] like Fig.11 As shown, the electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage part 1108 to a random access memory (RAM) 1103. The processor 1101 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1101 may also include an onboard memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0250] In RAM 1103, various programs and data required for the operation of electronic device 1100 are stored. Processor 1101, ROM 1102 and RAM 1103 are connected to each other through bus 1104. Processor 1101 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1102 and / or RAM 1103. It should be noted that the program can also be stored in one or more memories other than ROM 1102 and RAM 1103. Processor 1101 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0251] According to an embodiment of the present disclosure, the electronic device 1100 may further include an input / output (I / O) interface 1105, which is also connected to the bus 1104. The system 1100 may further include one or more of the following components connected to the I / O interface 1105: an input portion 1106 including a keyboard, a mouse, etc.; an output portion 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1108 including a hard disk, etc.; and a communication portion 1109 including a network interface card such as a LAN card, a modem, etc. The communication portion 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed, so that a computer program read therefrom is installed into the storage portion 1108 as needed.
[0252] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the processor 1101, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0253] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0254] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: 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 portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.
[0255] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 1102 and / or the RAM 1103 described above and / or one or more memories other than the ROM 1102 and the RAM 1103 .
[0256] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession 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 or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0257] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0258] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A method for generating a parking path, comprising: In response to a target vehicle entering a parking scene, obtaining parking information corresponding to the target vehicle, wherein the parking information includes current position information of the target vehicle and a preset parking target point; Generating a path for the target vehicle to drive out of a target parking space from the preset parking target point according to the preset parking target point to obtain a first path, wherein an end of the first path away from the preset parking target point is marked as a parking start position, and the target parking space is generated according to the preset parking target point; Determining parking starting posture information according to the first path, wherein the parking starting posture information is posture information of the target vehicle at the parking starting position; Generate a path for the target vehicle to travel from the current position to the parking starting position according to the current position information of the target vehicle, the parking starting position information and a preset parking speed, to obtain a second path; and A parking path for the target vehicle is generated according to the first path and the second path.
2. The method according to claim 1, wherein: The first path includes a first sub-path, a second sub-path and a third sub-path; The step of generating a path for the target vehicle to drive out of the target parking space from the preset parking target point according to the preset parking target point to obtain a first path comprises: generating the first sub-path with the preset parking target point as the starting point of the first sub-path; Generate the second sub-path by taking the end point of the first sub-path as the starting point of the second sub-path; Generate the third sub-path by taking the end point of the second sub-path as the starting point of the third sub-path; The first path is generated according to the first sub-path, the second sub-path, and the third sub-path.
3. The method according to claim 2, further comprising: Determine a target turning radius and a target arc length according to the size information of the target parking space, the size information of the target vehicle and the preset parking target point, wherein the target turning radius represents the minimum turning radius at which the target vehicle can turn out of the parking lot, and the target arc length represents the minimum arc length at which the target vehicle can turn out of the parking lot with the target turning radius; The step of generating the first sub-path with the preset parking target point as the starting point of the first sub-path comprises: generating the first sub-path with the preset parking target point as the starting point of the first sub-path according to the target turning radius and the target arc length, wherein an end of the first sub-path away from the preset parking target point is marked as a first end point; Generating the second subpath with the end point of the first subpath as the starting point of the second subpath includes: taking the first end point as the starting point of the second subpath, generating the second subpath according to the position information of the target vehicle at the first end point, wherein the end of the second subpath away from the first subpath is marked as the second end point; Generating the third sub-path with the end point of the second sub-path as the starting point of the third sub-path includes: taking the second end point as the starting point of the third sub-path, generating the third sub-path according to the target turning radius and the target arc length, wherein the end of the third sub-path away from the second sub-path is the parking starting position.
4. The method according to claim 3, wherein: Determining the target turning radius and the target arc length according to the size information of the target parking space, the size information of the target vehicle and the preset parking target point includes: A parking space coordinate system is established with a preset point in the target parking space as the origin, wherein the forward direction of the target vehicle is the positive direction of the X axis of the parking space coordinate system, and the direction perpendicular to the forward direction of the target vehicle and pointing to the left side of the target vehicle is the Y axis direction of the parking space coordinate system, and the preset point is a point at a first distance from the roadside in a first direction and a second distance from the preset parking target point in a second direction; Iteratively perform the following operations until the current right vertex coordinates of the target vehicle meet a preset condition, and determine that the turning radius and arc length when the preset condition is met are the target turning radius and the target arc length: Taking the preset turning radius as the current turning radius, turning out of the parking lot from the preset parking target point as the starting point to the preset position; determining an initial arc length according to the current coordinates of the target parking space at the preset position and the coordinates of the preset parking target point; Determine the current right vertex coordinates of the target vehicle according to the parking space coordinate system and the size information of the target parking space; According to the size information of the target parking space, when it is determined that the current right vertex coordinate of the target vehicle does not meet the preset condition, the turning radius is adjusted, and the adjusted turning radius is determined as the current turning radius.
5. The method according to claim 4, wherein: The preset position includes a position when the right vertex of the target vehicle is located at the right boundary of the target parking space; the preset condition includes that the longitudinal coordinate of the current right vertex of the target vehicle is smaller than the width of the target parking space.
6. The method according to claim 3, wherein: The step of taking the first end point as the starting point of the second sub-path and generating the second sub-path according to the position information of the target vehicle at the first end point comprises: Determine an extension direction of the second subpath according to the position information of the target vehicle at the first end point to obtain a target extension direction; Determine the length of the second subpath according to the current position information of the target vehicle and the obstacle information within a first preset range from the target vehicle to obtain a target length; The first end point is used as the starting point of the second sub-path, and the target length is extended along the target extension direction to obtain the second sub-path.
7. The method according to claim 1, wherein: The parking information also includes map information within a second preset range from the target vehicle; Before generating a path for the target vehicle to drive from the current position to the parking start position to obtain a second path, the method further includes: performing obstacle collision detection between the current position of the target vehicle and the parking start position according to the map information and the size information of the target vehicle; When the collision detection result indicates that there is an obstacle between the current position of the target vehicle and the parking start position, generating and adjusting the position and posture information of the target point according to the target obstacle; Generate a path for the target vehicle to travel from the current position to the adjustment target point according to the current position information of the target vehicle, the position information of the adjustment target point and a preset parking speed, and obtain a first adjustment path; According to the posture information of the adjustment target point, the parking start posture information and the preset parking speed, a path of the target vehicle from the adjustment target point to the parking start position is generated to obtain a second adjustment path; The second path is generated according to the first adjustment path and the second adjustment path.
8. The method according to claim 7, wherein: Generating and adjusting the position and posture information of the target point according to the target obstacle includes: According to a preset radius, a target obstacle circle is generated with the center of the target obstacle as the circle point; Draw a tangent from the current position of the target vehicle to the target obstacle circle to obtain at least one tangent; Selecting a target tangent line from the at least one tangent line according to a preset rule; Determine the tangent point of the target tangent line as the adjustment target point; The position and posture information of the adjustment target point is determined according to the tangent direction of the target tangent.
9. The method according to claim 1, wherein: The parking information also includes posture information of the preset parking target point, and the method further includes: When it is determined according to the posture information of the preset parking target point that the posture of the preset parking target point does not satisfy a preset posture, the posture information of the preset parking target point is modified.
10. A parking method, comprising: Acquire a parking path corresponding to the vehicle to be parked, wherein the parking path includes a first path and a second path, wherein the first path is a path generated according to a preset parking target point for the vehicle to be parked to drive out of a target parking space from the preset parking target point, and the target parking space is generated according to the preset parking target point; the second path is parking start posture information determined according to the first path, wherein the parking start posture information is posture information of the target vehicle at a parking start position, and the parking start position is an end of the first path away from the preset parking target point; and the path of the vehicle to be parked from a current position to the parking start position is generated according to the current posture information of the vehicle to be parked, the parking start posture information, and a preset parking speed; Sending a first parking instruction to the vehicle to be parked, wherein the first parking instruction is generated according to the current position information of the vehicle to be parked and the parking path, and is used to control the vehicle to be parked to travel along the second path to the parking starting position; In response to a signal indicating that the vehicle to be parked has completed the first parking instruction, sending a second parking instruction to the vehicle to be parked, wherein the second parking instruction is used to control the vehicle to be parked to reverse along the first path toward the parking target point; In response to a signal indicating that the second parking instruction has been completed by the vehicle to be parked, the parking operation is stopped.
11. The method according to claim 10, wherein: The second path includes a first adjustment path and a second adjustment path, wherein the first adjustment path is generated according to the current posture information of the vehicle to be parked, the posture information of the adjustment target point, and a preset parking speed; the second adjustment path is generated according to the posture information of the adjustment target point, the parking starting posture information, and a preset parking speed, and the adjustment target point is determined according to a target obstacle between the current position of the vehicle to be parked and the parking starting position; The sending of a first parking instruction to the vehicle to be parked, wherein the first parking instruction is generated according to the current position information of the vehicle to be parked and the parking path, and is used to control the vehicle to be parked to travel along the second path to the parking starting position, comprises: Sending a first sub-instruction to the vehicle to be parked, wherein the first sub-instruction is generated according to the first adjustment path and is used to control the vehicle to be parked to travel along the first adjustment path toward the target adjustment point; In response to a signal from the vehicle to be parked that the first sub-instruction is completed, a second sub-instruction is sent to the vehicle to be parked, wherein the second sub-instruction is generated according to the second adjustment path and is used to control the vehicle to be parked to travel along the second adjustment path to the parking starting position.
12. A parking path generation device, comprising: A first acquisition module, configured to acquire parking information corresponding to the target vehicle in response to the target vehicle entering the parking scene, wherein the parking information includes current position information of the target vehicle and a preset parking target point; A first generating module is used to generate a path for the target vehicle to drive out of a target parking space from the preset parking target point according to the preset parking target point, so as to obtain a first path, wherein an end of the first path away from the preset parking target point is marked as a parking start position, and the target parking space is generated according to the preset parking target point; A determination module, configured to determine parking start posture information according to the first path, wherein the parking start posture information is posture information of the target vehicle at the parking start position; A second generating module is used to generate a path for the target vehicle to travel from a current position to the parking starting position according to the current position information of the target vehicle, the parking starting position information and a preset parking speed, so as to obtain a second path; and The third generating module is used to generate a parking path of the target vehicle according to the first path and the second path.
13. A parking device, comprising: A second acquisition module is used to acquire a parking path corresponding to the vehicle to be parked, wherein the parking path includes a first path and a second path, wherein the first path is a path generated according to a preset parking target point for the vehicle to be parked to drive out of the target parking space from the preset parking target point, and the target parking space is generated according to the preset parking target point; the second path is parking start posture information determined according to the first path, wherein the parking start posture information is the posture information of the target vehicle at the parking start position, and the parking start position is the end of the first path away from the preset parking target point; and the path of the vehicle to be parked from the current position to the parking start position is generated according to the current posture information of the vehicle to be parked, the parking start posture information and the preset parking speed; A first sending module, configured to send a first parking instruction to the vehicle to be parked, wherein the first parking instruction is generated according to the current position information of the vehicle to be parked and the parking path, and is configured to control the vehicle to be parked to travel along the second path to the parking starting position; a second sending module, configured to send a second parking instruction to the vehicle to be parked in response to a signal indicating that the vehicle to be parked has completed the first parking instruction, wherein the second parking instruction is used to control the vehicle to be parked to reverse along the first path toward the parking target point; The stopping module is used for stopping the parking operation in response to a signal indicating that the vehicle to be parked completes the second parking instruction.
14. An electronic device comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 11.
15. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 11.
16. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
Citation Information
Cited By
Path determination method, device and equipment
CN121553116A
