Vehicle pose determination method and apparatus, device, and storage medium
Patent Information
- Application Number
- PCT/CN2023/129903
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-21
- Filing Date
- 2023-11-06
- Publication Date
- 2024-08-29
AI Technical Summary
In complex work scenarios, laser SLAM positioning technology that relies solely on point cloud registration has problems with poor positioning stability and high false detection rates, especially when multiple signs are adjacent to each other or high-reflective planes interfere with each other, resulting in vehicle poses and postures. The positioning deviation is large.
By setting the area to be processed and the desired positioning mark, the laser point cloud data is obtained, dynamic brightness threshold segmentation and clustering are performed to determine the second actual positioning mark, and the target positioning mark is determined by comparing it with the expected positioning mark, and then the vehicle's pose information is calculated.
It improves the accuracy of positioning mark detection, reduces the false detection rate, and enhances the accuracy and stability of vehicle pose detection. It is suitable for unmanned autonomous operations in complex scenes.
Smart Images

Figure CN2023129903_29082024_PF_FP_ABST
Abstract
Description
Method, device, equipment and storage medium for determining vehicle posture
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on February 21, 2023, with application number 202310144454.5. The entire contents of the above application are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present disclosure relate to the field of automated control technology, for example, to a method, apparatus, device, and storage medium for determining a vehicle posture. Background Art
[0003] During unmanned, autonomous operations, mobile construction machinery needs to determine its position and posture within the work environment. Outdoor work environments typically utilize GPS-based real-time kinematic (RTK) positioning, as these environments have strong Global Positioning System (GPS) signals. Indoor or semi-indoor environments, where GPS signals are weak, laser simultaneous localization and mapping (SLAM) positioning is often used.
[0004] In laser SLAM technology, a point cloud map is first constructed offline, and real-time positioning based on the map is then performed during operation. There are two methods for real-time positioning. One method is a laser SLAM positioning method based on scene point clouds. This method relies on the real-time laser point cloud of the driving scene to align with the map point cloud, thereby inferring the vehicle's position and posture. This method, which relies solely on point cloud alignment, has poor positioning stability for the entire SLAM system and is difficult to implement in practice. Therefore, a second real-time positioning method has emerged: the landmark-based laser SLAM positioning method. This method places high-brightness reflectors for the laser radar at multiple key locations in the scene, called landmarks or positioning markers. The position of multiple positioning markers is detected in the real-time laser point cloud of the driving scene, thereby inferring the vehicle's position and posture.
[0005] The positioning mark detection solution has the following two shortcomings:
[0006] (1) When the working scene structure is very complex, in order to adapt to the detection of road signs from different directions of the intersection, multiple positioning marks may be adjacent to each other. At this time, there are target positioning marks and non-target positioning marks coexisting in a region of interest (ROI), which may cause the detected non-target positioning mark to be mistaken for the target positioning mark, resulting in a large positioning deviation.
[0007] (2) When other highly reflective surfaces to the laser point appear next to the positioning mark, such as when the bucket of a loader is raised and appears in the field of view of the laser radar and is adjacent to a nearby positioning mark, these highly reflective surfaces may be mistakenly detected and output as target positioning marks, resulting in a large positioning deviation.
[0008] Summary of the Invention
[0009] The embodiments of the present disclosure provide a method, apparatus, device, and storage medium for determining a vehicle posture, which can improve the detection accuracy of positioning marks, thereby improving the detection accuracy of the vehicle posture.
[0010] An embodiment of the present disclosure provides a method for determining a vehicle's posture, comprising: obtaining an area to be processed corresponding to a first actual positioning mark detected by a vehicle in a target scene at a previous moment; setting an expected positioning mark in the area to be processed; obtaining laser point cloud data falling into the area to be processed at a current moment; determining at least one second actual positioning mark based on the laser point cloud data; determining a target positioning mark based on the at least one second actual positioning mark and the expected positioning mark; and determining the posture information of the vehicle based on the target positioning mark.
[0011] An embodiment of the present disclosure also provides a device for determining a vehicle posture, including: a module for acquiring an area to be processed, configured to acquire an area to be processed corresponding to a first actual positioning mark detected by the vehicle in a target scene at the previous moment; a module for setting an expected positioning mark, configured to set an expected positioning mark in the area to be processed; a laser point cloud data acquisition module, configured to acquire laser point cloud data falling into the area to be processed at the current moment; a module for determining a second actual positioning mark, configured to determine at least one second actual positioning mark based on the laser point cloud data; a module for determining a target positioning mark, configured to determine a target positioning mark based on the at least one second actual positioning mark and the expected positioning mark; and a posture information determination module, configured to determine the posture information of the vehicle based on the target positioning mark.
[0012] An embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0013] at least one processor;
[0014] a storage device configured to store at least one program;
[0015] When the at least one program is executed by the at least one processor, the at least one processor implements the method for determining the vehicle posture as described in the embodiment of the present disclosure.
[0016] The embodiment of the present disclosure further provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the method for determining the vehicle posture as described in the embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] FIG1 is a schematic flow chart of a method for determining a vehicle posture according to an embodiment of the present disclosure;
[0018] FIG2 is a schematic diagram of a plurality of adjacent second actual positioning marks provided by an embodiment of the present disclosure;
[0019] FIG3 is a schematic diagram of the detection effect of the target positioning mark provided by an embodiment of the present disclosure;
[0020] FIG4 is a schematic diagram of a partial plane of a bucket appearing in an area to be processed according to an embodiment of the present disclosure;
[0021] FIG5 is a schematic diagram of another detection effect of a target positioning mark provided by an embodiment of the present disclosure;
[0022] FIG6 is a flow chart of another method for determining vehicle posture provided by an embodiment of the present disclosure;
[0023] FIG7 is a schematic diagram of the structure of a vehicle posture determination device provided by an embodiment of the present disclosure;
[0024] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0026] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in a different order and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect. The terms "including" and their variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the description below.
[0027] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0028] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0029] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0030] This embodiment can be applied to a series of unmanned loader products, and can also be applied to unmanned excavators and other unmanned engineering vehicle products.
[0031] Figure 1 is a flow chart of a method for determining a vehicle posture provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to situations where the position and posture of a vehicle are determined. The method can be executed by a vehicle posture determination device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, a personal computer (PC) or a server, etc.
[0032] As shown in FIG1 , the method includes:
[0033] S110: Obtain an area to be processed corresponding to a first actual positioning mark detected by the vehicle in the target scene at the previous moment.
[0034] The target scenario can be understood as a work scene where construction machinery is operating autonomously. The positioning marker can be understood as a high-brightness reflector placed at a key location in the actual work scene for the LiDAR. The first actual positioning marker can be considered the positioning marker detected by the vehicle at the last moment in actual use.
[0035] Optionally, obtaining the area to be processed corresponding to the first actual positioning mark detected by the vehicle in the target scene at the previous moment includes: obtaining the vehicle positioning information and the set scanning parameters of the lidar at the previous moment; obtaining the first actual positioning mark from the target scene map according to the vehicle positioning information and the set scanning parameters; determining the area to be processed according to the first actual positioning mark; wherein the area of the area to be processed is larger than the area of the plane where the first actual positioning mark is located.
[0036] Vehicle positioning information may include the vehicle's position and heading information within the target scene. Setting scanning parameters may include setting a scanning distance and a scanning angle. The target scene map may be a pre-constructed 3D point cloud map using Simultaneous Localization and Mapping (SLAM). The target scene map includes positioning information for positioning markers. The area to be processed may be understood as a Region of Interest (ROI).
[0037] In this embodiment, the SLAM system can obtain multiple first actual positioning marks in the target scene map by obtaining the vehicle positioning information at the previous moment and setting the scanning parameters. For each first actual positioning mark, a corresponding area to be processed is generated, and the area of the area to be processed is larger than the area of the plane where the first actual positioning mark is located, so as to ensure that the laser point cloud data obtained at the current moment can fall into the area to be processed. Exemplarily, the area of the area to be processed is a set multiple of the area of the plane where the first actual positioning mark is located, such as 3 times, 5 times, etc.
[0038] S120: Set a desired positioning mark in the area to be processed.
[0039] In the present embodiment, when the SLAM system determines the area to be processed, it also determines the properties of the plane where the desired positioning mark in each area to be processed is located. In the present embodiment, the setting of the desired positioning mark in the area to be processed can be determined by the technician based on actual conditions and experience. The present embodiment does not limit this. For example, the setting of the desired positioning mark in the area to be processed can be performed based on the historical experience information of the technician, or the setting of the desired positioning mark at any position in the area to be processed. Optionally, the properties of the plane where the positioning mark is located include: a normal vector and a size. Among them, the normal vector is the normal vector of the plane where the positioning mark is located, that is, the vector represented by the straight line perpendicular to the plane. The size is the length and width of the plane where the positioning mark is located. In the present embodiment, by introducing the normal vector and the size, when there are one or more second actual positioning marks in a single area to be processed, the inspection accuracy, reliability and robustness of the target positioning mark can be effectively improved.
[0040] S130: Acquire the laser point cloud data that falls within the area to be processed at the current moment.
[0041] Exemplarily, all laser point cloud data at the current moment are acquired through the vehicle's laser radar, and the laser point cloud data acquired by the laser radar are cropped according to the area to be processed to obtain the laser point cloud data (partial laser point cloud data) falling into the area to be processed.
[0042] S140. Determine at least one second actual positioning mark in the area to be processed according to the laser point cloud data falling into the area to be processed.
[0043] The first actual positioning mark and the second actual positioning mark are both composed of multiple laser point cloud data.
[0044] In this embodiment, the laser point cloud data corresponding to one or more second actual positioning marks can be determined from the laser point cloud data by using a dynamic brightness threshold segmentation method.
[0045] Optionally, the method of determining at least one second actual positioning mark based on the laser point cloud data can be: setting a brightness threshold of the point cloud data; extracting foreground point cloud data from the laser point cloud data based on the brightness threshold; and determining at least one second actual positioning mark based on the foreground point cloud data.
[0046] In this embodiment, the brightness threshold can be understood as a dividing line for laser point cloud data, used to distinguish between brighter point clouds and darker point clouds, that is, to segment the laser point cloud data into foreground point cloud data and background point cloud data. The brightness threshold can be set dynamically based on actual conditions, and this embodiment does not impose any restrictions on this. For example, using the brightness threshold, 1,000 laser point cloud data can be segmented into 200 foreground point cloud data and 800 background point cloud data, or 700 laser point cloud data can be segmented into 100 foreground point cloud data and 600 background point cloud data. In this embodiment, by setting the brightness threshold of the point cloud data, the laser point cloud data can be segmented into foreground point cloud data and background point cloud data, and one or more second actual positioning marks can be determined based on the foreground point cloud data.
[0047] Optionally, a method of determining at least one second actual positioning mark based on the foreground point cloud data may be: clustering the foreground point cloud data according to spatial distance to obtain at least one second actual positioning mark.
[0048] In this embodiment, a data clustering method, such as the k-means method, can be used to cluster the foreground point cloud data according to the spatial distance between the point cloud data. Laser point cloud data with a relatively close distance can be classified into one category, and thus the foreground point cloud data can be classified into one or more categories, that is, one or more second actual positioning marks can be obtained (one category corresponds to one second actual positioning mark). There is a certain spatial distance between each second actual positioning mark, and each second actual positioning mark has an independent spatial position (non-overlapping).
[0049] In this embodiment, by clustering the foreground point cloud data according to spatial distance, when there are multiple second actual positioning marks in the area to be processed, the multiple second actual positioning marks can be determined by separating the foreground point cloud data into independent multi-class point cloud data, which can solve the problem of false detection when multiple positioning marks coexist in the area to be processed due to the complex structure of the target scene.
[0050] S150: Determine a target positioning mark according to at least one second actual positioning mark and an expected positioning mark.
[0051] Exemplarily, at least one second actual positioning mark is compared with the expected positioning mark to obtain multiple comparison (error) results, the minimum comparison result is determined among the multiple comparison results, and the second actual positioning mark corresponding to the minimum comparison result is determined as the target positioning mark.
[0052] Optionally, the method of determining the target positioning mark based on at least one second actual positioning mark and the expected positioning mark can be: performing plane fitting on the laser point cloud data of each second actual positioning mark to obtain at least one second actual positioning mark plane; respectively determining the attributes of each second actual positioning mark plane and the attributes of the plane where the expected positioning mark is located; comparing the attributes of each second actual positioning mark plane with the attributes of the plane where the expected positioning mark is located to obtain at least one comparison result; and determining the target positioning mark from at least one second actual positioning mark based on the at least one comparison result.
[0053] In this embodiment, a plane fitting can be performed on the laser point cloud data of the second actual positioning mark to obtain the second actual positioning mark plane, calculate the normal vector and size of the second actual positioning mark plane, and determine the normal vector and size of the plane where the desired positioning mark is located. In terms of normal vector and size, multiple second actual positioning marks are compared with the desired positioning mark to obtain a comparison result. The second actual positioning mark with the smallest error compared to the desired positioning mark can be determined as the target positioning mark.
[0054] Optionally, the attributes of each second actual positioning mark plane are compared with the attributes of the plane where the expected positioning mark is located to obtain at least one comparison result in the following manner: comparing the normal vector of each second actual positioning mark plane with the normal vector of the plane where the expected positioning mark is located to obtain at least one first error result; comparing the size of each second actual positioning mark plane with the size of the plane where the expected positioning mark is located to obtain at least one second error result; taking the minimum value of at least one first error result as the first minimum error result; taking the minimum value of at least one second error result as the second minimum error result; accordingly, based on at least one comparison result, determining the target positioning mark from at least one second actual positioning mark, including: determining the second actual positioning mark corresponding to the first minimum error result and / or the second actual positioning mark corresponding to the second minimum error result as the target positioning mark.
[0055] For example, in terms of normal vectors, the normal vectors of one or more second actual positioning mark planes can be compared with the normal vectors of the plane where the desired positioning mark is located to obtain one or more first error results, and the minimum error among the one or more first error results can be used as the first minimum error result. In terms of size, the size of one or more second actual positioning mark planes can be compared with the size of the plane where the desired positioning mark is located to obtain one or more second error results, and the minimum error among the one or more second error results can be used as the second minimum error result. The second actual positioning mark corresponding to the first minimum error result and / or the second actual positioning mark corresponding to the second minimum error result can be determined as the target positioning mark.
[0056] In this embodiment, by performing plane fitting on the laser point cloud data of each independent second actual positioning mark, the second actual positioning mark plane is obtained, and the attributes of the second actual positioning mark plane are calculated. The attributes of the second actual positioning mark plane are compared with the attributes of the plane where the expected positioning mark is located. The second actual positioning mark with the smallest error result is used as the target positioning mark. Other non-target positioning marks or other similar interference planes will not be output as the result. That is, the non-target positioning marks or other highly reflective interference planes can be effectively suppressed, and the target positioning mark is accurately detected. This effectively solves the problem of false detection when other dynamic highly reflective planes are close to the target positioning mark. When multiple adjacent positioning marks are deployed in a single area to be processed in a complex scene, the target positioning mark can be accurately detected. As shown in Figure 2, Figure 2 is a schematic diagram of multiple adjacent second actual positioning marks provided by the embodiment of the present disclosure. Only two second actual positioning marks are shown in Figure 2. Figure 3 is a schematic diagram of the detection effect of the target positioning mark provided by the embodiment of the present disclosure. As shown in Figure 3, by adopting the technical solution of the embodiment of the present disclosure, the expected target positioning mark (laser point cloud in the rectangular box area) can be effectively and accurately detected. Figure 4 is a schematic diagram of a local plane of a bucket appearing in the area to be processed provided by the embodiment of the present disclosure. FIG5 is a schematic diagram of the detection effect of another target positioning mark provided by an embodiment of the present disclosure. As shown in FIG5 , by adopting the technical solution of the embodiment of the present disclosure, interference can be effectively eliminated and the target positioning mark (rectangular frame area) can be accurately detected.
[0057] S160: Determine the vehicle's position information based on the target positioning mark.
[0058] Exemplarily, the center point coordinates of the target positioning mark can be determined by the cumulative averaging method, and the center point coordinates are used as the spatial position of the target positioning mark. The vehicle's position information and posture information are calculated based on the vehicle positioning information at the previous moment, the set scanning parameters of the laser radar, and the spatial position of the target positioning mark. Exemplarily, the calculation of the center point coordinates of the target positioning mark can be: if there are 3 laser point cloud data of the target positioning mark, the 3 laser point cloud data can be represented as x1, y1, z1, x2, y2, z2, x3, y3, z3 respectively, then the center point coordinates (x, y, z) are: x = (x1 + x2 + x3) / 3, y = (y1 + y2 + y3) / 3, z = (z1 + z2 + z3) / 3.
[0059] The technical solution of the embodiment of the present disclosure is to obtain the area to be processed corresponding to the first actual positioning mark detected by the vehicle in the target scene at the previous moment; set an expected positioning mark in the area to be processed; obtain the laser point cloud data that falls into the area to be processed at the current moment; determine at least one second actual positioning mark based on the laser point cloud data; determine the target positioning mark based on at least one second actual positioning mark and the expected positioning mark; and determine the vehicle's posture information based on the target positioning mark. The embodiment of the present disclosure determines at least one second actual positioning mark by using the laser point cloud data that falls into the area to be processed, and determines the target positioning mark based on at least one second actual positioning mark and the expected positioning mark. This can improve the detection effect of the positioning mark, thereby improving the positioning stability of the vehicle when moving in the target scene. At the same time, it does not affect the original SLAM system structure, does not affect the original SLAM system cost, and does not increase display operations. All operations are automatically completed by the algorithm program, thereby improving detection efficiency.
[0060] FIG6 is a flow chart of another method for determining vehicle posture provided by an embodiment of the present disclosure, and the steps are as follows:
[0061] S210, the SLAM system obtains a first actual positioning mark in the target scene map based on the vehicle positioning information at the previous moment and the set scanning parameters of the laser radar, determines the area to be processed based on the first actual positioning mark, and sets an expected positioning mark in the area to be processed.
[0062] S220: Acquire the laser point cloud data that falls within the area to be processed at the current moment.
[0063] S230 , setting a brightness threshold for the point cloud data, and extracting foreground point cloud data from the laser point cloud data that falls within the area to be processed at the current moment based on the brightness threshold.
[0064] S240: Cluster the foreground point cloud data according to spatial distance to obtain at least one second actual positioning mark.
[0065] S250. Perform plane fitting on the laser point cloud data of each second actual positioning mark to obtain at least one second actual positioning mark plane, and respectively determine the attributes of each second actual positioning mark plane and the attributes of the plane where the expected positioning mark is located.
[0066] S260. Compare the attributes of each second actual positioning mark plane with the attributes of the plane where the expected positioning mark is located to obtain at least one comparison result, and determine the target positioning mark from the at least one second actual positioning mark based on the at least one comparison result.
[0067] S270: Determine the vehicle's position information according to the target positioning mark.
[0068] Figure 7 is a schematic structural diagram of a vehicle posture determination device provided by an embodiment of the present disclosure. As shown in Figure 7, the device includes: a to-be-processed area acquisition module 310, a desired positioning mark setting module 320, a laser point cloud data acquisition module 330, a second actual positioning mark determination module 340, a target positioning mark determination module 350 and a posture information determination module 360.
[0069] The module 310 for acquiring the area to be processed is configured to acquire the area to be processed corresponding to the first actual positioning mark detected by the vehicle in the target scene at the previous moment; the module 320 for setting the expected positioning mark is configured to set an expected positioning mark in the area to be processed; the module 330 for acquiring the laser point cloud data falling into the area to be processed at the current moment; the module 340 for determining the second actual positioning mark is configured to determine at least one second actual positioning mark based on the laser point cloud data; the module 350 for determining the target positioning mark is configured to determine the target positioning mark based on the at least one second actual positioning mark and the expected positioning mark; the module 360 for determining the posture information of the vehicle based on the target positioning mark.
[0070] The technical solution of the embodiment of the present disclosure is to obtain the to-be-processed area corresponding to the first actual positioning mark detected by the vehicle in the target scene at the previous moment through the to-be-processed area acquisition module; set an expected positioning mark in the to-be-processed area through the expected positioning mark setting module; obtain the laser point cloud data falling into the to-be-processed area at the current moment through the laser point cloud data acquisition module; determine at least one second actual positioning mark based on the laser point cloud data through the second actual positioning mark determination module; determine the target positioning mark based on at least one second actual positioning mark and the expected positioning mark through the target positioning mark determination module; and determine the vehicle's posture information based on the target positioning mark through the posture information determination module. The embodiment of the present disclosure determines at least one second actual positioning mark through the laser point cloud data falling into the to-be-processed area, and determines the target positioning mark based on at least one second actual positioning mark and the expected positioning mark, which can improve the detection effect of the positioning mark, thereby improving the positioning stability of the vehicle when moving in the target scene.
[0071] Optionally, the module 310 for acquiring the area to be processed is configured to: acquire the vehicle positioning information of the previous moment and the set scanning parameters of the laser radar; acquire a first actual positioning mark from the target scene map based on the vehicle positioning information and the set scanning parameters; determine the area to be processed based on the first actual positioning mark; wherein the area of the area to be processed is larger than the area of the plane where the first actual positioning mark is located.
[0072] Optionally, the second actual positioning mark determination module 340 is configured to: set a brightness threshold of the point cloud data; extract foreground point cloud data from the laser point cloud data based on the brightness threshold; and determine at least one second actual positioning mark based on the foreground point cloud data.
[0073] Optionally, the second actual positioning mark determining module 340 is configured to determine at least one second actual positioning mark based on the foreground point cloud data in the following manner: clustering the foreground point cloud data according to spatial distance to obtain at least one second actual positioning mark.
[0074] Optionally, the target positioning mark determination module 350 is configured to: perform plane fitting on the laser point cloud data of each second actual positioning mark to obtain at least one second actual positioning mark plane; respectively determine the attributes of each second actual positioning mark plane and the attributes of the plane where the expected positioning mark is located; compare the attributes of each second actual positioning mark plane with the attributes of the plane where the expected positioning mark is located to obtain at least one comparison result; and determine the target positioning mark from the at least one second actual positioning mark based on the at least one comparison result.
[0075] Optionally, the attributes of the second actual positioning mark plane and the plane where the expected positioning mark is located include: normal vector and size.
[0076] Optionally, the target positioning mark determination module 350 is configured to obtain at least one comparison result in the following manner: comparing the normal vector of each second actual positioning mark plane with the normal vector of the plane where the expected positioning mark is located to obtain at least one first error result; comparing the size of each second actual positioning mark plane with the size of the plane where the expected positioning mark is located to obtain at least one second error result; taking the minimum value of the at least one first error result as the first minimum error result; and taking the minimum value of the at least one second error result as the second minimum error result.
[0077] Optionally, the target positioning mark determination module 350 is configured to determine the target positioning mark from the at least one second actual positioning mark based on the at least one comparison result in the following manner: the second actual positioning mark corresponding to the first minimum error result and / or the second actual positioning mark corresponding to the second minimum error result is determined as the target positioning mark.
[0078] The vehicle posture determination device provided in the embodiments of the present disclosure can execute the vehicle posture determination method provided in any embodiment of the present disclosure, and has the corresponding functional modules and effects of the execution method.
[0079] It is worth noting that the units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0080] FIG8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. Referring to FIG8 , a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 500 suitable for implementing an embodiment of the present disclosure is shown below. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), PADs (tablet computers), portable multimedia players (PMPs), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital televisions (TVs), desktop computers, etc. The electronic device 500 shown in FIG8 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0081] As shown in Figure 8, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0082] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data.
[0083] According to an embodiment of the present disclosure, the process described above with reference to the flowchart 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 non-transitory computer-readable medium, and the computer program includes 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 device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0084] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0085] The electronic device 500 provided in the embodiment of the present disclosure and the method for determining the vehicle posture provided in the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same effect as the above embodiment.
[0086] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining the vehicle posture provided in the above embodiment.
[0087] The computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. A computer-readable storage medium may include, but is not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc 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 that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, radio frequency (RF), etc., or any suitable combination thereof.
[0088] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as the HyperText Transfer Protocol (HTTP), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), internets (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
[0089] The computer-readable medium may be included in the electronic device 500 , or may exist independently without being incorporated into the electronic device 500 .
[0090] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device 500, the electronic device 500: obtains the area to be processed corresponding to the first actual positioning mark detected by the vehicle in the target scene at the previous moment; sets an expected positioning mark in the area to be processed; obtains the laser point cloud data falling into the area to be processed at the current moment; determines at least one second actual positioning mark based on the laser point cloud data; determines the target positioning mark based on the at least one second actual positioning mark and the expected positioning mark; and determines the posture information of the vehicle based on the target positioning mark.
[0091] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0092] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the system, method and computer program product according to the embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of 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 than that 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 and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0093] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."
[0094] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and the like.
[0095] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Claims
1. A method for determining a vehicle posture, comprising: Obtaining the area to be processed corresponding to the first actual positioning mark detected by the vehicle in the target scene at the previous moment; Setting a desired positioning mark in the area to be processed; Acquire the laser point cloud data falling into the area to be processed at the current moment; Determine at least one second actual positioning mark according to the laser point cloud data; Determine a target positioning mark according to the at least one second actual positioning mark and the expected positioning mark; The position information of the vehicle is determined according to the target positioning mark.
2. The method according to claim 1, wherein: Obtaining the area to be processed corresponding to the first actual positioning mark detected by the vehicle in the target scene at the previous moment, including: Obtain the vehicle positioning information and the laser radar scanning parameters at the last moment; Acquire a first actual positioning mark from a target scene map according to the vehicle positioning information and the set scanning parameters; A region to be processed is determined according to the first actual positioning mark; wherein the area of the region to be processed is larger than the area of the plane where the first actual positioning mark is located.
3. The method according to claim 1, wherein: Determining at least one second actual positioning mark according to the laser point cloud data includes: Set the brightness threshold of point cloud data; Extracting foreground point cloud data from the laser point cloud data based on the brightness threshold; At least one second actual positioning mark is determined according to the foreground point cloud data.
4. The method according to claim 3, wherein: Determining at least one second actual positioning mark according to the foreground point cloud data includes: The foreground point cloud data are clustered according to spatial distance to obtain at least one second actual positioning mark.
5. The method according to claim 1, wherein: Determining a target positioning mark according to the at least one second actual positioning mark and the expected positioning mark comprises: Performing plane fitting on the laser point cloud data of each second actual positioning mark to obtain at least one second actual positioning mark plane; Respectively determine the attributes of each second actual positioning mark plane and the attributes of the plane where the expected positioning mark is located; Compare the attributes of each second actual positioning mark plane with the attributes of the plane where the expected positioning mark is located to obtain at least one comparison result; Based on the at least one comparison result, a target positioning marker is determined from the at least one second actual positioning marker.
6. The method according to claim 5, wherein: The attributes of the second actual positioning mark plane and the plane where the expected positioning mark is located include: normal vector and size.
7. The method according to claim 6, wherein: Comparing the attributes of each second actual positioning mark plane with the attributes of the plane where the expected positioning mark is located to obtain at least one comparison result, including: Compare the normal vector of each second actual positioning mark plane with the normal vector of the plane where the expected positioning mark is located to obtain at least one first error result; Compare the size of each second actual positioning mark plane with the size of the plane where the expected positioning mark is located to obtain at least one second error result; taking the minimum value of the at least one first error result as the first minimum error result; taking the minimum value of the at least one second error result as the second minimum error result; Determining a target positioning mark from the at least one second actual positioning mark according to the at least one comparison result comprises: At least one of the second actual positioning mark corresponding to the first minimum error result and the second actual positioning mark corresponding to the second minimum error result is determined as a target positioning mark.
8. A device for determining a vehicle posture, comprising: A module for acquiring an area to be processed, configured to acquire an area to be processed corresponding to a first actual positioning mark detected by the vehicle in the target scene at the last moment; An expected positioning mark setting module is configured to set an expected positioning mark in the area to be processed; A laser point cloud data acquisition module, configured to acquire laser point cloud data falling within the area to be processed at a current moment; A second actual positioning mark determination module, configured to determine at least one second actual positioning mark according to the laser point cloud data; a target positioning mark determining module, configured to determine a target positioning mark according to the at least one second actual positioning mark and the expected positioning mark; The posture information determination module is configured to determine the posture information of the vehicle according to the target positioning mark.
9. An electronic device, comprising: at least one processor; a storage device configured to store at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method for determining the vehicle posture as described in any one of claims 1-7.
10. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the vehicle posture determination method as described in any one of claims 1 to 7 when executed by a computer processor.
Citation Information
Patent Citations
Target position determination method and device, electronic equipment and storage medium
CN113838125A
Vehicle positioning method and device for target scene area, equipment and storage medium
CN113916243A
High-precision positioning method and product
CN114063091A
Laser positioning method, device and equipment of mobile robot and medium
CN115437385A
Vehicle positioning method, device and equipment and storage medium
CN115619871A
