WO2021170015A1 - Method for acquiring point cloud data, and related device - Google Patents
Method for acquiring point cloud data, and related device Download PDFInfo
- Publication number
- WO2021170015A1 WO2021170015A1 PCT/CN2021/077748 CN2021077748W WO2021170015A1 WO 2021170015 A1 WO2021170015 A1 WO 2021170015A1 CN 2021077748 W CN2021077748 W CN 2021077748W WO 2021170015 A1 WO2021170015 A1 WO 2021170015A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual object
- road
- point
- laser beam
- virtual
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M17/00—Testing of vehicles
- G01M17/007—Wheeled or endless-tracked vehicles
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/88—Lidar systems specially adapted for specific applications
Definitions
- This application relates to the field of artificial intelligence technology, and in particular to a method and related equipment for obtaining point cloud data.
- Lidar is deployed on autonomous vehicles.
- Lidar can emit a large number of laser beams to the surrounding environment.
- Each laser beam is reflected by objects in the surrounding environment such as buildings.
- the surroundings of the autonomous vehicle can be simulated. Environment, so as to facilitate the automatic driving vehicle to plan the driving route according to the simulated surrounding environment.
- the simulation test process is: constructing a virtual space, simulating the point cloud data of the position points projected by each laser beam onto the virtual object in the virtual space, the point cloud data includes the three-dimensional position information of the position points projected by the laser beam, According to the simulated point cloud data, the response of the autonomous vehicle is detected, so as to realize the performance test of the autonomous vehicle.
- a K-dimensional (K-D) tree is constructed according to the spatial position relationship of each virtual object in the virtual space.
- Each node in the K-D tree except the leaf node corresponds to a bounding box, which is used to indicate a part of the virtual space.
- the bounding box corresponding to each child node is a subset of the bounding box corresponding to the parent node to which the child node belongs.
- Each leaf node in the K-D tree corresponds to a virtual object in the virtual space, and the virtual object is a virtual object in the bounding box corresponding to the parent node to which the leaf node belongs.
- each node is traversed in the order from the root node to the leaf node in the KD tree. For any node except the leaf node, if the laser beam is If the beam does not intersect the bounding box corresponding to the node, skip the node. If the laser beam intersects the bounding box corresponding to the node, continue to determine whether the laser beam intersects the bounding box corresponding to the child node of the node until it traverses to the leaf node, thereby determining the virtual object that intersects the laser beam, Then obtain the point cloud data of the laser beam on the virtual object. All the laser beams are processed as described above, and the point cloud data of each laser beam can be obtained.
- This application provides a method and related equipment for acquiring point cloud data, which can improve the efficiency of acquiring point cloud data.
- the technical solution is as follows:
- a method for obtaining point cloud data is provided, and the method is applied to a computer device.
- the method when the vehicle is at the first position point in the virtual space, determine the first scanned road section according to the first position point and the road topology model, where the road topology model is used to indicate the road topology in the virtual space;
- the autonomous driving vehicle only needs to determine the objects near the driving road during the driving process, therefore, in order to reduce the amount of data processing in the process of determining the point cloud data.
- a road topology model for the virtual space can be constructed in advance.
- the road topology model is used to indicate the road topology in the virtual space.
- the road topology model includes multiple road nodes and road information of each road node in the multiple road nodes.
- the implementation of determining the first scanned road segment according to the first location point and the road topology model may be: determining the road node corresponding to the first location point from the multiple road nodes according to the road information of each road node; The first scanning road segment is determined according to the road node corresponding to the first position point.
- the road segments in the virtual space are stored in the road topology model in the form of road nodes in advance, so that the first scanned road segment can be quickly determined based on the first location point, thereby improving the acquisition The efficiency of point cloud data.
- the road topology model includes multiple road nodes and virtual object information of each road node in the multiple road nodes.
- the virtual object information of the first road node among the multiple road nodes includes three-dimensional model data of each virtual object distributed on the first road node, and the first road node is any one of the multiple road nodes.
- the way to determine the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road segment may be: obtaining the virtual object information distributed on the first scanning road segment from the virtual object information of each road node The three-dimensional model data of each virtual object in the multiple virtual objects.
- the relevant information of the virtual objects distributed on each road section can also be stored in the road topology model in advance.
- the three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning road section can be directly determined according to the road topology model, so as to improve the efficiency of obtaining point cloud data.
- the distance between the virtual object distributed on the first road node and the center line of the first road node is within the first distance threshold.
- the virtual objects distributed at each road node only include the virtual objects that are within the first distance threshold from the center line of the corresponding road node. This simplifies the road topology model, which can reduce the amount of subsequent calculations for obtaining point cloud data based on the road topology model, and improve the efficiency of obtaining point cloud data.
- the three-dimensional model data of the first virtual object includes the three-dimensional position information of each of the multiple surface points of the first virtual object, and the three-dimensional position information includes the surface
- the height of the point, the first virtual object is any one of the multiple virtual objects.
- the height of the three-dimensional model data of the multiple virtual objects distributed on the first scanning section is within the height threshold.
- the three-dimensional model data of the first virtual object among the multiple virtual objects includes the three-dimensional position information of the bounding box of the first virtual object, and the bounding box of the first virtual object Refers to the geometric body surrounding the first virtual object, and the first virtual object is any one of the multiple virtual objects.
- the realization of the point cloud data obtained by the laser detection device at the first position point is determined
- the method may be: according to the three-dimensional position information of the bounding box of the first virtual object, the orientation of the vehicle, and the first position point, determine from the laser scanning range the angular range of the laser beam emitted by the laser detection device covering the first virtual object; according to The three-dimensional model data of the first virtual object determines the intersection point of the first laser beam on the first virtual object, and uses the three-dimensional position information of the intersection point as the point cloud data corresponding to the first laser beam.
- the first laser beam is any angle range. A laser beam.
- acquiring the point cloud data of the laser detection device at the first position point is essentially to determine the intersection of each laser beam on the virtual object. Therefore, the point cloud data of the laser detection device at the first position point can be determined through the foregoing implementation manner.
- the implementation manner of determining the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object may be:
- the object is a short-distance virtual object
- a plurality of first facets of the first virtual object are determined, and each first facet refers to the first facet.
- a short-distance virtual object refers to a virtual object whose distance from the first position point is within the second distance threshold;
- the first surface element that intersects the first laser beam among the first surface elements uses the intersection point between the first laser beam and the intersecting first surface element as the intersection point of the first laser beam on the first virtual object.
- the implementation manner of determining the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object may be: When the object is a long-distance virtual object, according to the three-dimensional position information of the bounding box of the first virtual object, multiple second bins of the bounding box are determined.
- the long-distance virtual object refers to the distance between the first position and the The virtual object between the second distance threshold and the first distance threshold, the first distance threshold is greater than the second distance threshold; the second surface element that intersects the first laser beam among the plurality of second surface elements is determined, and the first laser beam The intersection point with the second intersecting surface element serves as the intersection point of the first laser beam on the first virtual object.
- the distance from the first position point may be different.
- the virtual object uses different processing methods to determine the intersection point.
- the operation of determining the intersection point of the first laser beam on the first virtual object is performed.
- the same laser beam may theoretically be projected on different virtual objects, but in fact, each laser beam can only collect one point cloud data. Therefore, when determining the point cloud data, the occlusion between virtual objects can also be considered, which can improve the consistency between the point cloud data acquired in the virtual space and the point cloud data acquired in the real world.
- the operation of determining the intersection point of the first laser beam on the first virtual object is performed, and the non-strictly obstructed object refers to an object with a through hole through which the laser beam can penetrate.
- the three-dimensional intersection point of the first laser beam on the first virtual object is used as the point cloud data corresponding to the first laser beam.
- the other virtual objects can be treated as a simple model of impermeable laser beam.
- the point cloud data can be determined through the foregoing implementation method, so as to improve the consistency between the point cloud data obtained in the virtual space and the point cloud data obtained in the real world.
- the implementation manner of determining the three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning road section It can be: divide the first scanning road section into multiple fan-shaped areas centered on the first position point, and obtain the boundary information of each fan-shaped area; arrange the multiple fan-shaped areas in order according to the scanning direction of the laser detection device; The first fan-shaped area, according to the boundary information of the first fan-shaped area, obtain the three-dimensional model data of the virtual object located in the first fan-shaped area from the virtual object position information of each road node; for the i-th fan-shaped area after arrangement , Based on the scanning speed of the laser detection device and the moving speed of the vehicle, determine the movement displacement of the vehicle during the scanning of the laser detection device from the first sector area to the i-th sector area, i is greater than or equal to 2, and less than or equal to The positive integer of the number of divided sector areas; according to the movement
- the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section and its two sides can be determined in a sub-regional manner.
- the point cloud data acquired by the laser detection device at the first position point includes point cloud data corresponding to each laser beam emitted by the laser detection device.
- the point cloud data corresponding to each laser beam is cached; when the vehicle is at the second position point in the virtual space, according to the second position Point and road topology model determine the second scan section; determine multiple virtual objects distributed on the second scan section; if there are multiple virtual objects distributed on the first scan section and multiple virtual objects distributed on the second scan section.
- the point cloud data corresponding to the laser beam projected on the same virtual object in the buffer is used as the corresponding laser Point cloud data corresponding to the light beam at the second position point.
- the amount of calculation required to determine the point cloud data can be reduced according to the relative state between the vehicle and the surrounding virtual objects.
- a device for acquiring point cloud data has the function of realizing the method and behavior of acquiring point cloud data in the above-mentioned first aspect.
- the device includes at least one module, and the at least one module is used to implement the method for obtaining point cloud data provided in the above-mentioned first aspect.
- a computer device in a third aspect, includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to read the computer instructions to execute the acquisition described in the first aspect. Point cloud data method.
- a computer-readable storage medium stores instructions that, when run on a computer, cause the computer to execute the method for obtaining point cloud data as described in the first aspect. .
- a computer program product containing instructions which when running on a computer, causes the computer to execute the method for obtaining point cloud data as described in the first aspect.
- Fig. 1 is a schematic diagram of a laser beam emitted by a lidar provided by an embodiment of the present application
- FIG. 2 is a schematic diagram of another laser beam emitted by a lidar provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of another laser beam emitted by a lidar provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of a simulated laser beam intersecting a triangular surface element provided by an embodiment of the present application
- FIG. 5 is a schematic diagram of the architecture of a simulation system provided by an embodiment of the present application.
- Fig. 6 is a flowchart of a method for obtaining point cloud data provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a road topology model provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of a bounding box of a virtual object provided by an embodiment of the present application.
- FIG. 9 is a schematic diagram of a high-rise building provided by an embodiment of the present application.
- FIG. 10 is a schematic diagram of a road node provided by an embodiment of the present application.
- FIG. 11 is a schematic diagram of dividing a sector area according to an embodiment of the present application.
- FIG. 12 is a schematic diagram of determining an angle range provided by an embodiment of the present application.
- FIG. 13 is a schematic diagram of a target vehicle in front of an autonomous driving vehicle provided by an embodiment of the present application.
- FIG. 14 is a schematic diagram of projection of a laser beam provided by an embodiment of the present application.
- FIG. 15 is a schematic diagram of a device for obtaining point cloud data provided by an embodiment of the present application.
- FIG. 16 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- autonomous driving technology has become one of the key development directions of the automotive industry, and it has received more and more attention from OEMs and Internet companies.
- autonomous vehicles in English may be autonomous vehicles or self-piloting automobiles
- unmanned vehicles also known as unmanned vehicles, computer-driven vehicles, or wheeled mobile robots
- Self-driving vehicles have a history of decades in the 20th century. At the beginning of the 21st century, they were approaching practicality.
- the sensing layer is compared to the “eyes” of autonomous vehicles.
- the sensing layer includes vision sensors such as vehicle cameras and radar sensors such as vehicle millimeter wave radar, vehicle laser radar, and vehicle ultrasonic radar.
- lidar has been considered as a necessary foundation for realizing autonomous driving.
- an autonomous vehicle equipped with a lidar or a simulated vehicle equipped with a simulated lidar model in a simulation can also be called a self-driving vehicle.
- Lidar is a system that integrates laser, GPS global positioning and inertial measurement devices. Lidar can obtain data and generate accurate digital models. The combination of these three technologies can accurately locate the position where the laser beam strikes. Compared with other detection products, lidar can give full play to the advantages of precision, speed and efficiency. The biggest feature of lidar is that it can generate three-dimensional position information, and even quickly determine the position, size, external shape and even material of an object, so that an accurate digital model can be generated.
- Lidar is a radar system that detects characteristics such as the position and speed of a target by emitting a laser beam. Lidar emits a large number of laser beams to the surrounding environment in a short time, and calculates the distance to surrounding objects by measuring the flight time of the reflected laser beam. Lidar can construct a 3D map of the surrounding environment in an instant, and has the advantages of high measurement accuracy and good directionality.
- Lidar continuously emits laser beams to the surrounding environment when it is working, and calculates the distance between the vehicle and the point where the laser beam is projected by measuring the transmission time of the emitted laser beam, and then quickly creates point cloud data of the surrounding environment.
- Lidar is a device that quickly creates point cloud data of various points in the surrounding environment.
- the point cloud data includes the three-dimensional coordinates (XYZ) and the laser reflection intensity (Intensity) of the point where the laser beam is projected.
- the intensity of laser reflection is related to the surface material, roughness, incident angle direction of the corresponding position, the emission energy of the instrument, and the wavelength of the laser beam.
- Lidar can create up to 1.5 million point cloud data per second. This ability to quickly create point cloud data makes Lidar useful in areas such as autonomous driving.
- point cloud data is used as the output data of lidar, which can provide surrounding environment information to autonomous vehicles, and serve as the development and inspection of algorithms for perception, planning, decision-making, and information fusion in the process of autonomous driving.
- point cloud data can also be used as training data for these algorithms.
- Fig. 1 is a schematic diagram of a laser beam emitted by a lidar provided by an embodiment of the present application.
- Each concentric circle in Figure 1 corresponds to the point cloud data obtained after a group of laser scanning in the horizontal direction.
- Each concentric circle can also be called a point cloud concentric circle.
- the vertical separation angle is constant. Therefore, the farther the distance between the adjacent two groups of lasers is, the greater the distance between the concentric circles of the point cloud scanned by the adjacent lasers.
- the position information indicated by the part of the point cloud data in Figure 1 forms a concentric circle shape. That is because there are no obstacles around the autonomous vehicle.
- the laser beam hits the ground to form a group of concentric circles.
- the specific principle is shown in Figure 2. . If there are obstacles around the autonomous vehicle, the corresponding shape of the point cloud data is the shape of the obstacle, as shown in Figure 1 for the point cloud data on the buildings surrounding the autonomous vehicle.
- lidar The following explains several parameters involved in the working process of lidar.
- Azimuth angle The scanning range of the laser beam when the lidar is working is called the azimuth angle (field of view, FOV) of the lidar.
- the azimuth angle includes the horizontal azimuth angle and the vertical azimuth angle.
- the horizontal azimuth angle refers to the scanning angle of the lidar in the horizontal direction.
- the vertical azimuth angle refers to the scanning angle of the lidar in the vertical direction.
- lidar systems use rotating lenses.
- the main part of the lidar is fixed on the base of the rotating motor, and it rotates continuously during work to scan the surrounding 360°.
- the horizontal azimuth of these lidars is 360°.
- the vertical azimuth angle refers to the scanning angle of the lidar in the vertical direction, generally within 40°. As shown in Figure 3, it is a schematic diagram of a certain laser radar laser scanning line, and its vertical azimuth angle is -16° ⁇ 7°.
- the point cloud data of the laser beam emitted by the laser radar in the same azimuth is updated every time the laser radar scans one circle.
- the scanning frequency of the lidar is 10 Hz, that is, the lidar rotates 10 times per second. Therefore, the point cloud data of the laser beam emitted from the same direction will be updated 10 times per second.
- Angular resolution The angular resolution of lidar is divided into horizontal angular resolution and vertical angular resolution.
- the horizontal angular resolution refers to the minimum degree of separation between scan lines in the horizontal direction. It changes with the change of the scanning frequency, which is also the rotation speed of the lidar. The faster the rotation speed, the greater the spacing of the scanning lines in the horizontal direction and the greater the horizontal angular resolution.
- the vertical angular resolution refers to the degree of separation between two scan lines in the vertical direction. As shown in Fig. 3, the vertical angular resolution of the lidar is 1° between the 1-5 lines, 0.33° between the 6-30 lines, and 1° between the 31-40 lines.
- Ranging range The ranging range of lidar used in the field of autonomous driving is generally about 100-200m.
- UDP user datagram protocol
- the UDP data packet sent by Pandar40P is 1304 bytes in total, including a header of 42 bytes and a data block interval of 1262 bytes. All multi-byte values are in Little Endian and are unsigned integers. Little-endian byte order refers to a data storage method in which the low-order byte is first and the high-order byte is last, and will not be described in detail here.
- the data block interval in a UDP data packet includes 10 data blocks, and each data block has a length of 124 bytes, which represents a complete set of point cloud data.
- the 124-byte space in the data block includes: 2 bytes of flag bits, 2 bytes of horizontal rotation angle information, 40 groups of laser beam information, each group of laser beam information contains 2 bytes of distance information and 1 byte of information Strength information.
- the data block interval also includes 22 bytes of additional information, which includes sensor temperature status information, motor speed information, time stamp information (time stamp information is used to indicate the current packing time of the data block, in microseconds), etc. data.
- the industry has passed a large number of road tests to cover as many actual driving environments and traffic conditions as possible.
- the autonomous vehicle under test needs to pass billions of kilometers of test verification to achieve a certain degree of verification.
- the real road test also has the problem of high risk and low occurrence rate.
- simulation test methods to verify the functions of autonomous vehicles.
- simulation software based on the real traffic environment, a virtual space is generated or reproduced in the simulation software to test whether the autonomous vehicle can correctly recognize the surrounding environment in the virtual space, and make timely and accurate responses and take appropriate driving behavior.
- the industry has reached a consensus that only by combining simulation tests with actual road tests can comprehensive, systematic and effective verification results be obtained. Therefore, it is more and more important to conduct simulation tests on autonomous vehicles.
- the simulation test of the autonomous vehicle is mainly through the simulation system, the point cloud data output by the detection device on the autonomous vehicle is simulated, and the point cloud data is transmitted to the autonomous vehicle to observe whether the response of the autonomous vehicle is correct.
- simulation testing of autonomous vehicles can refer to determining the point cloud data of lidar in virtual space.
- lidar uses laser beams to detect surrounding real objects to obtain spatial information of surrounding real objects.
- all environments are virtual, including virtual vehicles, virtual traffic conditions, virtual roads, buildings and other static objects. Therefore, in the simulation test, the lidar is required to detect the virtual environment and output point cloud data.
- the three-dimensional model is the input data of computer graphics. It not only describes the specific geometric shape of the object in the real world, but also records the surface information such as the material, color, and texture of the surface of the object.
- the three-dimensional model describes the surface geometry of an object through geometric elements such as points, lines, and surfaces and the topological relationships between them.
- the surface properties of the object are described by adding information such as material, color, and texture to the various bins that make up the surface of the object.
- Open Graphics Library open graphics library, openGL
- the three-dimensional model expresses the surface of the object in the form of polygons.
- a three-dimensional model consists of two parts: geometric structure and surface properties.
- the three-dimensional model can be remembered as:
- Model is used to indicate the three-dimensional model
- Gs is used to indicate the data set of the geometric structure of the three-dimensional model
- A is used to indicate the data set of the surface properties of the three-dimensional model.
- the embodiments of this application do not involve surface properties, so A is not described in detail here.
- Gs is represented by points, lines, polygons and the topological relationship between them. Therefore, the above Gs can be expressed as:
- V is used to indicate the collection of all points in the three-dimensional model.
- V can be expressed as follows:
- V ⁇ Vi(xi,yi,zi)
- i 1,...,N ⁇
- N is the number of points in the three-dimensional model.
- the surface of a three-dimensional model is represented by a polygon set with three-dimensional points in V as vertices. That is, for the surface in the three-dimensional model, it is decomposed into several polygons. Use these polygons to express the surface of the model (the surface can also be called a facet). Since in the three-dimensional model, the vertices of the polygon all come from the vertex set V, a polygon with k vertices is represented by the k vertices in V arranged in a counterclockwise manner.
- the number of vertices of the polygon used to express the surface can be arbitrary. But in practice, when the number of vertices is more than 3, concave polygons will appear, and openGL's rendering of concave polygons is unstable. In addition, due to the error of the vertex coordinates, when the number of vertices of the polygon is more than 3, it is possible that the vertices of the polygon are not in the same plane, which will cause the polygon to not be displayed.
- the rendering engine provides support for arbitrary polygons, considering stability and efficiency, only a set of triangles can be used to express the surface of a three-dimensional model.
- the set of all triangles is Tri, which can be expressed as follows:
- Tri ⁇ tri(ai,bi,ci)
- V ai ,V bi ,V ci ⁇ V,i 1,...,M ⁇
- ai bi ci is the index in the vertex set V of the three vertices of the i-th triangle arranged in counterclockwise order in Tri. Together, V and Tri fully express the geometric structure of the 3D model surface.
- FIG. 4 is a schematic diagram of a simulated laser beam intersecting with a triangular surface element provided in an embodiment of the present application. As shown in Fig. 4, the arrowed line is the simulated laser beam, and V1 to V8 are the 8 vertices in the three-dimensional model of the simulated object.
- the laser beam has an intersection with the facets V 1 V 2 V 5 and V 2 V 3 V 6 of the three-dimensional model.
- the intersection point on the face element V 1 V 2 V 5 is the location of the ray.
- the irradiated position point of the simulated laser beam on the object corresponding to the three-dimensional model, and the three-dimensional position information of the intersection point is the point cloud data scanned when the laser beam simulated by the ray is projected on the object. Therefore, simulating the laser radar output point cloud data in the simulation space is to determine the intersection information of all laser beams and the surrounding virtual virtual bodies.
- the embodiment of the present application provides a method for obtaining point cloud data, which can obtain the point cloud data of the lidar in a virtual space.
- the point cloud data can be used for the development and inspection of algorithms such as verification, perception, planning, decision-making, and information fusion of autonomous driving systems.
- FIG. 5 is a schematic diagram of the architecture of a simulation system provided by an embodiment of the present application.
- the simulation system 500 includes a simulation platform 501 and an autonomous driving platform 502.
- the simulation platform 501 and the autonomous driving platform 502 may be connected in a wired or wireless manner for communication.
- the simulation platform 501 may run on a computer, and is used to obtain point cloud data through the method provided in the embodiments of the present application, and send the point cloud data to the automatic driving platform 502 through a network.
- the autonomous driving platform 502 controls the autonomous vehicle to respond according to the point cloud data to test the performance of the autonomous vehicle.
- the self-driving platform can run on self-driving vehicles.
- the simulation platform 501 when there is no communication between the simulation platform 501 and the autonomous driving platform 502, after the simulation platform 501 obtains the point cloud data, it can also transmit the point cloud data to the autonomous driving platform 502 through a storage medium. No more detailed description.
- the simulation system 500 may also include an algorithm platform 503, which can perform other algorithm processing based on the point cloud data obtained by the simulation platform 501, which is also not described in detail here.
- FIG. 6 is a flowchart of a method for obtaining point cloud data provided by an embodiment of the present application, and the method may be applied to the simulation platform in FIG. 5. As shown in Figure 6, the method includes the following steps:
- Step 601 In the case that the vehicle is at the first position point in the virtual space, determine the first scanning road segment according to the first position point and the road topology model, where the road topology model is used to indicate the road topology in the virtual space.
- the virtual space to be simulated can be A road topology model for the virtual space is constructed in advance.
- the road topology model is used to indicate the road topology in the virtual space.
- the above-mentioned first position point may be the current position of the laser detection device simulated on the vehicle.
- the laser detection device may be a laser radar, or other types of laser detection devices, which will not be illustrated here.
- the road topology model may include multiple road nodes (road) and road information of each road node.
- Each road node corresponds to a section of road, that is, in the embodiment of the present application, each road node is essentially used to indicate a section of road.
- the road information of each road node is used to indicate various attributes of the corresponding road.
- the use of the road information of each road node to indicate various attributes of the corresponding road means that the specific location of the corresponding road in the virtual space can be clarified through the road information corresponding to the road node. That is, the topological relationship between each road in the virtual space can be constructed through the road information of each road node in the road topology model.
- the road information of each road node may include the identification of the road node, the length of the road corresponding to the road node, and the boundary position information of the road corresponding to the road node (the boundary position information may include the starting point position information of the corresponding road and End position information, the connection relationship between the road corresponding to the road node and other roads, etc.).
- the implementation of determining the first scanning road segment according to the first location point and the road topology model in step 601 can be: according to each For the road information of the road node, the road node corresponding to the first location point is determined from the multiple road nodes; the first scanning road segment is determined according to the road node corresponding to the first location point.
- the road information of the road node includes the boundary position information of the corresponding road.
- the area of the road corresponding to each road node can be determined from the road information of each road node.
- the area including the first location point can be filtered from the determined area, and the road node corresponding to the filtered area is the road node corresponding to the first location point.
- the road section on the road node corresponding to the first position point within a specified distance before and after the first position point may be used as the first scanning road section.
- the specified distance is pre-configured.
- the designated distance may be 20 meters.
- a road section within a range of 20 meters before and after the first position point on the road node corresponding to the first position point may be used as the first scanning road section.
- FIG. 7 is a schematic diagram of a road topology model provided by an embodiment of the present application.
- the road topology model includes 7 road nodes, and the connection relationship between each road node is shown in Fig. 7 as the connection relationship between road nodes. That is, the road indicated by road node 1 is connected with the road indicated by road node 2, the road indicated by road node 2 is connected with the road indicated by road node 3, and the road indicated by road node 3 is connected with road node 4.
- the indicated roads are connected, and the roads indicated by the road node 4 are connected to the roads indicated by the road node 5, the road node 6, and the road node 7, respectively.
- the road node corresponding to the first location point determined above is road node 2
- the three road sections indicated by the road node 1, road node 2, and road node 3 can be taken as the first scanned road section .
- the road nodes in FIG. 7 that have a connection relationship with multiple road nodes may also be referred to as a junction road node (junction).
- the foregoing is only an example of two possible implementations of determining the first scanning road segment according to the road node corresponding to the first location point.
- the embodiment of the present application does not limit the specific implementation of determining the first scanning road section according to the road node corresponding to the first location point, only the determined first scanning road section is the road section near the first location point when the autonomous vehicle is at the first location point. . This will not give examples of other implementations one by one.
- the pre-configured road topology model may also include each road The virtual object information of the node.
- the virtual object information of each road node includes the three-dimensional model data of each virtual object distributed in the corresponding road node. Therefore, based on step 602, the virtual objects distributed in the first scanning section can be quickly determined directly through the road topology model.
- the virtual objects distributed on the road section include virtual objects distributed on the road of the road section and on both sides of the road.
- the three-dimensional model data of the virtual object may include three-dimensional position information of each surface point on the virtual object, so as to facilitate subsequent determination of point cloud data based on the three-dimensional position information of the surface point.
- the three-dimensional model data of the virtual object may be pre-processed in advance according to the requirements of the road conditions during the driving of the autonomous vehicle, so as to further increase the rate of determining the point cloud data in the future.
- the preprocessing methods of various three-dimensional model data provided in the embodiments of the present application will be explained below first.
- the three-dimensional model data of the first virtual object may also include the three-dimensional position information of the bounding box of the first virtual object.
- the bounding box of the first virtual object refers to the bounding box surrounding the first virtual object.
- the first virtual object is any one of a plurality of virtual objects. That is, in the road topology model, the three-dimensional model data of each virtual object may also include the three-dimensional position information of the bounding box of the corresponding virtual object. In order to quickly determine the point cloud data according to the outline of the virtual object.
- FIG. 8 is a schematic diagram of a bounding box of a virtual object provided by an embodiment of the present application.
- the bounding box shown in FIG. 8 can also be referred to as an AABB box.
- the AABB box is a bounding box of a three-dimensional object.
- the bounding box is a simple geometric space that contains virtual objects with complex shapes.
- the purpose of adding bounding boxes to virtual objects is to quickly perform collision detection or to filter before accurate collision detection.
- the bounding box of the virtual object can represent the approximate outline of the virtual object.
- the distance between the virtual object distributed on the first road node and the center line of the first road node is within the first distance threshold. That is, in the road topology model, the distance between the virtual objects on both sides of the road corresponding to each road node and the center line of the corresponding road node is within the first distance threshold.
- the first distance threshold is a preset distance threshold.
- the first distance threshold may be 10 meters.
- this preprocessing method is referred to as distant object removal processing.
- the first distance threshold also needs to be greater than half of the road width.
- the road width refers to the distance between the two borders on both sides of the road node.
- the road and virtual objects on both sides of the road that are particularly high from the ground will not have any impact on the driving of the autonomous vehicle.
- the high-rise buildings on both sides of the road will not have any impact on the driving of autonomous vehicles. Therefore, it is also possible to filter the road and the virtual objects on both sides of the road that are particularly high from the ground or the parts on the virtual objects.
- the three-dimensional model data of each virtual object includes the three-dimensional position information of each of the multiple surface points of the corresponding virtual object.
- the three-dimensional position information includes the height of the surface points and is distributed at the road nodes.
- the height in the three-dimensional model data of the virtual virtual body is within the height threshold.
- Fig. 9 is a schematic diagram of a high-rise building provided by an embodiment of the present application. As shown in Figure 9, the three-dimensional model data of the high-rise part of the building will not be included in the road topology model. For the convenience of subsequent description, this pre-processing method is referred to as higher object removal processing.
- the above-mentioned filtering of the three-dimensional model data of each virtual object in the road topology model can be performed in advance. At this time, the amount of data included in the road topology model is also relatively small.
- the road topology model directly determines the three-dimensional model data of the virtual object.
- the road topology model may also only include the three-dimensional position information of each surface point on the virtual object.
- the three-dimensional model data of the virtual object on the first scanning road section is determined by the above-mentioned filtering method. It is enough to filter, but at this time, the three-dimensional model data needs to be filtered at any position point, and the required calculation amount is still relatively large.
- the three-dimensional model data of each virtual object is also It can include the specific location of the corresponding virtual object on the road.
- a road starting point can be set on the road indicated by the road node, and the road starting point can be a position point at the center of the road at the starting position of the road.
- two parameters can be used to indicate the specific position of the virtual object on the road.
- One parameter is the distance between the center point of the virtual object's bounding box and the center line of the road, which can be marked as t-offset, and the other parameter is the center point of the virtual object's bounding box and the starting point of the road along the road driving direction The distance between can be marked as s-offset.
- FIG. 10 is a schematic diagram of a road node provided by an embodiment of the present application.
- the starting point of the road on the road indicated by the road node is point A
- the t-offset of a tree in the road is 5 meters
- the s-offset is 50 meters.
- the distance between the tree and the first location point can be determined according to the first location point and the two parameters t-offset and s-offset.
- the specific position of each virtual object on the road in the road topology model can also be directly indicated by the absolute coordinates of the center point of the virtual object's bounding box in the geodetic coordinate system, so that for any road node, there is no need to configure The starting point of the above road.
- Step 602 Determine the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section.
- the road topology model may include multiple road nodes, and virtual object information of each road node, and virtual object information of each road node. Including the three-dimensional model data of each virtual object distributed at the corresponding road node.
- the implementation of step 602 may be: obtaining three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road segment from the virtual object information of each road node.
- the three-dimensional model data of the first virtual object includes : The three-dimensional position information of each surface point on the first virtual object.
- the first virtual object is any one of the plurality of virtual objects.
- the three-dimensional model data of the first virtual object may further include: three-dimensional position information of the bounding box of the first virtual object.
- step 602 based on the above-mentioned preprocessing method for the three-dimensional model data in the road topology model, it can be known that if the three-dimensional model data of the virtual object in the road topology model is preprocessed, then what is obtained in step 602 is the preprocessed 3D model data of virtual objects.
- the virtual objects in the road topology model are removed in advance, at this time, the virtual objects distributed on the first scanning section and the center line of the first scanning section are different.
- the distance between is within the first distance threshold.
- the first distance threshold will not be described in detail here.
- the heights in the three-dimensional model data of the virtual objects distributed in the first scan section are all at the height Within the threshold.
- the road topology model can be directly obtained.
- the three-dimensional model data of the virtual object related to the first scanned section of the road is sufficient. In this case, it is assumed that when the vehicle is at the first position point, the displacement of the vehicle during the horizontal direction of the lidar is basically zero.
- the displacement of the vehicle is relatively large when the lidar scans one circle in the horizontal direction. In this case, as the lidar scans, the vehicle is moving forward. Mobile.
- a sub-regional method can be used to determine the multiple virtual objects distributed in the first scanning section Three-dimensional model data of each virtual object.
- the implementation of determining the three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning section in the manner of subregions may be: dividing the first scanning section into multiple fan-shaped regions with the first position point as the center , Get the boundary information of each fan-shaped area; arrange the multiple fan-shaped areas in the order of the scanning direction of the laser detection device; for the first fan-shaped area after the arrangement, according to the boundary information of the first fan-shaped area, from each road node Obtain the three-dimensional model data of the virtual object located in the first fan-shaped area from the virtual object position information; for the i-th fan-shaped area after the arrangement, based on the scanning speed of the laser detection device and the moving speed of the vehicle, determine the laser detection device from the first
- the movement displacement of the vehicle in the process of scanning from a sector area to the i-th sector area, i is a positive integer greater than or equal to 2 and less than or equal to the number of divided sector areas; the i-th sector area is updated according to the movement displacement According
- the boundary information of each sector area is used to indicate the coverage area of the corresponding sector area.
- the first sector area after the arrangement this is equivalent to the area scanned by the lidar when the vehicle is just at the first position point.
- the first sector area can be obtained directly from the virtual object information of each road node 3D model data of the virtual object.
- the i-th sector area after the arrangement when the lidar scans to the i-th sector area, at this time, the vehicle has moved forward by a certain displacement. Therefore, the i-th sector area can be updated according to the position of the vehicle after it has moved The boundary information. It is equivalent to dynamically updating the virtual objects in each fan-shaped area, so that the obtained virtual objects are as consistent as possible with the objects obtained in the real world.
- the realization of updating the boundary information of the i-th sector area can be: according to the first position point and the movement displacement, determine the position point of the vehicle after the movement, and divide the position point after the vehicle movement as the center.
- Sector regions the multiple sector regions are arranged in the same manner as described above, and the boundary information of the i-th sector region after the arrangement is the boundary information of the i-th sector region after the update.
- FIG. 11 is a schematic diagram of dividing a sector area according to an embodiment of the present application.
- the first scan road section can be divided into 8 fan-shaped areas with the first position point as the center.
- these 8 fan-shaped areas are marked as 12345678.
- the updated second sector area is the sector area 2 shown on the right side of Fig. 11. That is, the boundary information of the right fan-shaped area 2 is the updated boundary information of the second fan-shaped area.
- the above-mentioned multiple fan-shaped regions can be arranged in order according to the scanning direction of the laser detection device.
- the embodiment of the present application is not limited.
- the order of these 8 fan-shaped areas can be fan-shaped area 1, fan-shaped area 2, fan-shaped area 3, fan-shaped Area 4, sector area 5, sector area 6, sector area 7, sector area 8.
- the order of these 8 sector areas can also be sector area 2, sector area 3, sector area 4, sector area 5, sector area 6, sector area 7, sector area 8, sector area 1.
- the number of divided sector areas can be set according to the scanning speed of the lidar and the moving speed of the vehicle.
- the number of divided fan-shaped regions may have a negative correlation with the scanning speed of the lidar and the moving speed of the vehicle. In other words, the faster the scanning speed of the lidar, the faster the moving speed of the vehicle. At this time, the movement displacement of the vehicle during the lidar scan for one round is smaller, and the objects around the vehicle change more slowly during the lidar scan. Therefore, the number of divided fan-shaped regions can be smaller, and correspondingly, the coverage area of each fan-shaped region will be larger.
- the process of obtaining the three-dimensional model data of the virtual objects located in each fan-shaped region can be processed in parallel, thereby improving the efficiency of finally obtaining point cloud data.
- Step 603 Determine the point cloud data acquired by the laser detection device at the first position point according to the laser scanning range of the laser detection device simulated on the vehicle and the three-dimensional model data of each virtual object among the multiple virtual objects.
- step 603 may specifically be: for the first virtual object, according to the three-dimensional position information of the bounding box of the first virtual object, the direction of the vehicle, and the first position point, from the laser scanning range It is determined that the laser beam emitted by the laser detection device covers the angular range of the first virtual object.
- the first virtual object refers to any virtual object among multiple virtual objects; for the first laser beam in the angular range, according to the first virtual object
- the three-dimensional model data of determines the intersection point of the first laser beam on the first virtual object, and uses the three-dimensional position information of the intersection point as the point cloud data corresponding to the first laser beam, and the first laser beam is any laser beam in the angular range.
- the foregoing first virtual object refers to any virtual object among multiple virtual objects, that is, for any virtual object determined in step 602, the foregoing implementation manner is used to determine the point where the laser beam is projected on the virtual object. Cloud data.
- FIG. 12 is a schematic diagram of an angle range provided by an embodiment of the present application.
- the laser beam irradiated by the lidar on the target vehicle can be determined
- the angle range of is: horizontal a°-b°, vertical m°-n°. (In Figure 12, only the horizontal angle range is illustrated, and the vertical angle range is not shown)
- the intersection point of the first laser beam on the first virtual object is determined according to the three-dimensional model data of the first virtual object, and different virtual objects with different distances from the first position point can be used. To determine the intersection point.
- the foregoing determination of the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object may specifically be : According to the three-dimensional position information of each surface point in the three-dimensional model data of the first virtual object, the multiple first bins of the first virtual object are determined, and each first bin refers to one of the surface points of the first virtual object. A surface formed by three or more surface points.
- a short-distance virtual object refers to a virtual object whose distance from the first position point is within the second distance threshold; the The first face element where the laser beams intersect, and the intersection point between the first laser beam and the first face element that intersects is taken as the intersection point of the first laser beam on the first virtual object.
- the process of obtaining point cloud data for all laser beams can be as follows:
- the calculation in the vertical direction is the same, as long as the upper and lower positions are obtained for the intersection calculation.
- all the point cloud data of the target vehicle detected by the lidar can be obtained.
- intersection process of the above-mentioned laser beams can be processed in parallel, which will not be described in detail here.
- the foregoing determination of the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object may specifically be It is: in the case that the first virtual object is a long-distance virtual object, according to the three-dimensional position information of the bounding box of the first virtual object, a plurality of second bins of the bounding box are determined, and the long-distance virtual object refers to the first position
- the first distance threshold is greater than the second distance threshold
- the approximate outline of the virtual object is considered.
- the laser beam can be directly used to calculate the intersection with the AABB box to reduce the amount of calculation. The specific process of requesting an appointment will not be explained in detail here.
- the same laser beam may theoretically be projected on different virtual objects, but in reality, only one point cloud data can be collected for each laser beam.
- the angle range of the target vehicle in Figure 12 is 20°-60° horizontally and -20°-10° longitudinally, and the angle range of the laser beam projected to the wall behind the target vehicle also includes 20°-60° horizontally.
- the operation of determining the intersection point of the first laser beam on the first virtual object is performed. If there are other virtual objects that block the first virtual object in the projection direction of the first laser beam, there is no need to perform the operation of determining the intersection point of the first laser beam on the first virtual object. That is, in this case, there is no need to determine the point cloud data of the projection point of the first laser beam on the first virtual object.
- the foregoing determination of whether the projection direction of the first laser beam is whether there are other virtual objects that block the first virtual object may be based on the angle of the first laser beam, the first position point, and the virtual object information of each virtual object determined in step 602. Sure.
- the projection direction of the first laser beam if the coverage area of the bounding box of other virtual objects exists between the first position point and the first virtual virtual body, it is considered that the first laser beam There are other virtual objects that block the first virtual object in the projection direction of.
- the other virtual objects are treated as simple models of impermeable laser beams.
- the other virtual objects are treated as simple models of impermeable laser beams.
- the other virtual objects that block the first virtual object in the projection direction of the first laser beam, and the other virtual objects are non-strictly occluded objects, then it is executed to determine that the first laser beam is in the first laser beam.
- the non-strictly occluded object refers to an object with a through hole through which the laser beam can penetrate.
- the first laser beam has no intersection point on other virtual objects, set the first laser beam to the intersection point on the first virtual object.
- the three-dimensional position information is used as the point cloud data corresponding to the first laser beam.
- the first laser beam does not intersect on other virtual objects, it indicates that the first laser beam can pass through the through holes on other virtual objects. In this case, it is necessary to use the three-dimensional position information of the intersection point of the first laser beam on the first virtual object as the point cloud data corresponding to the first laser beam.
- the occluded virtual object can be processed without distinguishing whether it is a non-strict occlusion object, and a simple model can be used for processing, which can further reduce the amount of calculation.
- the occlusion situation may not be considered, and the point cloud data of each laser beam within the angle range may be directly determined for all virtual objects.
- the laser beam corresponds to multiple point cloud data, it indicates that the laser beam can be projected to multiple location points.
- it is sufficient to select the point cloud data of the position point closest to the first position point as the point cloud data of the laser beam. In this way, although the amount of calculation will be more, it can simplify the process of obtaining point cloud data.
- the above steps 601 to 603 are used to explain how to determine the point cloud data acquired by the laser detection device at the first position point.
- the simulation test as the vehicle moves in the virtual space, it is necessary to update the point cloud data at each location point in time. In the process of vehicle movement, there may be some objects around the vehicle and the relative position between the vehicle has not changed. In this case, for these virtual objects, there is no need to determine the point cloud data again. Therefore, in the embodiment of the present application, the amount of calculation required to determine the point cloud data can be reduced according to the relative state between the vehicle and the surrounding virtual objects.
- the point cloud data corresponding to each laser beam may also be cached.
- the vehicle is at the second location point in the virtual space, determine the second scan section according to the second location point and the road topology model; determine multiple virtual objects distributed on the second scan section; if distributed on the first scan section If the same virtual object exists in the multiple virtual objects and multiple virtual objects distributed on the second scanning section, and the relative distance between the same virtual object and the vehicle does not change at the first position point and the second position point, then The point cloud data corresponding to the laser beam projected on the same virtual object in the buffer is used as the point cloud data corresponding to the corresponding laser beam at the second position point.
- the relative distance between the same virtual object and the vehicle does not change between the first position point and the second position point, indicating that the same virtual object and the vehicle remain relatively stationary during the movement of the vehicle. Therefore, there is no It is necessary to repeatedly determine the point cloud data for the same virtual object.
- the above-mentioned second location point and the first location point may be the same location point. In this case, there is no need to repeatedly calculate the point cloud data for static objects around the vehicle.
- the point cloud data of all laser beams of the laser detection device may be initialized first. Subsequent only needs to update the initialized point cloud data according to the changed point cloud data to further reduce the amount of calculation.
- a part of the laser beam of the lidar will hit the ground, and the point cloud data of this part will basically not change in the future; if the remaining laser does not detect the target object, the point cloud data can be set to a null value .
- These point cloud data can be saved first in the form of configuration files. When the simulation starts, load the configuration file to generate a point cloud cache. After the simulation starts, if the lidar detects a virtual object, the point cloud data with a null value in the cache is updated.
- the above configuration file can be reloaded, which is equivalent to initializing the point cloud data of all laser beams. Then continue to update the point cloud data according to the detected virtual objects.
- a road topology model for the virtual space can be constructed in advance.
- the road topology model is used to indicate the road topology in the virtual space.
- FIG. 15 is a schematic diagram of an apparatus for obtaining point cloud data provided by an embodiment of the present application. As shown in FIG. 15, the device 1500 includes:
- the determining module 1501 is configured to determine the first scanned road segment according to the first position point and the road topology model when the vehicle is at the first position point in the virtual space, and the road topology model is used to indicate the road topology in the virtual space. For a specific implementation manner, reference may be made to step 601 in the embodiment of FIG. 6.
- the determining module 1501 is also used to determine the three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning section. For a specific implementation manner, reference may be made to step 602 in the embodiment of FIG. 6.
- the determining module 1501 is also used to determine the point cloud acquired by the laser detection device at the first position point according to the laser scanning range of the laser detection device simulated on the vehicle and the three-dimensional model data of each virtual object in the multiple virtual objects data. For a specific implementation manner, reference may be made to step 603 in the embodiment of FIG. 6.
- the road topology model includes multiple road nodes and road information of each road node in the multiple road nodes;
- each road node determines the road node corresponding to the first location point from the multiple road nodes;
- the first scanning road segment is determined according to the road node corresponding to the first position point.
- the road topology model includes multiple road nodes and virtual object information of each of the multiple road nodes.
- the virtual object information of the first road node includes the three-dimensional information of each virtual object distributed on the first road node.
- Model data, the first road node is any one of the multiple road nodes;
- the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section is obtained.
- the distance between the virtual objects distributed on the first scanning road segment and the center line of the first scanning road segment is within the first distance threshold.
- the three-dimensional model data of the first virtual object in the plurality of virtual objects includes three-dimensional position information of each surface point in the plurality of surface points of the first virtual object, and the three-dimensional position information includes the height of the surface point.
- the virtual object is any virtual object among multiple virtual objects;
- the height in the three-dimensional model data of the virtual objects distributed in the first scanning section is within the height threshold.
- the three-dimensional model data of the first virtual object in the plurality of virtual objects includes the three-dimensional position information of the bounding box of the first virtual object.
- the bounding box of the first virtual object refers to the geometric body surrounding the first virtual object.
- the object is any virtual object among multiple virtual objects;
- the orientation of the vehicle, and the first position point determine from the laser scanning range that the laser beam emitted by the laser detection device covers the angle range of the first virtual object;
- the first laser beam has an angular range Any laser beam.
- the determining module is used to:
- the first virtual object is a close-range virtual object
- the three-dimensional position information of each surface point in the three-dimensional model data of the first virtual object multiple first face elements of the first virtual object are determined, and each first face Meta refers to the surface formed by three or more surface points among the various surface points of the first virtual object, and the short-distance virtual object refers to the virtual object whose distance from the first position point is within the second distance threshold. object;
- the determining module is used to:
- the first virtual object is a long-distance virtual object
- multiple second bins of the bounding box are determined.
- the first distance threshold is greater than the second distance threshold
- the determining module is also used to:
- the operation of determining the intersection point of the first laser beam on the first virtual object is performed.
- the determining module is also used to:
- Non-strictly shielded objects refer to objects with through holes through which the laser beam can penetrate;
- the method further includes:
- the three-dimensional position information of the intersection point of the first laser beam on the first virtual object is used as the point cloud data corresponding to the first laser beam.
- the determining module is used to:
- the three-dimensional model data of the virtual object located in the first sector area is obtained from the position information of the virtual objects of each road node according to the boundary information of the first sector area;
- i is A positive integer greater than or equal to 2 and less than or equal to the number of divided sector areas
- the three-dimensional model data of the virtual object located in the first sector area is obtained from the position information of the virtual object of each road node.
- the point cloud data acquired by the laser detection device at the first position point includes point cloud data corresponding to each laser beam emitted by the laser detection device;
- the device also includes:
- Cache module used to cache the point cloud data corresponding to each laser beam
- the determining module is also used for determining the second scanning road section according to the second position point and the road topology model when the vehicle is at the second position point in the virtual space; determining multiple virtual objects distributed on the second scanning road section; if The same virtual object exists in the multiple virtual objects distributed on the first scanning road segment and the multiple virtual objects distributed on the second scanning road segment, and the relative distance between the same virtual object and the vehicle is at the first location point and the second location point If there is no change in time, the point cloud data corresponding to the laser beam projected on the same virtual object in the buffer is used as the point cloud data corresponding to the corresponding laser beam at the second position point.
- a road topology model for the virtual space can be constructed in advance.
- the road topology model is used to indicate the road topology in the virtual space.
- the device for acquiring point cloud data provided in the above embodiment acquires point cloud data
- only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functions as required.
- the function module is completed, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above.
- the device for acquiring point cloud data provided in the above-mentioned embodiment and the embodiment of the method for acquiring point cloud data belong to the same structure. For the specific implementation process, please refer to the method embodiment, which will not be repeated here.
- FIG. 16 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- the simulation platform in FIG. 5 can be implemented by the computer device shown in FIG. 16.
- the computer device includes at least one processor 1601, a communication bus 1602, a memory 1603, and at least one communication interface 1604.
- the processor 1601 may be a general-purpose central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling program execution of the solution of this application.
- CPU central processing unit
- ASIC application-specific integrated circuit
- the communication bus 1602 may include a path for transferring information between the above-mentioned components.
- the memory 1603 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions
- the dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only Memory (CD-ROM) or other optical disc storage, optical disc storage (Including compact discs, laser beam discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disks or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be stored by a computer Any other media taken, but not limited to this.
- the memory 1603 may exist independently, and is connected to the processor 1601 through a communication bus 1602.
- the memory 1603 may also be integrated with the processor 1601.
- the memory 1603 is used to store program codes for executing the solutions of the present application, and the processor 1601 controls the execution.
- the processor 1601 is configured to execute program codes stored in the memory 1603.
- One or more software modules can be included in the program code.
- the simulation platform in FIG. 5 can determine the data used to develop the application through one or more software modules in the program code in the processor 1601 and the memory 1603.
- the one or more software modules can be any of the modules in FIG. 15.
- Communication interface 1604 using any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
- RAN radio access network
- WLAN wireless local area networks
- the computer device may include multiple processors, such as the processor 1601 and the processor 1605 shown in FIG. 16.
- processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor.
- the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
- the above-mentioned computer equipment may be a general-purpose computer equipment or a special-purpose computer equipment.
- the computer device may be a desktop computer, a portable computer, a network server, a PDA (personal digital assistant, PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, or an embedded device.
- PDA personal digital assistant
- the embodiments of this application do not limit the type of computer equipment.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
- the usable medium may be a magnetic medium (for example: floppy disk, hard disk, magnetic tape), optical medium (for example: digital versatile disc (DVD)), or semiconductor medium (for example: solid state disk (SSD)) )Wait.
- the program can be stored in a computer-readable storage medium.
- the storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Electromagnetism (AREA)
- Radar, Positioning & Navigation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Traffic Control Systems (AREA)
- Optical Radar Systems And Details Thereof (AREA)
Abstract
Disclosed are a method for acquiring point cloud data, and a related device, belonging to the technical field of artificial intelligence. The method comprises: determining a first scanning road section according to a first location point and a road topology model; determining three-dimensional model data of each of a plurality of virtual objects distributed in the first scanning road section; and determining point cloud data acquired by a laser detection apparatus at the first location point according to a laser scanning range, simulated on a vehicle, of the laser detection apparatus and the three-dimensional model data of each of the plurality of virtual objects. In the present application, a road topology model for a virtual space can be constructed in advance, so that a current road section to be scanned can be directly determined on the basis of the road topology model when subsequently determining point cloud data of a vehicle at a first location point, and there is no need to traverse all nodes in a K-D tree as is necessary in the related art, thereby reducing the data processing capacity during the process of acquiring point cloud data, and correspondingly improving the efficiency of acquiring the point cloud data.
Description
本申请要求于2020年02月25日提交的申请号为202010116696.X、发明名称为“获取点云数据的方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on February 25, 2020 with the application number 202010116696.X and the invention title "Method and Related Equipment for Obtaining Point Cloud Data", the entire content of which is incorporated into this application by reference middle.
本申请涉及人工智能技术领域,特别涉及一种获取点云数据的方法及相关设备。This application relates to the field of artificial intelligence technology, and in particular to a method and related equipment for obtaining point cloud data.
随着人工智能技术的发展,自动驾驶车辆因其能够实现无人驾驶而越来越受关注。自动驾驶车辆上部署有激光雷达,激光雷达可以向周围环境发射大量激光光束,各条激光光束被周围环境中诸如建筑物等物体反射,基于反射回来的激光光束便可模拟出自动驾驶车辆的周围环境,从而便于自动驾驶车辆根据模拟的周围环境对行驶路线进行规划。在使用自动驾驶车辆之前,需先对自动驾驶车辆进行仿真测试。仿真测试的过程为:构建一个虚拟空间,模拟各条激光光束投射到虚拟空间中的虚拟物体上的位置点的点云数据,该点云数据包括激光光束投射到的位置点的三维位置信息,根据模拟的点云数据来探测自动驾驶车辆的响应,从而实现对自动驾驶车辆的性能测试。With the development of artificial intelligence technology, self-driving vehicles have attracted more and more attention because of their ability to realize unmanned driving. Lidar is deployed on autonomous vehicles. Lidar can emit a large number of laser beams to the surrounding environment. Each laser beam is reflected by objects in the surrounding environment such as buildings. Based on the reflected laser beams, the surroundings of the autonomous vehicle can be simulated. Environment, so as to facilitate the automatic driving vehicle to plan the driving route according to the simulated surrounding environment. Before using an autonomous vehicle, it is necessary to perform a simulation test on the autonomous vehicle. The simulation test process is: constructing a virtual space, simulating the point cloud data of the position points projected by each laser beam onto the virtual object in the virtual space, the point cloud data includes the three-dimensional position information of the position points projected by the laser beam, According to the simulated point cloud data, the response of the autonomous vehicle is detected, so as to realize the performance test of the autonomous vehicle.
相关技术中,对于某个虚拟空间,根据虚拟空间中各个虚拟物体的空间位置关系,构建K维(k-dimensional,K-D)树。K-D树中除叶子节点之外的每个节点对应一个包围盒,该包围盒用于指示虚拟空间中的部分空间。除叶子节点之外的这些节点中,每个子节点对应的包围盒是该子节点所属的父节点对应的包围盒中的子集。K-D树中的每个叶子节点对应虚拟空间中的一个虚拟物体,该虚拟物体是该叶子节点所属的父节点对应的包围盒中的虚拟物体。在获取模拟的点云数据时,对于激光雷达发射的每条激光光束,按照K-D树中从根节点到叶子节点的顺序遍历每个节点,对于除叶子节点之外的任一节点,如果该激光光束不与该节点对应的包围盒相交,则跳过该节点。如果该激光光束与该节点对应的包围盒相交,则继续确定该激光光束与该节点的子节点对应的包围盒是否相交,直至遍历至叶子节点,从而确定出与该激光光束相交的虚拟物体,进而得到该激光光束在该虚物体上的点云数据。对所有激光光束均做上述处理,即可得到各条激光光束的点云数据。In related technologies, for a certain virtual space, a K-dimensional (K-D) tree is constructed according to the spatial position relationship of each virtual object in the virtual space. Each node in the K-D tree except the leaf node corresponds to a bounding box, which is used to indicate a part of the virtual space. Among the nodes other than the leaf nodes, the bounding box corresponding to each child node is a subset of the bounding box corresponding to the parent node to which the child node belongs. Each leaf node in the K-D tree corresponds to a virtual object in the virtual space, and the virtual object is a virtual object in the bounding box corresponding to the parent node to which the leaf node belongs. When acquiring simulated point cloud data, for each laser beam emitted by the lidar, each node is traversed in the order from the root node to the leaf node in the KD tree. For any node except the leaf node, if the laser beam is If the beam does not intersect the bounding box corresponding to the node, skip the node. If the laser beam intersects the bounding box corresponding to the node, continue to determine whether the laser beam intersects the bounding box corresponding to the child node of the node until it traverses to the leaf node, thereby determining the virtual object that intersects the laser beam, Then obtain the point cloud data of the laser beam on the virtual object. All the laser beams are processed as described above, and the point cloud data of each laser beam can be obtained.
上述获取点云数据的过程,对于所有激光光束均需要遍历K-D树,导致获取点云数据的过程中需要耗费大量的计算资源。In the above process of obtaining point cloud data, all laser beams need to traverse the K-D tree, resulting in the process of obtaining point cloud data that consumes a lot of computing resources.
发明内容Summary of the invention
本申请提供了一种获取点云数据的方法及相关设备,可以提高获取点云数据的效率。所述技术方案如下:This application provides a method and related equipment for acquiring point cloud data, which can improve the efficiency of acquiring point cloud data. The technical solution is as follows:
第一方面,提供了一种获取点云数据的方法,该方法应用于计算机设备。在该方法中,在车辆处于虚拟空间中第一位置点的情况下,根据第一位置点和道路拓扑模型确定第一扫描路段,该道路拓扑模型用于指示该虚拟空间中的道路拓扑;确定分布在第一扫描路段的多个 虚拟物体中每个虚拟物体的三维模型数据;根据在该车辆上模拟的激光探测装置的激光扫描范围和这多个虚拟物体中每个虚拟物体的三维模型数据,确定该激光探测装置在第一位置点处获取的点云数据。In the first aspect, a method for obtaining point cloud data is provided, and the method is applied to a computer device. In this method, when the vehicle is at the first position point in the virtual space, determine the first scanned road section according to the first position point and the road topology model, where the road topology model is used to indicate the road topology in the virtual space; The three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning section; according to the laser scanning range of the laser detection device simulated on the vehicle and the three-dimensional model data of each virtual object in the multiple virtual objects , Determine the point cloud data obtained by the laser detection device at the first position point.
在本申请中,考虑到自动驾驶车辆在行驶过程中仅需确定行驶道路附近的物体即可,因此,为了减少确定点云数据过程中的数据处理量。对于待仿真的虚拟空间,可以预先构建针对该虚拟空间的道路拓扑模型。该道路拓扑模型用于指示虚拟空间中的道路拓扑。如此,后续在确定车辆处于第一位置点时的点云数据时,便可基于道路拓扑模型直接确定当前待扫描路段即可,无需像相关技术那样需要遍历K-D树中的所有节点,从而减少了获取点云数据过程中的数据处理量,相应地,也就提高了获取点云数据的效率。In this application, it is considered that the autonomous driving vehicle only needs to determine the objects near the driving road during the driving process, therefore, in order to reduce the amount of data processing in the process of determining the point cloud data. For the virtual space to be simulated, a road topology model for the virtual space can be constructed in advance. The road topology model is used to indicate the road topology in the virtual space. In this way, when subsequently determining the point cloud data when the vehicle is at the first position point, the current road segment to be scanned can be directly determined based on the road topology model, without the need to traverse all nodes in the KD tree as in related technologies, thereby reducing The amount of data processing in the process of obtaining point cloud data, correspondingly, improves the efficiency of obtaining point cloud data.
根据第一方面,在本申请的一种可能的实现方式中,道路拓扑模型包括多个道路节点、以及这多个道路节点中每个道路节点的道路信息。这种场景下,根据第一位置点和道路拓扑模型确定第一扫描路段的实现方式可以为:根据每个道路节点的道路信息,从多个道路节点中确定第一位置点对应的道路节点;根据第一位置点对应的道路节点确定第一扫描路段。According to the first aspect, in a possible implementation of the present application, the road topology model includes multiple road nodes and road information of each road node in the multiple road nodes. In this scenario, the implementation of determining the first scanned road segment according to the first location point and the road topology model may be: determining the road node corresponding to the first location point from the multiple road nodes according to the road information of each road node; The first scanning road segment is determined according to the road node corresponding to the first position point.
为了快速确定第一扫描路段,预先将虚拟空间中的道路分段以道路节点的方式存储在道路拓扑模型中,以便于后续可以快速根据第一位置点确定出第一扫描路段,从而提高了获取点云数据的效率。In order to quickly determine the first scanned road segment, the road segments in the virtual space are stored in the road topology model in the form of road nodes in advance, so that the first scanned road segment can be quickly determined based on the first location point, thereby improving the acquisition The efficiency of point cloud data.
根据第一方面,在本申请的一种可能的实现方式中,该道路拓扑模型包括多个道路节点、以及这多个道路节点中每个道路节点的虚拟物体信息。其中,这多个道路节点中第一道路节点的虚拟物体信息包括分布在第一道路节点的各个虚拟物体的三维模型数据,第一道路节点为这多个道路节点中的任一个。在这种场景下,确定分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据的实现方式可以为:从各个道路节点的虚拟物体信息中,获取分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据。According to the first aspect, in a possible implementation of the present application, the road topology model includes multiple road nodes and virtual object information of each road node in the multiple road nodes. Wherein, the virtual object information of the first road node among the multiple road nodes includes three-dimensional model data of each virtual object distributed on the first road node, and the first road node is any one of the multiple road nodes. In this scenario, the way to determine the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road segment may be: obtaining the virtual object information distributed on the first scanning road segment from the virtual object information of each road node The three-dimensional model data of each virtual object in the multiple virtual objects.
为了进一步提高获取点云数据的效率,还可以预先将分布在各个路段的虚拟物体的相关信息存储在道路拓扑模型中。如此,在确定出第一扫描路段之后,便可根据道路拓扑模型直接确定分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据,以提高获取点云数据的效率。In order to further improve the efficiency of obtaining point cloud data, the relevant information of the virtual objects distributed on each road section can also be stored in the road topology model in advance. In this way, after the first scanning road section is determined, the three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning road section can be directly determined according to the road topology model, so as to improve the efficiency of obtaining point cloud data.
根据第一方面,在本申请的一种可能的实现方式中,分布在第一道路节点的虚拟物体与第一道路节点的中心线之间的距离在第一距离阈值内。According to the first aspect, in a possible implementation of the present application, the distance between the virtual object distributed on the first road node and the center line of the first road node is within the first distance threshold.
考虑到自动驾驶车辆在驾驶过程中,道路两侧距离自动驾驶车辆特别远的虚拟物体对自动驾驶车辆的行驶不会造成什么影响。因此,还可以对道路两侧的距离特别远的虚拟物体进行过滤。这样在道路拓扑模型中,分布在每个道路节点的虚拟物体仅仅包括距离相应道路节点的中心线在第一距离阈值内的虚拟物体。从而简化道路拓扑模型,如此便可减少后续根据道路拓扑模型获取点云数据的计算量,提高了获取点云数据的效率。Considering that during the driving of an autonomous vehicle, virtual objects on both sides of the road that are particularly far away from the autonomous vehicle will not have any impact on the driving of the autonomous vehicle. Therefore, it is also possible to filter virtual objects that are particularly far apart on both sides of the road. In this way, in the road topology model, the virtual objects distributed at each road node only include the virtual objects that are within the first distance threshold from the center line of the corresponding road node. This simplifies the road topology model, which can reduce the amount of subsequent calculations for obtaining point cloud data based on the road topology model, and improve the efficiency of obtaining point cloud data.
根据第一方面,在本申请的一种可能的实现方式中,第一虚拟物体的三维模型数据包括第一虚拟物体的多个表面点中每个表面点的三维位置信息,三维位置信息包括表面点的高度,第一虚拟物体是多个虚拟物体中的任一虚拟物体。这种场景下,分布在第一扫描路段的多个虚拟物体的三维模型数据中的高度在高度阈值以内。According to the first aspect, in a possible implementation of the present application, the three-dimensional model data of the first virtual object includes the three-dimensional position information of each of the multiple surface points of the first virtual object, and the three-dimensional position information includes the surface The height of the point, the first virtual object is any one of the multiple virtual objects. In this scenario, the height of the three-dimensional model data of the multiple virtual objects distributed on the first scanning section is within the height threshold.
考虑到自动驾驶车辆在驾驶过程中,道路附近距离地面特别高的虚拟物体对自动驾驶车辆的行驶也不会造成什么影响。比如,道路两侧建筑的高层对自动驾驶车辆的行驶不会造成 什么影响。因此,还可以对道路附近距离地面特别高的虚拟物体或者虚拟物体上的部分进行过滤。此时,在道路拓扑模型中,分布在道路节点的多个虚拟物体中每个虚拟物体的三维模型数据中不存在高度超过高度阈值的表面点的三维位置信息。这样同样可以简化道路拓扑模型,如此便可减少后续根据道路拓扑模型获取点云数据的计算量,从而提高了获取点云数据的效率。Considering that during the driving of an autonomous vehicle, virtual objects near the road that are particularly high from the ground will not have any impact on the driving of the autonomous vehicle. For example, the high-rise buildings on both sides of the road will not have any impact on the driving of autonomous vehicles. Therefore, it is also possible to filter virtual objects near the road or parts on the virtual objects that are particularly high from the ground. At this time, in the road topology model, there is no three-dimensional position information of the surface points whose height exceeds the height threshold in the three-dimensional model data of each of the multiple virtual objects distributed in the road nodes. In this way, the road topology model can also be simplified, which can reduce the amount of subsequent calculations for obtaining point cloud data according to the road topology model, thereby improving the efficiency of obtaining point cloud data.
根据第一方面,在本申请的一种可能的实现方式中,多个虚拟物体中第一虚拟物体的三维模型数据包括第一虚拟物体的包围盒的三维位置信息,第一虚拟物体的包围盒是指包围第一虚拟物体的几何体,第一虚拟物体为这多个虚拟物体中任一虚拟物体。这种场景下,根据在车辆上模拟的激光探测装置的激光扫描范围和多个虚拟物体中每个虚拟物体的三维模型数据,确定激光探测装置在第一位置点处获取的点云数据的实现方式可以为:根据第一虚拟物体的包围盒的三维位置信息、车辆的朝向、以及第一位置点,从激光扫描范围中确定激光探测装置发射的激光光束覆盖第一虚拟物体的角度范围;根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点,将相交点的三维位置信息作为第一激光光束对应的点云数据,第一激光光束为角度范围的任一条激光光束。According to the first aspect, in a possible implementation of the present application, the three-dimensional model data of the first virtual object among the multiple virtual objects includes the three-dimensional position information of the bounding box of the first virtual object, and the bounding box of the first virtual object Refers to the geometric body surrounding the first virtual object, and the first virtual object is any one of the multiple virtual objects. In this scenario, according to the laser scanning range of the laser detection device simulated on the vehicle and the three-dimensional model data of each virtual object in the multiple virtual objects, the realization of the point cloud data obtained by the laser detection device at the first position point is determined The method may be: according to the three-dimensional position information of the bounding box of the first virtual object, the orientation of the vehicle, and the first position point, determine from the laser scanning range the angular range of the laser beam emitted by the laser detection device covering the first virtual object; according to The three-dimensional model data of the first virtual object determines the intersection point of the first laser beam on the first virtual object, and uses the three-dimensional position information of the intersection point as the point cloud data corresponding to the first laser beam. The first laser beam is any angle range. A laser beam.
在本申请中,获取激光探测装置在第一位置点处的点云数据实质上就是确定各条激光光束在虚拟物体上的交点。因此,可以通过上述实现方式来确定激光探测装置在第一位置点处的点云数据。In this application, acquiring the point cloud data of the laser detection device at the first position point is essentially to determine the intersection of each laser beam on the virtual object. Therefore, the point cloud data of the laser detection device at the first position point can be determined through the foregoing implementation manner.
根据第一方面,在本申请的一种可能的实现方式中,根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点的实现方式可以为:在第一虚拟物体为近距离虚拟物体的情况下,根据第一虚拟物体的三维模型数据中各个表面点的三维位置信息,确定第一虚拟物体的多个第一面元,每个第一面元是指第一虚拟物体的各个表面点中的三个或三个以上的表面点形成的表面,近距离虚拟物体是指与第一位置点之间的距离在第二距离阈值之内的虚拟物体;确定多个第一面元中与第一激光光束相交的第一面元,将第一激光光束与相交的第一面元之间的交点作为第一激光光束在第一虚拟物体上的相交点。According to the first aspect, in a possible implementation manner of the present application, the implementation manner of determining the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object may be: When the object is a short-distance virtual object, according to the three-dimensional position information of each surface point in the three-dimensional model data of the first virtual object, a plurality of first facets of the first virtual object are determined, and each first facet refers to the first facet. A surface formed by three or more surface points among the various surface points of a virtual object. A short-distance virtual object refers to a virtual object whose distance from the first position point is within the second distance threshold; The first surface element that intersects the first laser beam among the first surface elements uses the intersection point between the first laser beam and the intersecting first surface element as the intersection point of the first laser beam on the first virtual object.
根据第一方面,在本申请的一种可能的实现方式中,根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点的实现方式可以为:在第一虚拟物体为远距离虚拟物体的情况下,根据第一虚拟物体的包围盒的三维位置信息,确定包围盒的多个第二面元,远距离虚拟物体是指与第一位置点之间的距离在第二距离阈值和第一距离阈值之间的虚拟物体,第一距离阈值大于第二距离阈值;确定多个第二面元中与第一激光光束相交的第二面元,将第一激光光束与相交的第二面元之间的交点作为第一激光光束在第一虚拟物体上的相交点。According to the first aspect, in a possible implementation manner of the present application, the implementation manner of determining the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object may be: When the object is a long-distance virtual object, according to the three-dimensional position information of the bounding box of the first virtual object, multiple second bins of the bounding box are determined. The long-distance virtual object refers to the distance between the first position and the The virtual object between the second distance threshold and the first distance threshold, the first distance threshold is greater than the second distance threshold; the second surface element that intersects the first laser beam among the plurality of second surface elements is determined, and the first laser beam The intersection point with the second intersecting surface element serves as the intersection point of the first laser beam on the first virtual object.
考虑到自动驾驶车辆在驾驶过程中,对于近处的物体需要明确其详细的三维结构,以避免出现交通事故。对于远处的物体只需了解大概的轮廓即可对当前的规划做出指导。因此,对于角度范围中的第一激光光束,在根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点的过程中,可以针对距离第一位置点远近不同的虚拟物体采用不同的处理方式来确定相交点。Taking into account that during the driving of an autonomous vehicle, it is necessary to clarify the detailed three-dimensional structure of nearby objects to avoid traffic accidents. For distant objects, you only need to know the approximate outline to guide the current planning. Therefore, for the first laser beam in the angular range, in the process of determining the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object, the distance from the first position point may be different. The virtual object uses different processing methods to determine the intersection point.
根据第一方面,在本申请的一种可能的实现方式中,根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点之前,如果在第一激光光束的投射方向上不存在遮挡第一虚拟物体的其他虚拟物体,则执行确定第一激光光束在第一虚拟物体上的相交点 的操作。According to the first aspect, in a possible implementation of the present application, before the intersection point of the first laser beam on the first virtual object is determined according to the three-dimensional model data of the first virtual object, if the first laser beam is projected If there is no other virtual object blocking the first virtual object in the direction, the operation of determining the intersection point of the first laser beam on the first virtual object is performed.
考虑到各个虚拟物体之间有遮挡情况,同一激光光束理论上可能投射到不同的虚拟物体上,但是实际上每条激光光束只能采集到一个点云数据。因此,在确定点云数据时,还可以考虑虚拟物体之间的遮挡情况,如此可以提高虚拟空间中获取的点云数据和真实世界中获取的点云数据之间的一致性。Taking into account the occlusion between virtual objects, the same laser beam may theoretically be projected on different virtual objects, but in fact, each laser beam can only collect one point cloud data. Therefore, when determining the point cloud data, the occlusion between virtual objects can also be considered, which can improve the consistency between the point cloud data acquired in the virtual space and the point cloud data acquired in the real world.
根据第一方面,在本申请的一种可能的实现方式中,在该方法中,如果在第一激光光束的投射方向上存在遮挡第一虚拟物体的其他虚拟物体,且其他虚拟物体为非严格遮挡型物体,则执行确定第一激光光束在第一虚拟物体上的相交点的操作,非严格遮挡型物体是指存在激光光束可穿的通孔的物体。相应地,确定第一激光光束在第一虚拟物体上的相交点之后,如果第一激光光束在其他虚拟物体上没有相交点,则将第一激光光束在第一虚拟物体上的相交点的三维位置信息作为第一激光光束对应的点云数据。According to the first aspect, in a possible implementation of the present application, in the method, if there are other virtual objects that block the first virtual object in the projection direction of the first laser beam, and the other virtual objects are non-strict For the obstructed object, the operation of determining the intersection point of the first laser beam on the first virtual object is performed, and the non-strictly obstructed object refers to an object with a through hole through which the laser beam can penetrate. Correspondingly, after determining the intersection point of the first laser beam on the first virtual object, if the first laser beam has no intersection point on other virtual objects, the three-dimensional intersection point of the first laser beam on the first virtual object The position information is used as the point cloud data corresponding to the first laser beam.
此外,在判断第一激光光束的投射方向是是否存在遮挡第一虚拟物体的其他虚拟物体的过程中,可以将其他虚拟物体作为不可透过激光光束这种简单模型进行处理的。但在真实世界中,譬如树木这种复杂模型的物体,由于树木中存在可以穿过激光光束的通孔,因此,即使该树木对应的包围盒遮挡了第一激光光束,但该激光光束仍然可能会投射到第一虚拟虚体上。此时,便可通过上述实现方式来确定点云数据,以提高虚拟空间中获取的点云数据和真实世界中获取的点云数据之间的一致性。In addition, in the process of determining whether there are other virtual objects that block the first virtual object in the projection direction of the first laser beam, the other virtual objects can be treated as a simple model of impermeable laser beam. However, in the real world, for objects with complex models such as trees, there are through holes in the trees that can pass through the laser beam. Therefore, even if the bounding box corresponding to the tree blocks the first laser beam, the laser beam may still be Will be projected onto the first virtual infinite body. At this time, the point cloud data can be determined through the foregoing implementation method, so as to improve the consistency between the point cloud data obtained in the virtual space and the point cloud data obtained in the real world.
根据第一方面,在本申请的一种可能的实现方式中,根据各个道路节点的虚拟物体信息,确定分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据的实现方式可以为:将第一扫描路段以第一位置点为中心划分为多个扇形区域,得到每个扇形区域的边界信息;将多个扇形区域按照激光探测装置的扫描方向顺序排列;对于排列后的第一个扇形区域,根据第一个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于第一个扇形区域的虚拟物体的三维模型数据;对于排列后的第i个扇形区域,基于激光探测装置的扫描速度和车辆的移动速度,确定激光探测装置从第一个扇形区域扫描到第i个扇形区域的过程中车辆的移动位移,i为大于或等于2、且小于或等于划分的扇形区域的个数的正整数;根据移动位移,更新第i个扇形区域的边界信息;根据更新后的第i个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于第一个扇形区域的虚拟物体的三维模型数据。According to the first aspect, in a possible implementation manner of the present application, according to the virtual object information of each road node, the implementation manner of determining the three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning road section It can be: divide the first scanning road section into multiple fan-shaped areas centered on the first position point, and obtain the boundary information of each fan-shaped area; arrange the multiple fan-shaped areas in order according to the scanning direction of the laser detection device; The first fan-shaped area, according to the boundary information of the first fan-shaped area, obtain the three-dimensional model data of the virtual object located in the first fan-shaped area from the virtual object position information of each road node; for the i-th fan-shaped area after arrangement , Based on the scanning speed of the laser detection device and the moving speed of the vehicle, determine the movement displacement of the vehicle during the scanning of the laser detection device from the first sector area to the i-th sector area, i is greater than or equal to 2, and less than or equal to The positive integer of the number of divided sector areas; according to the movement displacement, update the boundary information of the i-th sector area; according to the updated boundary information of the i-th sector area, obtain the location information from the virtual object position information of each road node The three-dimensional model data of the virtual object in the first sector area.
随着激光雷达的扫描,车辆是在向前移动的。如果在激光雷达水平方向扫描一周的过程中车辆的移动位移比较大,这种情况下,为了提高仿真测试过程中激光雷达获取的点云数据与真实世界中获取的点云数据之间的一致性,可以采用分区域的方式确定分布在第一扫描路段及其两侧的多个虚拟物体中每个虚拟物体的三维模型数据。As the lidar scans, the vehicle is moving forward. If the movement displacement of the vehicle is relatively large during the horizontal scanning of the lidar, in this case, in order to improve the consistency between the point cloud data obtained by the lidar during the simulation test and the point cloud data obtained in the real world , The three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section and its two sides can be determined in a sub-regional manner.
根据第一方面,在本申请的一种可能的实现方式中,激光探测装置在第一位置点处获取的点云数据包括激光探测装置发射的每条激光光束对应的点云数据。此时,确定激光探测装置在第一位置点处获取的点云数据之后,缓存每条激光光束对应的点云数据;在车辆处于虚拟空间中的第二位置点的情况下,根据第二位置点和道路拓扑模型确定第二扫描路段;确定分布在第二扫描路段的多个虚拟物体;如果分布在第一扫描路段的多个虚拟物体与分布在第二扫描路段的多个虚拟物体中存在同一虚拟物体、且同一虚拟物体与车辆之间的相对距离在第一位置点和第二位置点时没有变化,则将缓存中投射到同一虚拟物体上的激光光束对应的点云数据作为相应激光光束在第二位置点处对应的点云数据。According to the first aspect, in a possible implementation of the present application, the point cloud data acquired by the laser detection device at the first position point includes point cloud data corresponding to each laser beam emitted by the laser detection device. At this time, after determining the point cloud data obtained by the laser detection device at the first position point, the point cloud data corresponding to each laser beam is cached; when the vehicle is at the second position point in the virtual space, according to the second position Point and road topology model determine the second scan section; determine multiple virtual objects distributed on the second scan section; if there are multiple virtual objects distributed on the first scan section and multiple virtual objects distributed on the second scan section The same virtual object, and the relative distance between the same virtual object and the vehicle does not change between the first position point and the second position point, the point cloud data corresponding to the laser beam projected on the same virtual object in the buffer is used as the corresponding laser Point cloud data corresponding to the light beam at the second position point.
在仿真测试中,随着车辆在虚拟空间中的移动,需要及时更新各个位置点点处的点云数据。而在车辆移动过程中,车辆周围可能存在部分物体和车辆之间的相对位置没有发生变化,这种情况下,针对这部分虚拟物体,就没必要再次确定点云数据。因此,在本申请中,可以根据车辆与周围虚拟物体之间的相对状态来减少确定点云数据所需的计算量。In the simulation test, as the vehicle moves in the virtual space, it is necessary to update the point cloud data at each location in time. In the process of vehicle movement, there may be some objects around the vehicle and the relative position between the vehicle has not changed. In this case, for these virtual objects, there is no need to determine the point cloud data again. Therefore, in this application, the amount of calculation required to determine the point cloud data can be reduced according to the relative state between the vehicle and the surrounding virtual objects.
第二方面,提供了一种获取点云数据的装置,该装置具有实现上述第一方面中获取点云数据的方法行为的功能。该装置包括至少一个模块,该至少一个模块用于实现上述第一方面所提供的获取点云数据的方法。In a second aspect, a device for acquiring point cloud data is provided, and the device has the function of realizing the method and behavior of acquiring point cloud data in the above-mentioned first aspect. The device includes at least one module, and the at least one module is used to implement the method for obtaining point cloud data provided in the above-mentioned first aspect.
第三方面,提供了一种计算机设备,该计算设备包括存储器和处理器,所述存储器用于存储计算机指令,所述处理器用于读取所述计算机指令以执行上述第一方面所述的获取点云数据的方法。In a third aspect, a computer device is provided. The computing device includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to read the computer instructions to execute the acquisition described in the first aspect. Point cloud data method.
第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面所述的获取点云数据的方法。In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions that, when run on a computer, cause the computer to execute the method for obtaining point cloud data as described in the first aspect. .
第五方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的获取点云数据的方法。In a fifth aspect, a computer program product containing instructions is provided, which when running on a computer, causes the computer to execute the method for obtaining point cloud data as described in the first aspect.
上述第二方面、第三方面、第四方面和第五方面所获得的技术效果与第一方面中对应的技术手段获得的技术效果近似,在这里不再赘述。The technical effects obtained by the above second, third, fourth and fifth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and will not be repeated here.
图1是本申请实施例提供的一种激光雷达发射的激光光束的示意图;Fig. 1 is a schematic diagram of a laser beam emitted by a lidar provided by an embodiment of the present application;
图2是本申请实施例提供的另一种激光雷达发射的激光光束的示意图;2 is a schematic diagram of another laser beam emitted by a lidar provided by an embodiment of the present application;
图3是本申请实施例提供的另一种激光雷达发射的激光光束的示意图;FIG. 3 is a schematic diagram of another laser beam emitted by a lidar provided by an embodiment of the present application;
图4是本申请实施例提供的一种模拟激光光束与三角形面元相交的示意图;FIG. 4 is a schematic diagram of a simulated laser beam intersecting a triangular surface element provided by an embodiment of the present application;
图5是本申请实施例提供的一种仿真系统的架构示意图;FIG. 5 is a schematic diagram of the architecture of a simulation system provided by an embodiment of the present application;
图6是本申请实施例提供的一种获取点云数据的方法流程图;Fig. 6 is a flowchart of a method for obtaining point cloud data provided by an embodiment of the present application;
图7是本申请实施例提供的一种道路拓扑模型示意图;FIG. 7 is a schematic diagram of a road topology model provided by an embodiment of the present application;
图8是本申请实施例提供的一种虚拟物体的包围盒的示意图;FIG. 8 is a schematic diagram of a bounding box of a virtual object provided by an embodiment of the present application;
图9是本申请实施例提供的一种高层建筑物示意图;FIG. 9 is a schematic diagram of a high-rise building provided by an embodiment of the present application;
图10是本申请实施例提供的一种道路节点示意图;FIG. 10 is a schematic diagram of a road node provided by an embodiment of the present application;
图11是本申请实施例提供的一种划分扇形区域的示意图;FIG. 11 is a schematic diagram of dividing a sector area according to an embodiment of the present application;
图12是本申请实施例提供的一种确定角度范围的示意图;FIG. 12 is a schematic diagram of determining an angle range provided by an embodiment of the present application;
图13是本申请实施例提供的一种自动驾驶车辆前方目标车辆的示意图;FIG. 13 is a schematic diagram of a target vehicle in front of an autonomous driving vehicle provided by an embodiment of the present application;
图14是本申请实施例提供的一种激光光束的投射示意图;FIG. 14 is a schematic diagram of projection of a laser beam provided by an embodiment of the present application;
图15是本申请实施例提供的一种获取点云数据的装置示意图;FIG. 15 is a schematic diagram of a device for obtaining point cloud data provided by an embodiment of the present application;
图16是本申请实施例提供的一种计算机设备的结构示意图。FIG. 16 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solutions, and advantages of the present application clearer, the implementation manners of the present application will be described in further detail below in conjunction with the accompanying drawings.
在对本申请实施例进行详细解释说明之前,先对本申请实施例的应用场景进行解释说明。Before explaining the embodiments of the present application in detail, the application scenarios of the embodiments of the present application are first explained.
随着社会对驾驶的智能性、经济性、安全性等各方面需求的提升,自动驾驶技术成为汽车工业的重点发展方向之一,并且越来越受到主机厂、互联网公司的重视。其中,自动驾驶车辆(英文可以为:autonomous vehicles或者self-piloting automobile),又称无人驾驶汽车、电脑驾驶汽车、或轮式移动机器人,是一种通过电脑系统实现无人驾驶的智能汽车。自动驾驶车辆在20世纪已有数十年的历史,21世纪初呈现出接近实用化的趋势。As the society's demand for driving intelligence, economy, safety and other aspects increases, autonomous driving technology has become one of the key development directions of the automotive industry, and it has received more and more attention from OEMs and Internet companies. Among them, autonomous vehicles (in English may be autonomous vehicles or self-piloting automobiles), also known as unmanned vehicles, computer-driven vehicles, or wheeled mobile robots, are intelligent vehicles that realize unmanned driving through a computer system. Self-driving vehicles have a history of decades in the 20th century. At the beginning of the 21st century, they were approaching practicality.
在自动驾驶车辆的架构中,传感层被比作为自动驾驶车辆的“眼睛”。传感层包括车载摄像头等视觉系传感器和车载毫米波雷达、车载激光雷达和车载超声波雷达等雷达系传感器。其中激光雷达已经被认为是实现自动驾驶的必要基础。此外,搭载了激光雷达的自动驾驶车辆、或者仿真中搭载了仿真激光雷达模型的仿真车辆,还可以称为自车。In the architecture of autonomous vehicles, the sensing layer is compared to the “eyes” of autonomous vehicles. The sensing layer includes vision sensors such as vehicle cameras and radar sensors such as vehicle millimeter wave radar, vehicle laser radar, and vehicle ultrasonic radar. Among them, lidar has been considered as a necessary foundation for realizing autonomous driving. In addition, an autonomous vehicle equipped with a lidar or a simulated vehicle equipped with a simulated lidar model in a simulation can also be called a self-driving vehicle.
为了后续便于说明,在此对激光雷达的工作原理进行解释说明。In order to facilitate the subsequent description, the working principle of the lidar is explained here.
激光雷达是一种集激光、GPS全球定位和惯性测量装置为一体的系统。激光雷达可以获得数据并生成精确的数字模型。这三种技术的结合,可以高度准确地定位激光光束打出的位置之所在。相较其他探测产品,激光雷达可将精准、快速与高效的优势充分进行发挥。激光雷达最大的特点在于可以生成三维的位置信息,甚至快速能够确定物体的位置、大小、外部形貌甚至材质,如此便可生成精确的数字模型。Lidar is a system that integrates laser, GPS global positioning and inertial measurement devices. Lidar can obtain data and generate accurate digital models. The combination of these three technologies can accurately locate the position where the laser beam strikes. Compared with other detection products, lidar can give full play to the advantages of precision, speed and efficiency. The biggest feature of lidar is that it can generate three-dimensional position information, and even quickly determine the position, size, external shape and even material of an object, so that an accurate digital model can be generated.
激光雷达是通过发射激光光束探测目标位置、速度等特征的雷达系统。激光雷达在短时间内向周围环境发射大量激光光束,通过测量反射回来激光光束的飞行时间,计算与周围物体的距离。激光雷达可以在瞬间构建周围环境的3D地图,具有测量精度高、方向性好等优点。Lidar is a radar system that detects characteristics such as the position and speed of a target by emitting a laser beam. Lidar emits a large number of laser beams to the surrounding environment in a short time, and calculates the distance to surrounding objects by measuring the flight time of the reflected laser beam. Lidar can construct a 3D map of the surrounding environment in an instant, and has the advantages of high measurement accuracy and good directionality.
激光雷达在工作时不断地向周围环境发射激光光束,通过测量发射回来的激光光束的传输时间,计算车辆与激光光束投射的位置点的距离,进而快速创建周围环境的点云数据。简单的说,激光雷达就是快速创建周围环境的各个位置点的点云数据的设备。点云数据包括激光光束投射到的位置点的三维坐标(XYZ)和激光反射强度(Intensity)。激光反射强度与相应位置点的表面材质、粗糙度、入射角方向、仪器的发射能量、以及激光光束的波长有关。Lidar continuously emits laser beams to the surrounding environment when it is working, and calculates the distance between the vehicle and the point where the laser beam is projected by measuring the transmission time of the emitted laser beam, and then quickly creates point cloud data of the surrounding environment. Simply put, Lidar is a device that quickly creates point cloud data of various points in the surrounding environment. The point cloud data includes the three-dimensional coordinates (XYZ) and the laser reflection intensity (Intensity) of the point where the laser beam is projected. The intensity of laser reflection is related to the surface material, roughness, incident angle direction of the corresponding position, the emission energy of the instrument, and the wavelength of the laser beam.
激光雷达每秒钟可以创建高达150万个点云数据,这种快速创建点云数据的能力,让激光雷达在自动驾驶等领域有了用武之地。比如,在自动驾驶中,点云数据作为激光雷达的输出数据,可以给自动驾驶车辆提供周围环境信息,作为自动驾驶过程中感知、规划、决策、信息融合等算法的开发和检验。此外,点云数据也可以作为这些算法的训练数据。Lidar can create up to 1.5 million point cloud data per second. This ability to quickly create point cloud data makes Lidar useful in areas such as autonomous driving. For example, in autonomous driving, point cloud data is used as the output data of lidar, which can provide surrounding environment information to autonomous vehicles, and serve as the development and inspection of algorithms for perception, planning, decision-making, and information fusion in the process of autonomous driving. In addition, point cloud data can also be used as training data for these algorithms.
图1是本申请实施例提供的一种激光雷达发射的激光光束的示意图。图1中每个同心圆对应一组激光器水平方向扫描一周后得到的点云数据,每个同心圆还可以称为点云同心圆。对于两组相邻的激光器而言,其垂直间隔角是恒定的。因此相邻两组激光器的距离越远,相邻激光器扫描的得到的点云同心圆间隔越大。Fig. 1 is a schematic diagram of a laser beam emitted by a lidar provided by an embodiment of the present application. Each concentric circle in Figure 1 corresponds to the point cloud data obtained after a group of laser scanning in the horizontal direction. Each concentric circle can also be called a point cloud concentric circle. For two groups of adjacent lasers, the vertical separation angle is constant. Therefore, the farther the distance between the adjacent two groups of lasers is, the greater the distance between the concentric circles of the point cloud scanned by the adjacent lasers.
图1中的部分点云数据所指示的位置信息形成同心圆的形状,那是因为在自动驾驶车辆周围没有障碍物,激光光束打在地面形成的一组同心圆,具体原理如图2所示。如果自动驾 驶车辆周围存在障碍物,点云数据对应的形状就是障碍物的形状,如图1中自动驾驶车辆周围建筑物上的点云数据。The position information indicated by the part of the point cloud data in Figure 1 forms a concentric circle shape. That is because there are no obstacles around the autonomous vehicle. The laser beam hits the ground to form a group of concentric circles. The specific principle is shown in Figure 2. . If there are obstacles around the autonomous vehicle, the corresponding shape of the point cloud data is the shape of the obstacle, as shown in Figure 1 for the point cloud data on the buildings surrounding the autonomous vehicle.
下面对激光雷达工作过程中涉及的几个参数进行解释说明。The following explains several parameters involved in the working process of lidar.
方位角:激光雷达工作时的激光光束的扫描范围称为激光雷达的方位角(field of view,FOV)。该方位角包括水平方位角和垂直方位角。水平方位角是指的是激光雷达在水平方向的扫描角度。垂直方位角是指激光雷达在垂直方向上的扫描角度。Azimuth angle: The scanning range of the laser beam when the lidar is working is called the azimuth angle (field of view, FOV) of the lidar. The azimuth angle includes the horizontal azimuth angle and the vertical azimuth angle. The horizontal azimuth angle refers to the scanning angle of the lidar in the horizontal direction. The vertical azimuth angle refers to the scanning angle of the lidar in the vertical direction.
目前大部分激光雷达系统采用旋转镜头,如图2所示,激光雷达的主体部分固定在旋转马达的基座上,工作时不断旋转,即可对周围360°进行扫描。也就是说这些激光雷达的水平方位角为360°。At present, most lidar systems use rotating lenses. As shown in Figure 2, the main part of the lidar is fixed on the base of the rotating motor, and it rotates continuously during work to scan the surrounding 360°. In other words, the horizontal azimuth of these lidars is 360°.
垂直方位角指的是激光雷达垂直方向的扫描角度,一般在40°以内。如图3所示,为某种激光雷达激光扫描线示意图,其垂直方位角为-16°~7°。The vertical azimuth angle refers to the scanning angle of the lidar in the vertical direction, generally within 40°. As shown in Figure 3, it is a schematic diagram of a certain laser radar laser scanning line, and its vertical azimuth angle is -16°~7°.
数据更新频率:由于激光雷达工作时是不断圆周式扫描的,并且在激光雷达扫描过程中,自动驾驶车辆又是移动的。因此,激光雷达在同一方位发射的激光光束在激光雷达每扫描一圈时,该激光光束的点云数据是更新的。比如,激光雷达的扫描频率是10Hz,即激光雷达每秒转10圈,因此,同一方位发射的激光光束的点云数据将每秒更新10次。Data update frequency: Because the lidar is constantly scanning in a circle when it is working, and during the lidar scanning process, the self-driving vehicle is moving. Therefore, the point cloud data of the laser beam emitted by the laser radar in the same azimuth is updated every time the laser radar scans one circle. For example, the scanning frequency of the lidar is 10 Hz, that is, the lidar rotates 10 times per second. Therefore, the point cloud data of the laser beam emitted from the same direction will be updated 10 times per second.
角度分辨率:激光雷达的角度分辨率分为水平角度分辨率和垂直角度分辨率。水平角度分辨率是指水平方向上扫描线间的最小间隔度数。它是随扫描频率的变化而变化,该扫描频率也即是激光雷达的转速,转速越快,则水平方向上扫描线的间隔越大,水平角分辨率越大。垂直角度分辨率指的是垂直方向上两条扫描线的间隔度数。如图3所示,激光雷达的垂直角度分辨率在1~5线间为1°,在6~30线为0.33°,31~40线为1°。Angular resolution: The angular resolution of lidar is divided into horizontal angular resolution and vertical angular resolution. The horizontal angular resolution refers to the minimum degree of separation between scan lines in the horizontal direction. It changes with the change of the scanning frequency, which is also the rotation speed of the lidar. The faster the rotation speed, the greater the spacing of the scanning lines in the horizontal direction and the greater the horizontal angular resolution. The vertical angular resolution refers to the degree of separation between two scan lines in the vertical direction. As shown in Fig. 3, the vertical angular resolution of the lidar is 1° between the 1-5 lines, 0.33° between the 6-30 lines, and 1° between the 31-40 lines.
测距范围:在自动驾驶领域应用的激光雷达的测距范围普遍在100~200m左右。Ranging range: The ranging range of lidar used in the field of autonomous driving is generally about 100-200m.
数据速率:激光雷达每秒钟生成的点云数据数量的单位为points/sec。其中,每秒生成的点云数据的数量还可以称为数据速率(Data Rate)或点云量度量(Measurement Points)。例如:扫描频率为20Hz的激光雷达,水平角分辨率是0.45°(每一圈每束激光扫描800次)。因此每秒钟生成的点云数据的数量为:40×20×800=640,000points/sec。Data rate: The unit of the number of point cloud data generated by lidar per second is points/sec. Among them, the number of point cloud data generated per second may also be referred to as data rate (Data Rate) or point cloud measurement (Measurement Points). For example: a laser radar with a scanning frequency of 20 Hz, the horizontal angular resolution is 0.45° (800 scans per laser per circle). Therefore, the number of point cloud data generated per second is: 40×20×800=640,000 points/sec.
此外,激光雷达扫描到的大量点云数据是以用户数据报协议(user datagram protocol,UDP)数据包的格式发送给其他需要使用点云数据的设备的。以禾赛Pandar40P(一种类型的激光雷达)为例,Pandar40P发送的UDP数据包共1304字节(byte),包含42字节的头(Header)、1262字节的数据块区间。所有的多字节值均为小端字节序(Little Endian),并且为无符号整形。小端字节序是指低位字节在前,高位字节在后的一种数据存储方式,在此不再详细说明。In addition, a large amount of point cloud data scanned by lidar is sent to other devices that need to use point cloud data in the format of user datagram protocol (UDP) data packets. Take Hesai Pandar40P (a type of lidar) as an example. The UDP data packet sent by Pandar40P is 1304 bytes in total, including a header of 42 bytes and a data block interval of 1262 bytes. All multi-byte values are in Little Endian and are unsigned integers. Little-endian byte order refers to a data storage method in which the low-order byte is first and the high-order byte is last, and will not be described in detail here.
其中,一个UDP数据包中的数据块区间中包括10个数据块(data block),每个数据块的长度为124字节,代表一组完整的点云数据。数据块中124字节的空间包括:2字节的标志位,2字节的水平旋转角度信息,40组激光光束信息,每一组激光光束信息包含2字节的距离信息和1字节的强度信息。此外,数据块区间还包括22字节的附加信息,该附加信息包含传感器温度状态信息、电机转速信息,时戳信息(时戳信息用于指示数据块的当前打包时间,单位为微秒)等数据。Among them, the data block interval in a UDP data packet includes 10 data blocks, and each data block has a length of 124 bytes, which represents a complete set of point cloud data. The 124-byte space in the data block includes: 2 bytes of flag bits, 2 bytes of horizontal rotation angle information, 40 groups of laser beam information, each group of laser beam information contains 2 bytes of distance information and 1 byte of information Strength information. In addition, the data block interval also includes 22 bytes of additional information, which includes sensor temperature status information, motor speed information, time stamp information (time stamp information is used to indicate the current packing time of the data block, in microseconds), etc. data.
上述内容用于对激光雷达的工作原理进行解释说明。目前,为了保证自动驾驶车辆的安全性,在使用自动驾驶车辆之前,可以先对自动驾驶车辆进行测试。The above content is used to explain the working principle of lidar. At present, in order to ensure the safety of self-driving vehicles, it is possible to test the self-driving vehicles before using them.
目前,业界通过大量的道路测试,来覆盖尽可能多的实际驾驶环境和交通状况。然而根 据统计学计算,单纯基于这种方法,被测的自动驾驶车辆需要通过数十亿公里的测试验证,才能达到一定的验证度。显然,通过在真实世界中的道路测试,要完成这个公里数量级的测试是十分困难且费时费力的。同时真实道路测试还存在高危险、低出现率的问题。At present, the industry has passed a large number of road tests to cover as many actual driving environments and traffic conditions as possible. However, according to statistical calculations, based solely on this method, the autonomous vehicle under test needs to pass billions of kilometers of test verification to achieve a certain degree of verification. Obviously, it is very difficult, time-consuming and laborious to complete a test on the order of a kilometer through a road test in the real world. At the same time, the real road test also has the problem of high risk and low occurrence rate.
因此,在汽车工业发达的国家,主机企业、一级供应商及设备供应商多先采用仿真测试方法来验证自动驾驶车辆的功能。通过采用仿真软件,基于真实交通环境,在仿真软件中生成或者复现一个虚拟空间,测试自动驾驶车辆能否正确地识别虚拟空间中的周边环境、并做出及时准确的反应和采取恰当的驾驶行为。业内已经达成共识,只有将仿真测试与实际路试相结合,才能得到全面、系统和有效的验证结果。因此,对自动驾驶车辆进行仿真测试越来越重要。Therefore, in countries where the automobile industry is developed, host companies, first-tier suppliers, and equipment suppliers often use simulation test methods to verify the functions of autonomous vehicles. Through the use of simulation software, based on the real traffic environment, a virtual space is generated or reproduced in the simulation software to test whether the autonomous vehicle can correctly recognize the surrounding environment in the virtual space, and make timely and accurate responses and take appropriate driving behavior. The industry has reached a consensus that only by combining simulation tests with actual road tests can comprehensive, systematic and effective verification results be obtained. Therefore, it is more and more important to conduct simulation tests on autonomous vehicles.
对自动驾驶车辆的仿真测试,主要是通过在仿真系统中,仿真出自动驾驶车辆上的探测装置输出的点云数据,将点云数据传递给自动驾驶车辆,观测自动驾驶车辆的响应是否正确。因为激光雷达是自动驾驶的基础探测装置,所以对自动驾驶车辆的仿真测试,可以是指确定激光雷达在虚拟空间中的点云数据。The simulation test of the autonomous vehicle is mainly through the simulation system, the point cloud data output by the detection device on the autonomous vehicle is simulated, and the point cloud data is transmitted to the autonomous vehicle to observe whether the response of the autonomous vehicle is correct. Because lidar is the basic detection device for autonomous driving, simulation testing of autonomous vehicles can refer to determining the point cloud data of lidar in virtual space.
在真实世界中,激光雷达通过激光光束探测周围的真实物体,以获取周围的真实物体的空间信息。而在仿真测试中,所有的环境都是虚拟的,包括虚拟的车辆,虚拟的交通情况,虚拟的道路、建筑等静态物体。因此,仿真测试中,需要激光雷达探测虚拟的环境,输出点云数据。In the real world, lidar uses laser beams to detect surrounding real objects to obtain spatial information of surrounding real objects. In the simulation test, all environments are virtual, including virtual vehicles, virtual traffic conditions, virtual roads, buildings and other static objects. Therefore, in the simulation test, the lidar is required to detect the virtual environment and output point cloud data.
在虚拟空间中,所有的物体都是由三维模型来表示。三维模型是计算机图形学的输入数据。它不仅描述了真实世界中物体的具体几何形状,还记录了物体表面的材质、颜色、纹理等表面信息。In the virtual space, all objects are represented by three-dimensional models. The three-dimensional model is the input data of computer graphics. It not only describes the specific geometric shape of the object in the real world, but also records the surface information such as the material, color, and texture of the surface of the object.
三维模型是通过点、线、面等几何元素及其之间的拓扑关系来描述物体的表面几何形状。通过在组成物体表面的各个面元上附加材质、颜色和纹理等信息来描述物体的表面属性。目前工业界标准的三维渲染引擎开放图形库(open graphics library,openGL)就是使用基于边界表示的三维模型来描述三维物体。The three-dimensional model describes the surface geometry of an object through geometric elements such as points, lines, and surfaces and the topological relationships between them. The surface properties of the object are described by adding information such as material, color, and texture to the various bins that make up the surface of the object. The current industry standard 3D rendering engine Open Graphics Library (open graphics library, openGL) uses a 3D model based on boundary representation to describe 3D objects.
三维模型是以多边形的方式来表达物体的表面。对于多边形的顶点或多边形自身,会有相应的颜色、法向量、纹理来描述物体表面除形状以外的其它属性。具体而言,一个三维模型由两部分组成:几何结构和表面属性。为了描述方便,可以记三维模型为:The three-dimensional model expresses the surface of the object in the form of polygons. For the vertices of the polygon or the polygon itself, there will be corresponding colors, normal vectors, and textures to describe other attributes of the surface of the object besides the shape. Specifically, a three-dimensional model consists of two parts: geometric structure and surface properties. For the convenience of description, the three-dimensional model can be remembered as:
Model={GS,A}Model={GS,A}
Model用于指示三维模型,Gs用于指示三维模型几何结构的数据集合,A用于指示三维模型表面属性的数据集合。本申请实施例不涉及表面属性,所以在此对A不做详细介绍。Model is used to indicate the three-dimensional model, Gs is used to indicate the data set of the geometric structure of the three-dimensional model, and A is used to indicate the data set of the surface properties of the three-dimensional model. The embodiments of this application do not involve surface properties, so A is not described in detail here.
GS是由点、线、多边形以及它们之间的拓扑关系来表示的。因此,上述Gs可以表示为:GS is represented by points, lines, polygons and the topological relationship between them. Therefore, the above Gs can be expressed as:
GS={V,Tri}GS={V,Tri}
V用于指示三维模型中所有点的集合,V可以表示如下:V is used to indicate the collection of all points in the three-dimensional model. V can be expressed as follows:
V={Vi(xi,yi,zi)|i=1,...,N}V={Vi(xi,yi,zi)|i=1,...,N}
其中,N为三维模型中点的个数。在GS中,三维模型的表面是由以V中三维点为顶点的多边形集合来表示的。也即对于三维模型中的表面,将其分解为若干个多边形。用这些多边形来表达模型的表面(表面也可以称为面元)。由于在三维模型中,多边形的顶点全部来自顶点集合V,因而一个有k个顶点的多边形,是由V中的k个顶点按逆时针方式排列来表示的。由于集合V中已经包含了顶点的坐标,因此在表示多边形时,只指定其顶点在V中的索 引号即可。理论上,用来表达表面的多边形的顶点个数可以是任意。但在实际中,当顶点数多于3个时,会出现凹多边形,而openGL对凹多边形的渲染不稳定。另外,由于顶点坐标的误差,当多边形顶点个数多于3个时,有可能多边形的顶点不在同一个平面内,这会造成多边形无法显示。因而在实际使用时,虽然渲染引擎提供了对任意多边形的支持,但考虑稳定性和效率,可以只使用三角形的集合来表达三维模型的表面。比如,三维模型中,所有三角形的集合为Tri,该集合可以表示如下:Among them, N is the number of points in the three-dimensional model. In GS, the surface of a three-dimensional model is represented by a polygon set with three-dimensional points in V as vertices. That is, for the surface in the three-dimensional model, it is decomposed into several polygons. Use these polygons to express the surface of the model (the surface can also be called a facet). Since in the three-dimensional model, the vertices of the polygon all come from the vertex set V, a polygon with k vertices is represented by the k vertices in V arranged in a counterclockwise manner. Since the coordinates of the vertices are already included in the set V, when representing a polygon, only the index of the vertices in V can be specified. Theoretically, the number of vertices of the polygon used to express the surface can be arbitrary. But in practice, when the number of vertices is more than 3, concave polygons will appear, and openGL's rendering of concave polygons is unstable. In addition, due to the error of the vertex coordinates, when the number of vertices of the polygon is more than 3, it is possible that the vertices of the polygon are not in the same plane, which will cause the polygon to not be displayed. Therefore, in actual use, although the rendering engine provides support for arbitrary polygons, considering stability and efficiency, only a set of triangles can be used to express the surface of a three-dimensional model. For example, in a three-dimensional model, the set of all triangles is Tri, which can be expressed as follows:
Tri={tri(ai,bi,ci)|V
ai,V
bi,V
ci∈V,i=1,...,M}
Tri={tri(ai,bi,ci)|V ai ,V bi ,V ci ∈V,i=1,...,M}
ai bi ci为Tri中第i个三角形三个按逆时针顺序排列的顶点在顶点集合V中的索引。V和Tri在一起完整的表达了三维模型表面的几何结构。ai bi ci is the index in the vertex set V of the three vertices of the i-th triangle arranged in counterclockwise order in Tri. Together, V and Tri fully express the geometric structure of the 3D model surface.
在仿真测试中,点云数据的计算是通过计算模拟的激光光束与三维模型中的三角形面元的交点来得到。图4是本申请实施例中提供的一种模拟激光光束与三角形面元相交的示意图。如图4所示,带箭头线为模拟的激光光束,V1至V8为模拟的物体的三维模型中的8个顶点。该激光光束与三维模型的面元V
1V
2V
5和面元V
2V
3V
6有交点。由于面元V
1V
2V
5上的交点距离激光光束原点的距离小于面元V
2V
3V
6上的交点距该原点的距离,所以V
1V
2V
5上的交点即该射线所模拟的激光光束在该三维模型对应的物体上的所照射的位置点,该交点的三维位置信息即为该射线所模拟的激光光束投射到该物体时扫描的点云数据。因此,在仿真空间中模拟激光雷达输出点云数据,也即是确定所有激光光束与周围虚拟虚体的交点信息。
In the simulation test, the calculation of the point cloud data is obtained by calculating the intersection of the simulated laser beam and the triangular facet in the three-dimensional model. FIG. 4 is a schematic diagram of a simulated laser beam intersecting with a triangular surface element provided in an embodiment of the present application. As shown in Fig. 4, the arrowed line is the simulated laser beam, and V1 to V8 are the 8 vertices in the three-dimensional model of the simulated object. The laser beam has an intersection with the facets V 1 V 2 V 5 and V 2 V 3 V 6 of the three-dimensional model. Since the distance between the intersection point on the face element V 1 V 2 V 5 and the origin of the laser beam is less than the distance between the intersection point on the face element V 2 V 3 V 6 and the origin, the intersection point on the face element V 1 V 2 V 5 is the location of the ray. The irradiated position point of the simulated laser beam on the object corresponding to the three-dimensional model, and the three-dimensional position information of the intersection point is the point cloud data scanned when the laser beam simulated by the ray is projected on the object. Therefore, simulating the laser radar output point cloud data in the simulation space is to determine the intersection information of all laser beams and the surrounding virtual virtual bodies.
本申请实施例提供了一种获取点云数据的方法,该方法可以获取激光雷达在虚拟空间中的点云数据。该点云数据可以用于自动驾驶系统的验证、感知、规划、决策、信息融合等算法的开发和检验。The embodiment of the present application provides a method for obtaining point cloud data, which can obtain the point cloud data of the lidar in a virtual space. The point cloud data can be used for the development and inspection of algorithms such as verification, perception, planning, decision-making, and information fusion of autonomous driving systems.
图5是本申请实施例提供的一种仿真系统的架构示意图。如图5所示,该仿真系统500包括仿真平台501和自动驾驶平台502。仿真平台501和自动驾驶平台502之间可以通过有线或无线方式连接以进行通信。FIG. 5 is a schematic diagram of the architecture of a simulation system provided by an embodiment of the present application. As shown in FIG. 5, the simulation system 500 includes a simulation platform 501 and an autonomous driving platform 502. The simulation platform 501 and the autonomous driving platform 502 may be connected in a wired or wireless manner for communication.
仿真平台501可以运行在计算机上,用于通过本申请实施例提供的方法获取点云数据,并将点云数据通过网络方式发送到至自动驾驶平台502。由自动驾驶平台502根据点云数据控制自动驾驶车辆做出响应,以测试自动驾驶车辆的性能。其中,自动驾驶平台可以运行在自动驾驶车辆上。The simulation platform 501 may run on a computer, and is used to obtain point cloud data through the method provided in the embodiments of the present application, and send the point cloud data to the automatic driving platform 502 through a network. The autonomous driving platform 502 controls the autonomous vehicle to respond according to the point cloud data to test the performance of the autonomous vehicle. Among them, the self-driving platform can run on self-driving vehicles.
此外,在仿真平台501和自动驾驶平台502之间没有进行通信的情况下,仿真平台501获取到点云数据之后,还可以通过存储介质的方式将点云数据传输至自动驾驶平台502,在此不再详细说明。In addition, when there is no communication between the simulation platform 501 and the autonomous driving platform 502, after the simulation platform 501 obtains the point cloud data, it can also transmit the point cloud data to the autonomous driving platform 502 through a storage medium. No more detailed description.
此外,如图5所示,该仿真系统500还可以包括算法平台503,该算法平台503可以基于仿真平台501得到的点云数据进行其他算法的处理等,在此同样不再详细说明。In addition, as shown in FIG. 5, the simulation system 500 may also include an algorithm platform 503, which can perform other algorithm processing based on the point cloud data obtained by the simulation platform 501, which is also not described in detail here.
接下来对本申请实施例提供的获取点云数据的方法进行详细解释说明。图6是本申请实施例提供的一种获取点云数据的方法流程图,该方法可以应用于图5中的仿真平台。如图6所示,该方法包括如下步骤:Next, the method for obtaining point cloud data provided by the embodiments of the present application will be explained in detail. FIG. 6 is a flowchart of a method for obtaining point cloud data provided by an embodiment of the present application, and the method may be applied to the simulation platform in FIG. 5. As shown in Figure 6, the method includes the following steps:
步骤601:在车辆处于虚拟空间中第一位置点的情况下,根据第一位置点和道路拓扑模型确定第一扫描路段,该道路拓扑模型用于指示该虚拟空间中的道路拓扑。Step 601: In the case that the vehicle is at the first position point in the virtual space, determine the first scanning road segment according to the first position point and the road topology model, where the road topology model is used to indicate the road topology in the virtual space.
在本申请实施例中,考虑到自动驾驶车辆在行驶过程中仅需确定行驶道路附近的物体即可,因此,为了减少确定点云数据过程中的数据处理量,对于待仿真的虚拟空间,可以预先构建针对该虚拟空间的道路拓扑模型。该道路拓扑模型用于指示虚拟空间中的道路拓扑。如此,后续在确定车辆处于第一位置点时的点云数据时,便可通过步骤601基于道路拓扑模型确定当前待扫描路段即可,无需对第一位置点周围的所有空间进行遍历。In the embodiments of the present application, considering that the autonomous vehicle only needs to determine objects near the driving road during the driving process, in order to reduce the amount of data processing in the process of determining point cloud data, the virtual space to be simulated can be A road topology model for the virtual space is constructed in advance. The road topology model is used to indicate the road topology in the virtual space. In this way, when determining the point cloud data when the vehicle is at the first location point later, step 601 can be used to determine the current road segment to be scanned based on the road topology model, without traversing all the spaces around the first location point.
上述第一位置点可以为在车辆上模拟的激光探测装置的当前位置。该激光探测装置可以为激光雷达、也可以为其他类型的激光探测装置,在此就不再一一举例说明。The above-mentioned first position point may be the current position of the laser detection device simulated on the vehicle. The laser detection device may be a laser radar, or other types of laser detection devices, which will not be illustrated here.
在一种可能的实现方式中,道路拓扑模型可以包括多个道路节点(road)、以及每个道路节点的道路信息。每个道路节点对应一段道路,也即是,在本申请实施例中,每个道路节点实质上用于指示一段道路。其中,每个道路节点的道路信息用于指示对应的道路的各种属性。每个道路节点的道路信息用于指示对应的道路各种属性是指:通过该道路节点对应的道路信息可以明确对应的道路在虚拟空间中的具体位置。也即是,通过道路拓扑模型中各个道路节点的道路信息可以构建虚拟空间中的各条道路之间的拓扑关系。示例地,每个道路节点的道路信息可以包括该道路节点的标识、道路节点对应的道路的长度、道路节点对应的道路的边界位置信息(该边界位置信息可以包括对应的道路的起点位置信息和终点位置信息、该道路节点对应的道路与其他道路之间的连接关系等)。In a possible implementation manner, the road topology model may include multiple road nodes (road) and road information of each road node. Each road node corresponds to a section of road, that is, in the embodiment of the present application, each road node is essentially used to indicate a section of road. Among them, the road information of each road node is used to indicate various attributes of the corresponding road. The use of the road information of each road node to indicate various attributes of the corresponding road means that the specific location of the corresponding road in the virtual space can be clarified through the road information corresponding to the road node. That is, the topological relationship between each road in the virtual space can be constructed through the road information of each road node in the road topology model. For example, the road information of each road node may include the identification of the road node, the length of the road corresponding to the road node, and the boundary position information of the road corresponding to the road node (the boundary position information may include the starting point position information of the corresponding road and End position information, the connection relationship between the road corresponding to the road node and other roads, etc.).
由于每个道路节点的道路信息可以指示相应道路的具体位置,因此,基于上述道路拓扑模型,步骤601中根据第一位置点和道路拓扑模型确定第一扫描路段的实现方式可以为:根据每个道路节点的道路信息,从多个道路节点中确定第一位置点对应的道路节点;根据第一位置点对应的道路节点确定第一扫描路段。Since the road information of each road node can indicate the specific location of the corresponding road, based on the above road topology model, the implementation of determining the first scanning road segment according to the first location point and the road topology model in step 601 can be: according to each For the road information of the road node, the road node corresponding to the first location point is determined from the multiple road nodes; the first scanning road segment is determined according to the road node corresponding to the first location point.
比如,道路节点的道路信息包括相应道路的边界位置信息。此时,可以从各个道路节点的道路信息中确定出每个道路节点对应的道路的区域。如此,便可从确定的区域中筛选出包括第一位置点的区域,筛选出的区域对应的道路节点便是第一位置点对应的道路节点。For example, the road information of the road node includes the boundary position information of the corresponding road. At this time, the area of the road corresponding to each road node can be determined from the road information of each road node. In this way, the area including the first location point can be filtered from the determined area, and the road node corresponding to the filtered area is the road node corresponding to the first location point.
此外,在确定出第一位置点对应的道路节点之后,可以将第一位置点对应的道路节点上距离第一位置点前后指定距离范围内的路段作为第一扫描路段。该指定距离是预先配置的。比如,该指定距离可以为20米,此时,可以将第一位置点对应的道路节点上第一位置点前后20米范围内的路段作为第一扫描路段。In addition, after the road node corresponding to the first position point is determined, the road section on the road node corresponding to the first position point within a specified distance before and after the first position point may be used as the first scanning road section. The specified distance is pre-configured. For example, the designated distance may be 20 meters. In this case, a road section within a range of 20 meters before and after the first position point on the road node corresponding to the first position point may be used as the first scanning road section.
可选地,在确定出第一位置点对应的道路节点之后,还可以将道路拓扑模型中第一位置点对应的道路节点、与该道路节点存在连接关系的其他道路节点,一起作为第一扫描路段。比如,图7是本申请实施例提供的一种道路拓扑模型示意图。如图7所示,该道路拓扑模型中包括7个道路节点,各个道路节点之间的连接关系如图7中道路节点之间的连接关系。也即是,道路节点1所指示的道路与道路节点2所指示的道路连接,道路节点2所指示的道路与道路节点3所指示的道路连接,道路节点3所指示的道路与道路节点4所指示的道路连接,道路节点4所指示的道路分别与道路节点5、道路节点6以及道路节点7所指示的道路连接。假设上述确定的第一位置点对应的道路节点为道路节点2,此时,便可将道路节点1、道路节点2以及道路节点3这三个道路节点所指示的三段路段作为第一扫描路段。此外,图7中与多个道路节点存在连接关系的道路节点还可以称为汇合道路节点(junction)。Optionally, after the road node corresponding to the first location point is determined, the road node corresponding to the first location point in the road topology model and other road nodes that have a connection relationship with the road node can also be used as the first scan Road section. For example, FIG. 7 is a schematic diagram of a road topology model provided by an embodiment of the present application. As shown in Fig. 7, the road topology model includes 7 road nodes, and the connection relationship between each road node is shown in Fig. 7 as the connection relationship between road nodes. That is, the road indicated by road node 1 is connected with the road indicated by road node 2, the road indicated by road node 2 is connected with the road indicated by road node 3, and the road indicated by road node 3 is connected with road node 4. The indicated roads are connected, and the roads indicated by the road node 4 are connected to the roads indicated by the road node 5, the road node 6, and the road node 7, respectively. Assuming that the road node corresponding to the first location point determined above is road node 2, at this time, the three road sections indicated by the road node 1, road node 2, and road node 3 can be taken as the first scanned road section . In addition, the road nodes in FIG. 7 that have a connection relationship with multiple road nodes may also be referred to as a junction road node (junction).
上述仅仅是对根据第一位置点对应的道路节点确定第一扫描路段的两种可能的实现方式的举例说明。本申请实施例并不限定根据第一位置点对应的道路节点确定第一扫描路段的具 体实现方式,只需确定出的第一扫描路段是自动驾驶车辆在第一位置点时附近的路段即可。在此就不再对其他实现方式一一举例说明。The foregoing is only an example of two possible implementations of determining the first scanning road segment according to the road node corresponding to the first location point. The embodiment of the present application does not limit the specific implementation of determining the first scanning road section according to the road node corresponding to the first location point, only the determined first scanning road section is the road section near the first location point when the autonomous vehicle is at the first location point. . This will not give examples of other implementations one by one.
在通过步骤601确定出第一扫描路段之后,为了便于快速确定出分布在第一扫描路段的虚拟物体,预先配置的道路拓扑模型中除了包括各个道路节点的道路信息之外,还可以包括各个道路节点的虚拟物体信息。每个道路节点的虚拟物体信息包括分布在相应道路节点的各个虚拟物体的三维模型数据。以便于后续基于步骤602可以直接通过道路拓扑模型来快速确定出分布在第一扫描路段的虚拟物体。需要说明的是,在本申请实施例中,分布在路段的虚拟物体包括分布在该路段的道路上及其该道路两侧的虚拟物体。After the first scanning road segment is determined through step 601, in order to facilitate the rapid determination of virtual objects distributed on the first scanning road segment, in addition to the road information of each road node, the pre-configured road topology model may also include each road The virtual object information of the node. The virtual object information of each road node includes the three-dimensional model data of each virtual object distributed in the corresponding road node. Therefore, based on step 602, the virtual objects distributed in the first scanning section can be quickly determined directly through the road topology model. It should be noted that, in the embodiment of the present application, the virtual objects distributed on the road section include virtual objects distributed on the road of the road section and on both sides of the road.
在一种可能的实现方式中,虚拟物体的三维模型数据可以包括虚拟物体上各个表面点的三维位置信息,以便于后续根据表面点的三维位置信息确定点云数据。In a possible implementation manner, the three-dimensional model data of the virtual object may include three-dimensional position information of each surface point on the virtual object, so as to facilitate subsequent determination of point cloud data based on the three-dimensional position information of the surface point.
在本申请实施例中,可以根据自动驾驶车辆行驶过程中对道路状况的需求,预先对虚拟物体的三维模型数据进行预处理,以便于后续进一步提高确定点云数据的速率。下面对本申请实施例提供的各种三维模型数据的预处理方式先进行解释说明。In the embodiment of the present application, the three-dimensional model data of the virtual object may be pre-processed in advance according to the requirements of the road conditions during the driving of the autonomous vehicle, so as to further increase the rate of determining the point cloud data in the future. The preprocessing methods of various three-dimensional model data provided in the embodiments of the present application will be explained below first.
在一种可能的实现方式中,考虑到自动驾驶车辆在驾驶过程中,对于近处的物体需要明确其详细的三维结构,以避免出现交通事故。对于远处的物体只需了解大概的轮廓即可对当前的规划做出指导。因此,对于多个虚拟物体中的第一虚拟物体,该第一虚拟物体的三维模型数据还可以包括第一虚拟物体的包围盒的三维位置信息,第一虚拟物体的包围盒是指包围第一虚拟物体的几何体。第一虚拟物体是多个虚拟物体中的任一个。也即是,在道路拓扑模型中,每个虚拟物体的三维模型数据还可以包括相应虚拟物体的包围盒的三维位置信息。以便于后续根据虚拟物体的轮廓来快速确定点云数据。In a possible implementation manner, considering that the automatic driving vehicle is driving, the detailed three-dimensional structure of nearby objects needs to be clarified to avoid traffic accidents. For distant objects, you only need to know the approximate outline to guide the current planning. Therefore, for the first virtual object among the multiple virtual objects, the three-dimensional model data of the first virtual object may also include the three-dimensional position information of the bounding box of the first virtual object. The bounding box of the first virtual object refers to the bounding box surrounding the first virtual object. The geometry of the virtual object. The first virtual object is any one of a plurality of virtual objects. That is, in the road topology model, the three-dimensional model data of each virtual object may also include the three-dimensional position information of the bounding box of the corresponding virtual object. In order to quickly determine the point cloud data according to the outline of the virtual object.
图8是本申请实施例提供一种虚拟物体的包围盒的示意图。图8所示的包围盒还可以称为AABB盒。如图8所示,AABB盒是一种三维物体的包围盒。包围盒是一个简单的几何空间,里面包含着复杂形状的虚拟物体。为虚拟物体添加包围盒的目的是快速的进行碰撞检测或者进行精确的碰撞检测之前进行过滤。如图8所示,当激光光束与包围盒碰撞,激光光束才可能与包围盒中的虚拟物体碰撞。当激光光束不与包围盒碰撞,那么激光光束就不可能与包围盒中的虚拟物体碰撞。因此,虚拟物体的包围盒可以代表虚拟物体的大概轮廓。FIG. 8 is a schematic diagram of a bounding box of a virtual object provided by an embodiment of the present application. The bounding box shown in FIG. 8 can also be referred to as an AABB box. As shown in Figure 8, the AABB box is a bounding box of a three-dimensional object. The bounding box is a simple geometric space that contains virtual objects with complex shapes. The purpose of adding bounding boxes to virtual objects is to quickly perform collision detection or to filter before accurate collision detection. As shown in Figure 8, when the laser beam collides with the bounding box, the laser beam may collide with the virtual object in the bounding box. When the laser beam does not collide with the bounding box, it is impossible for the laser beam to collide with the virtual object in the bounding box. Therefore, the bounding box of the virtual object can represent the approximate outline of the virtual object.
在另一种可能的实现方式中,考虑到自动驾驶车辆在驾驶过程中,道路两侧距离自动驾驶车辆特别远的虚拟物体对自动驾驶车辆的行驶不会造成什么影响。因此,还可以对道路两侧的距离特别远的虚拟物体进行过滤。此时,在道路拓扑模型中,对于多个道路节点中的第一道路节点,分布在第一道路节点的虚拟物体与第一道路节点的中心线之间的距离在第一距离阈值内。也即是,在道路拓扑模型中,每个道路节点对应的道路两侧的虚拟物体与相应道路节点的中心线之间的距离在第一距离阈值内。In another possible implementation manner, considering that during the driving of the autonomous vehicle, virtual objects on both sides of the road that are particularly far away from the autonomous vehicle will not have any impact on the driving of the autonomous vehicle. Therefore, it is also possible to filter virtual objects that are particularly far apart on both sides of the road. At this time, in the road topology model, for the first road node among the multiple road nodes, the distance between the virtual object distributed on the first road node and the center line of the first road node is within the first distance threshold. That is, in the road topology model, the distance between the virtual objects on both sides of the road corresponding to each road node and the center line of the corresponding road node is within the first distance threshold.
第一距离阈值是预先设置的距离阈值。比如,第一距离阈值可以为10米。为了后续便于说明,将这种预处理方式称为较远物体去除处理。此外,第一距离阈值还需还大于道路宽度的一半。道路宽度是指道路节点两侧的两个边界之间的距离。The first distance threshold is a preset distance threshold. For example, the first distance threshold may be 10 meters. For the convenience of subsequent description, this preprocessing method is referred to as distant object removal processing. In addition, the first distance threshold also needs to be greater than half of the road width. The road width refers to the distance between the two borders on both sides of the road node.
在另一种可能的实现方式中,考虑到自动驾驶车辆在驾驶过程中,道路及其两侧距离地面特别高的虚拟物体对自动驾驶车辆的行驶也不会造成什么影响。比如,道路两侧建筑的高层对自动驾驶车辆的行驶不会造成什么影响。因此,还可以对道路及其两侧距离地面特别高的虚拟物体或者虚拟物体上的部分进行过滤。此时,在道路拓扑模型中,每个虚拟物体的三 维模型数据包括相应虚拟物体的多个表面点中每个表面点的三维位置信息,三维位置信息包括表面点的高度,且分布在道路节点的虚拟虚体的三维模型数据中的高度在高度阈值以内。图9是本申请实施例提供的一种高层建筑物示意图。如图9所示,该建筑物的高层部分的三维模型数据将不包括在道路拓扑模型中。为了后续便于说明,将这种预处理方式称为较高物体去除处理。In another possible implementation manner, considering that during the driving of the autonomous vehicle, the road and virtual objects on both sides of the road that are particularly high from the ground will not have any impact on the driving of the autonomous vehicle. For example, the high-rise buildings on both sides of the road will not have any impact on the driving of autonomous vehicles. Therefore, it is also possible to filter the road and the virtual objects on both sides of the road that are particularly high from the ground or the parts on the virtual objects. At this time, in the road topology model, the three-dimensional model data of each virtual object includes the three-dimensional position information of each of the multiple surface points of the corresponding virtual object. The three-dimensional position information includes the height of the surface points and is distributed at the road nodes. The height in the three-dimensional model data of the virtual virtual body is within the height threshold. Fig. 9 is a schematic diagram of a high-rise building provided by an embodiment of the present application. As shown in Figure 9, the three-dimensional model data of the high-rise part of the building will not be included in the road topology model. For the convenience of subsequent description, this pre-processing method is referred to as higher object removal processing.
需要说明的是,可以预先对道路拓扑模型中各个虚拟物体的三维模型数据进行上述过滤,此时道路拓扑模型中包括的数据量也比较少,后续不管车辆处于什么位置,均可根据精简后的道路拓扑模型直接确定虚拟物体的三维模型数据。可选地,道路拓扑模型中也可以只包括虚拟物体上各个表面点的三维位置信息,后续在确定出第一扫描路段时,再通过上述过滤方式对第一扫描路段的虚拟物体的三维模型数据进行过滤即可,只不过此时在任一位置点时均需对三维模型数据进行过滤,所需的计算量仍然较大。It should be noted that the above-mentioned filtering of the three-dimensional model data of each virtual object in the road topology model can be performed in advance. At this time, the amount of data included in the road topology model is also relatively small. The road topology model directly determines the three-dimensional model data of the virtual object. Optionally, the road topology model may also only include the three-dimensional position information of each surface point on the virtual object. When the first scanning road section is determined subsequently, the three-dimensional model data of the virtual object on the first scanning road section is determined by the above-mentioned filtering method. It is enough to filter, but at this time, the three-dimensional model data needs to be filtered at any position point, and the required calculation amount is still relatively large.
此外,考虑到后续可以对距离第一位置点远近不同的虚拟物体采用不同的处理方式,因此,在另一种可能的实现方式中,在道路拓扑模型中,每个虚拟物体的三维模型数据还可以包括相应虚拟物体在道路上的具体位置。具体地,对于任一道路节点,可以在该道路节点所指示的道路上设置一个道路起点,该道路起点可以是该道路起始位置处位于道路中心的位置点。那么对于该道路节点所指示的道路上及其两侧的任一虚拟物体,均可以通过两个参数来指示该虚拟物体在该道路上的具体位置。一个参数是该虚拟物体的包围盒的中心点与该道路中心线之间的距离,可以标记为t-offset,另一个参数是该虚拟物体的包围盒的中心点与该道路起点沿道路行驶方向之间的距离,可以标记为s-offset。In addition, considering that different processing methods can be used for virtual objects that are different from the first location point in the future, in another possible implementation, in the road topology model, the three-dimensional model data of each virtual object is also It can include the specific location of the corresponding virtual object on the road. Specifically, for any road node, a road starting point can be set on the road indicated by the road node, and the road starting point can be a position point at the center of the road at the starting position of the road. Then, for any virtual object on the road and on both sides of the road indicated by the road node, two parameters can be used to indicate the specific position of the virtual object on the road. One parameter is the distance between the center point of the virtual object's bounding box and the center line of the road, which can be marked as t-offset, and the other parameter is the center point of the virtual object's bounding box and the starting point of the road along the road driving direction The distance between can be marked as s-offset.
图10是本申请实施例提供的一种道路节点示意图。如图10所示,该道路节点所指示的道路上的道路起点为点A,该道路中的一棵树的t-offset为5米,s-offset为50米。在已知该道路起点的具体位置之后,便可根据第一位置点、以及t-offset和s-offset这两个参数确定出这棵树与第一位置点之间的距离远近。FIG. 10 is a schematic diagram of a road node provided by an embodiment of the present application. As shown in FIG. 10, the starting point of the road on the road indicated by the road node is point A, the t-offset of a tree in the road is 5 meters, and the s-offset is 50 meters. After the specific location of the starting point of the road is known, the distance between the tree and the first location point can be determined according to the first location point and the two parameters t-offset and s-offset.
可选地,道路拓扑模型中各个虚拟物体在道路上的具体位置也可以直接采用虚拟物体的包围盒的中心点在大地坐标系中的绝对坐标来指示,这样对于任一道路节点,可以无需配置上述道路起点。Optionally, the specific position of each virtual object on the road in the road topology model can also be directly indicated by the absolute coordinates of the center point of the virtual object's bounding box in the geodetic coordinate system, so that for any road node, there is no need to configure The starting point of the above road.
步骤602:确定分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据。Step 602: Determine the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section.
基于步骤601中关于道路拓扑模型的解释说明可知,在一种可能的实现方式中,道路拓扑模型可以包括多个道路节点、以及每个道路节点的虚拟物体信息,每个道路节点的虚拟物体信息包括分布在相应道路节点的各个虚拟物体的三维模型数据。此时,步骤602的实现方式可以为:从各个道路节点的虚拟物体信息中,获取分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据。Based on the explanation of the road topology model in step 601, in a possible implementation, the road topology model may include multiple road nodes, and virtual object information of each road node, and virtual object information of each road node. Including the three-dimensional model data of each virtual object distributed at the corresponding road node. At this time, the implementation of step 602 may be: obtaining three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road segment from the virtual object information of each road node.
基于步骤601中对道路拓扑模型的介绍可知,在一种可能的实现方式中,对于分布在第一扫描路段的多个虚拟物体中的第一虚拟物体,该第一虚拟物体的三维模型数据包括:第一虚拟物体上各个表面点的三维位置信息。第一虚拟物体是这多个虚拟物体中的任一个。Based on the introduction of the road topology model in step 601, in a possible implementation manner, for the first virtual object among the multiple virtual objects distributed in the first scanning section, the three-dimensional model data of the first virtual object includes : The three-dimensional position information of each surface point on the first virtual object. The first virtual object is any one of the plurality of virtual objects.
在另一种可能的实现方式中,第一虚拟物体的三维模型数据还可以包括:第一虚拟物体的包围盒的三维位置信息。In another possible implementation manner, the three-dimensional model data of the first virtual object may further include: three-dimensional position information of the bounding box of the first virtual object.
此外,基于上述对道路拓扑模型中的三维模型数据的预处理方式可知,如果预先对道路拓扑模型中的虚拟物体的三维模型数据进行了预处理,那么步骤602中获取的便是预处理后 的虚拟物体的三维模型数据。In addition, based on the above-mentioned preprocessing method for the three-dimensional model data in the road topology model, it can be known that if the three-dimensional model data of the virtual object in the road topology model is preprocessed, then what is obtained in step 602 is the preprocessed 3D model data of virtual objects.
因此,在一种可能的实现方式中,如果预先对道路拓扑模型中的虚拟物体进行了较远物体去除处理,此时,分布在第一扫描路段的虚拟物体与第一扫描路段的中心线之间的距离在第一距离阈值内。关于第一距离阈值在此不再详细说明。Therefore, in a possible implementation manner, if the virtual objects in the road topology model are removed in advance, at this time, the virtual objects distributed on the first scanning section and the center line of the first scanning section are different. The distance between is within the first distance threshold. The first distance threshold will not be described in detail here.
在另一种可能的实现方式中,如果预先对道路拓扑模型中的虚拟物体进行了较高物体去除处理,此时,分布在第一扫描路段的虚拟物体的三维模型数据中的高度均在高度阈值以内。In another possible implementation, if the virtual objects in the road topology model are processed in advance for higher object removal processing, at this time, the heights in the three-dimensional model data of the virtual objects distributed in the first scan section are all at the height Within the threshold.
此外,在一种可能的实现方式中,从各个道路节点的虚拟物体信息中,获取分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据时,可以直接获取道路拓扑模型中与第一扫描路段相关的虚拟物体的三维模型数据即可。这种情况下,是假设车辆在第一位置点时激光雷达水平方向扫描一周的过程中车辆的位移基本为0。In addition, in a possible implementation manner, when obtaining the three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning section from the virtual object information of each road node, the road topology model can be directly obtained The three-dimensional model data of the virtual object related to the first scanned section of the road is sufficient. In this case, it is assumed that when the vehicle is at the first position point, the displacement of the vehicle during the horizontal direction of the lidar is basically zero.
在另一种可能的实现方式中,如果车辆在第一位置点时激光雷达水平方向扫描一周的过程中车辆的位移比较大,这种情况下,随着激光雷达的扫描,车辆是在向前移动的。此时,为了提高仿真测试过程中激光雷达获取的点云数据与真实世界中获取的点云数据之间的一致性,可以采用分区域的方式确定分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据。In another possible implementation, if the vehicle is at the first position, the displacement of the vehicle is relatively large when the lidar scans one circle in the horizontal direction. In this case, as the lidar scans, the vehicle is moving forward. Mobile. At this time, in order to improve the consistency between the point cloud data obtained by the lidar during the simulation test and the point cloud data obtained in the real world, a sub-regional method can be used to determine the multiple virtual objects distributed in the first scanning section Three-dimensional model data of each virtual object.
采用分区域的方式确定分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据的实现方式可以为:将第一扫描路段以第一位置点为中心划分为多个扇形区域,得到每个扇形区域的边界信息;将多个扇形区域按照激光探测装置的扫描方向顺序排列;对于排列后的第一个扇形区域,根据第一个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于第一个扇形区域的虚拟物体的三维模型数据;对于排列后的第i个扇形区域,基于激光探测装置的扫描速度和车辆的移动速度,确定激光探测装置从第一个扇形区域扫描到第i个扇形区域的过程中车辆的移动位移,i为大于或等于2、且小于或等于划分的扇形区域的个数的正整数;根据移动位移,更新第i个扇形区域的边界信息;根据更新后的第i个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于第一个扇形区域的虚拟物体的三维模型数据。The implementation of determining the three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning section in the manner of subregions may be: dividing the first scanning section into multiple fan-shaped regions with the first position point as the center , Get the boundary information of each fan-shaped area; arrange the multiple fan-shaped areas in the order of the scanning direction of the laser detection device; for the first fan-shaped area after the arrangement, according to the boundary information of the first fan-shaped area, from each road node Obtain the three-dimensional model data of the virtual object located in the first fan-shaped area from the virtual object position information; for the i-th fan-shaped area after the arrangement, based on the scanning speed of the laser detection device and the moving speed of the vehicle, determine the laser detection device from the first The movement displacement of the vehicle in the process of scanning from a sector area to the i-th sector area, i is a positive integer greater than or equal to 2 and less than or equal to the number of divided sector areas; the i-th sector area is updated according to the movement displacement According to the updated boundary information of the i-th sector area, the three-dimensional model data of the virtual object located in the first sector area is obtained from the position information of the virtual object of each road node.
每个扇形区域的边界信息用于指示相应扇形区域的覆盖区域。对于排列后的第一个扇形区域,此时相当于车辆刚处于第一位置点时,激光雷达扫描的区域,此时,可以直接从各个道路节点的虚拟物体信息中获取位于第一个扇形区域的虚拟物体的三维模型数据。对于排列后的第i个扇形区域,当激光雷达扫描至第i个扇形区域时,此时,车辆已经向前移动了一定位移,因此,可以根据车辆移动后的位置点更新第i个扇形区域的边界信息。相当于动态更新了各个扇形区域中的虚拟物体,以使获取的虚拟物体和真实世界中获取的物体尽量一致。The boundary information of each sector area is used to indicate the coverage area of the corresponding sector area. For the first sector area after the arrangement, this is equivalent to the area scanned by the lidar when the vehicle is just at the first position point. At this time, the first sector area can be obtained directly from the virtual object information of each road node 3D model data of the virtual object. For the i-th sector area after the arrangement, when the lidar scans to the i-th sector area, at this time, the vehicle has moved forward by a certain displacement. Therefore, the i-th sector area can be updated according to the position of the vehicle after it has moved The boundary information. It is equivalent to dynamically updating the virtual objects in each fan-shaped area, so that the obtained virtual objects are as consistent as possible with the objects obtained in the real world.
此外,根据移动位移,更新第i个扇形区域的边界信息的实现方式可以为:根据第一位置点和移动位移,确定车辆移动后的位置点,以车辆移动后的位置点为中心划分为多个扇形区域,按照上述同样方式对这多个扇形区域进行排列,此时排列后的第i个扇形区域的边界信息即为上述更新后的第i个扇形区域的边界信息。In addition, according to the movement displacement, the realization of updating the boundary information of the i-th sector area can be: according to the first position point and the movement displacement, determine the position point of the vehicle after the movement, and divide the position point after the vehicle movement as the center. Sector regions, the multiple sector regions are arranged in the same manner as described above, and the boundary information of the i-th sector region after the arrangement is the boundary information of the i-th sector region after the update.
图11是本申请实施例提供的一种划分扇形区域的示意图。如图11所示,在车辆处于第一位置点时,可以将第一扫描路段以第一位置点为中心划分8个扇形区域,在图11中分别将这8个扇形区域标记为①②③④⑤⑥⑦⑧。假设扫描至第2个扇形区域时,车辆移动至另一个位置点,此时,更新后的第2个扇形区域的即为图11中右侧所示的扇形区域②。也即是, 右侧扇形区域②的边界信息为更新后的第2个扇形区域的边界信息。FIG. 11 is a schematic diagram of dividing a sector area according to an embodiment of the present application. As shown in Fig. 11, when the vehicle is at the first position point, the first scan road section can be divided into 8 fan-shaped areas with the first position point as the center. In Fig. 11, these 8 fan-shaped areas are marked as ①②③④⑤⑥⑦⑧. Suppose that when scanning to the second sector area, the vehicle moves to another location. At this time, the updated second sector area is the sector area ② shown on the right side of Fig. 11. That is, the boundary information of the right fan-shaped area ② is the updated boundary information of the second fan-shaped area.
此外,上述将多个扇形区域按照激光探测装置的扫描方向顺序排列即可,至于多个扇形区域中谁是第一个扇形区域,本申请实施例并不限定。比如,对于图11所示的8个扇形区域,假设激光雷达的扫描方向为排序①→②→③,那么这8个扇形区域的排序可以是扇形区域①、扇形区域②、扇形区域③、扇形区域④、扇形区域⑤、扇形区域⑥、扇形区域⑦、扇形区域⑧。这8个扇形区域的排序也可以是扇形区域②、扇形区域③、扇形区域④、扇形区域⑤、扇形区域⑥、扇形区域⑦、扇形区域⑧、扇形区域①。In addition, the above-mentioned multiple fan-shaped regions can be arranged in order according to the scanning direction of the laser detection device. As to which of the multiple fan-shaped regions is the first fan-shaped region, the embodiment of the present application is not limited. For example, for the 8 fan-shaped areas shown in Figure 11, assuming that the scanning direction of the lidar is sort ①→②→③, then the order of these 8 fan-shaped areas can be fan-shaped area ①, fan-shaped area ②, fan-shaped area ③, fan-shaped Area ④, sector area ⑤, sector area ⑥, sector area ⑦, sector area ⑧. The order of these 8 sector areas can also be sector area ②, sector area ③, sector area ④, sector area ⑤, sector area ⑥, sector area ⑦, sector area ⑧, sector area ①.
此外,划分的扇形区域的个数可以根据激光雷达的扫描速度和车辆的移动速度设置。在一种可能的实现方式,划分的扇形区域的个数与激光雷达的扫描速度和车辆的移动速度可以呈现负相关关系。也即是,激光雷达的扫描速度越快,车辆的移动速度越快,此时,激光雷达扫描一周车辆的移动位移就越小,那么激光雷达扫描一周过程中车辆周围的物体变化的也比较慢,因此,划分的扇形区域的个数就可以越小,相应的,每个扇形区域的覆盖面积就越大。In addition, the number of divided sector areas can be set according to the scanning speed of the lidar and the moving speed of the vehicle. In a possible implementation manner, the number of divided fan-shaped regions may have a negative correlation with the scanning speed of the lidar and the moving speed of the vehicle. In other words, the faster the scanning speed of the lidar, the faster the moving speed of the vehicle. At this time, the movement displacement of the vehicle during the lidar scan for one round is smaller, and the objects around the vehicle change more slowly during the lidar scan. Therefore, the number of divided fan-shaped regions can be smaller, and correspondingly, the coverage area of each fan-shaped region will be larger.
此外,划分扇形区域之后,获取位于各个扇形区域的虚拟物体的三维模型数据的过程可以并行处理,从而提高最终获取点云数据的效率。In addition, after the fan-shaped regions are divided, the process of obtaining the three-dimensional model data of the virtual objects located in each fan-shaped region can be processed in parallel, thereby improving the efficiency of finally obtaining point cloud data.
步骤603:根据在该车辆上模拟的激光探测装置的激光扫描范围和多个虚拟物体中每个虚拟物体的三维模型数据,确定激光探测装置在第一位置点处获取的点云数据。Step 603: Determine the point cloud data acquired by the laser detection device at the first position point according to the laser scanning range of the laser detection device simulated on the vehicle and the three-dimensional model data of each virtual object among the multiple virtual objects.
在本申请实施例中,获取激光探测装置在第一位置点处获取的点云数据实质上就是确定各条激光光束在虚拟物体上的交点。因此,在一种可能的实现方式中,步骤603具体可以为:对于第一虚拟物体,根据第一虚拟物体的包围盒的三维位置信息、车辆的朝向、以及第一位置点,从激光扫描范围中确定激光探测装置发射的激光光束覆盖第一虚拟物体的角度范围,第一虚拟物体是指多个虚拟物体中的任一虚拟物体;对于角度范围中的第一激光光束,根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点,将相交点的三维位置信息作为第一激光光束对应的点云数据,第一激光光束为角度范围的任一条激光光束。In the embodiment of the present application, acquiring the point cloud data acquired by the laser detection device at the first position point is essentially determining the intersection point of each laser beam on the virtual object. Therefore, in a possible implementation, step 603 may specifically be: for the first virtual object, according to the three-dimensional position information of the bounding box of the first virtual object, the direction of the vehicle, and the first position point, from the laser scanning range It is determined that the laser beam emitted by the laser detection device covers the angular range of the first virtual object. The first virtual object refers to any virtual object among multiple virtual objects; for the first laser beam in the angular range, according to the first virtual object The three-dimensional model data of determines the intersection point of the first laser beam on the first virtual object, and uses the three-dimensional position information of the intersection point as the point cloud data corresponding to the first laser beam, and the first laser beam is any laser beam in the angular range.
上述第一虚拟物体是指多个虚拟物体中的任一虚拟物体,也即是,对于步骤602中确定的任一虚拟物体,均采用上述实现方式来确定激光光束投射到该虚拟物体上的点云数据。The foregoing first virtual object refers to any virtual object among multiple virtual objects, that is, for any virtual object determined in step 602, the foregoing implementation manner is used to determine the point where the laser beam is projected on the virtual object. Cloud data.
图12是本申请实施例提供的一种角度范围的示意图。如图12所示,假设自动驾驶车辆的前方有一辆目标车辆。那么,可以根据自动驾驶车辆的朝向(比如可以为车头朝向),激光雷达的位置信息(也即是上述第一位置点),以及目标车辆AABB盒信息,确定激光雷达照射在目标车辆的激光光束的角度范围为:横向a°–b°,纵向m°–n°。(图12中仅仅示例出了横向角度范围,纵向角度范围并未示出)FIG. 12 is a schematic diagram of an angle range provided by an embodiment of the present application. As shown in Figure 12, suppose there is a target vehicle in front of the autonomous vehicle. Then, according to the orientation of the autonomous vehicle (for example, the heading of the car), the position information of the lidar (that is, the above-mentioned first position point), and the information of the AABB box of the target vehicle, the laser beam irradiated by the lidar on the target vehicle can be determined The angle range of is: horizontal a°-b°, vertical m°-n°. (In Figure 12, only the horizontal angle range is illustrated, and the vertical angle range is not shown)
考虑到自动驾驶车辆在驾驶过程中,对于近处的物体需要明确其详细的三维结构,以避免出现交通事故。对于远处的物体只需了解大概的轮廓即可对当前的规划做出指导。因此,对于角度范围中的第一激光光束,根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点,可以针对距离第一位置点远近不同的虚拟物体采用不同的处理方式来确定相交点。Taking into account that during the driving of an autonomous vehicle, it is necessary to clarify the detailed three-dimensional structure of nearby objects to avoid traffic accidents. For distant objects, you only need to know the approximate outline to guide the current planning. Therefore, for the first laser beam in the angular range, the intersection point of the first laser beam on the first virtual object is determined according to the three-dimensional model data of the first virtual object, and different virtual objects with different distances from the first position point can be used. To determine the intersection point.
在一种可能的实现方式中,在第一虚拟物体为近距离虚拟物体的情况下,上述根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点具体可以为:根据第一虚拟物体的三维模型数据中各个表面点的三维位置信息,确定第一虚拟物体的多个第一面 元,每个第一面元是指第一虚拟物体的各个表面点中的三个或三个以上的表面点形成的表面,近距离虚拟物体是指与第一位置点之间的距离在第二距离阈值之内的虚拟物体;确定多个第一面元中与第一激光光束相交的第一面元,将第一激光光束与相交的第一面元之间的交点作为第一激光光束在第一虚拟物体上的相交点。In a possible implementation manner, in the case that the first virtual object is a short-distance virtual object, the foregoing determination of the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object may specifically be : According to the three-dimensional position information of each surface point in the three-dimensional model data of the first virtual object, the multiple first bins of the first virtual object are determined, and each first bin refers to one of the surface points of the first virtual object. A surface formed by three or more surface points. A short-distance virtual object refers to a virtual object whose distance from the first position point is within the second distance threshold; the The first face element where the laser beams intersect, and the intersection point between the first laser beam and the first face element that intersects is taken as the intersection point of the first laser beam on the first virtual object.
也即是,对于近距离的虚拟物体,在确定点云数据时,考虑的是该虚拟物体的精准的表面结构。That is, for a short-distance virtual object, when determining the point cloud data, the precise surface structure of the virtual object is considered.
对于近距离的虚拟物体,在确定的角度范围内,对所有激光光束求点云数据,因为每条激光光束相对于第一虚拟物体的距离与角度,以及第一虚拟物体上各个面元的相对位置是已知的,因此,可以直接的定位到激光光束与哪个面元相交,再通过求交过程,确定该激光光束探测到的相交点,该相交点的位置信息即为点云数据。For a short-distance virtual object, within a certain angle range, obtain point cloud data for all laser beams, because the distance and angle of each laser beam relative to the first virtual object, as well as the relative facets on the first virtual object The position is known. Therefore, you can directly locate which face element the laser beam intersects with, and then determine the intersection point detected by the laser beam through the intersection process. The position information of the intersection point is the point cloud data.
如图12所示,假设第一虚拟物体为车辆对面的一个目标车辆,则对所有激光光束求点云数据的过程可以为:As shown in Figure 12, assuming that the first virtual object is a target vehicle opposite the vehicle, the process of obtaining point cloud data for all laser beams can be as follows:
首先取横向的a°,纵向(m+n)/2°的激光光束,与目标车辆的最外侧的面元A(也即是图13中的原点所在的面元),进行求交计算,得到点云数据。First, take the horizontal a°, the longitudinal (m+n)/2° laser beam, and the outermost surface element A of the target vehicle (that is, the surface element where the origin in Figure 13 is located), and calculate the intersection. Get point cloud data.
然后取横向的(a+0.45)°的射线,(0.45°为激光探测装置的水平分辨率)与面元A进行求交计算,,若相交则得到点云数据,若不想交则取面元A左侧面元进行求交,直到找到相交面元,得到点云数据。Then take the horizontal (a+0.45)° ray, (0.45° is the horizontal resolution of the laser detection device) to calculate the intersection with panel A, if they intersect, get the point cloud data, if you don’t want to intersect, then take the panel The left side face element of A is intersected until the intersecting face element is found, and the point cloud data is obtained.
垂直方向的计算同理,只要获取上下位置的面元进行求交计算即可。对横向a°–b°,纵向m°–n°范围内的所有激光射线进行求交计算,即可得到激光雷达探测该目标车辆的所有点云数据。The calculation in the vertical direction is the same, as long as the upper and lower positions are obtained for the intersection calculation. By calculating the intersection of all laser rays in the range of a°–b° in the horizontal direction and m°-n° in the longitudinal direction, all the point cloud data of the target vehicle detected by the lidar can be obtained.
上述各条激光光束的求交过程可以并行处理,在此不再详细说明。The intersection process of the above-mentioned laser beams can be processed in parallel, which will not be described in detail here.
上述用于解释说明对于近距离虚拟物体获取点云数据的过程。在另一种可能的实现方式中,在第一虚拟物体为远距离虚拟物体的情况下,上述根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点具体可以为:在第一虚拟物体为远距离虚拟物体的情况下,根据第一虚拟物体的包围盒的三维位置信息,确定包围盒的多个第二面元,远距离虚拟物体是指与第一位置点之间的距离在第二距离阈值和第一距离阈值之间的虚拟物体,第一距离阈值大于第二距离阈值;确定多个第二面元中与第一激光光束相交的第二面元,将第一激光光束与相交的第二面元之间的交点作为第一激光光束在第一虚拟物体上的相交点。The above is used to explain the process of obtaining point cloud data for a short-distance virtual object. In another possible implementation manner, when the first virtual object is a long-distance virtual object, the foregoing determination of the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object may specifically be It is: in the case that the first virtual object is a long-distance virtual object, according to the three-dimensional position information of the bounding box of the first virtual object, a plurality of second bins of the bounding box are determined, and the long-distance virtual object refers to the first position For virtual objects whose distance between the points is between the second distance threshold and the first distance threshold, the first distance threshold is greater than the second distance threshold; determine the second bin that intersects the first laser beam among the plurality of second bins , The intersection point between the first laser beam and the second intersecting surface element is taken as the intersection point of the first laser beam on the first virtual object.
也即是,对于远距离的虚拟物体,在确定点云数据时,考虑的是该虚拟物体的大概轮廓。比如,对于道路最外侧的建筑,围墙等,可以直接用激光光束与AABB盒求交计算,以减少计算量。具体求交过程在此不再详细说明。That is, for a long-distance virtual object, when determining the point cloud data, the approximate outline of the virtual object is considered. For example, for the outermost buildings and walls of the road, the laser beam can be directly used to calculate the intersection with the AABB box to reduce the amount of calculation. The specific process of requesting an appointment will not be explained in detail here.
此外,考虑到各个虚拟物体之间有遮挡情况,同一激光光束理论上可能投射到不同的虚拟物体上,但是实际上每条激光光束只能采集到一个点云数据。例如,图12中目标车辆的角度范围为横向20°-60°,纵向-20°-10°,而激光光束投射到目标车辆后方较远处的围墙的角度范围也包括横向20°-60°,纵向-20°-10°这个角度范围,则横向20°-60°,纵向-20°-10°这个角度范围的激光光束只需要与目标车辆进行一次求交计算,不需要对后面的围墙进行重复计算。In addition, considering the occlusion between virtual objects, the same laser beam may theoretically be projected on different virtual objects, but in reality, only one point cloud data can be collected for each laser beam. For example, the angle range of the target vehicle in Figure 12 is 20°-60° horizontally and -20°-10° longitudinally, and the angle range of the laser beam projected to the wall behind the target vehicle also includes 20°-60° horizontally. , The longitudinal angle range of -20°-10°, the lateral angle range of 20°-60°, and the longitudinal angle range of -20°-10°, the laser beam only needs to perform an intersection calculation with the target vehicle, without the need for the back wall Perform repeated calculations.
所以,上述根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点之前,还需判断第一激光光束的投射方向是是否存在遮挡第一虚拟物体的其他虚拟物体。如果在第一激光光束的投射方向上不存在遮挡第一虚拟物体的其他虚拟物体,则执行确定第 一激光光束在第一虚拟物体上的相交点的操作。如果在第一激光光束的投射方向上存在遮挡第一虚拟物体的其他虚拟物体,则无需执行确定第一激光光束在第一虚拟物体上的相交点的操作。也即是,这种情况下,就没有必要再确定第一激光光束在第一虚拟物体上的投射点的点云数据了。Therefore, before determining the intersection of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object, it is necessary to determine whether the projection direction of the first laser beam is whether there are other virtual objects that block the first virtual object. . If there is no other virtual object that blocks the first virtual object in the projection direction of the first laser beam, the operation of determining the intersection point of the first laser beam on the first virtual object is performed. If there are other virtual objects that block the first virtual object in the projection direction of the first laser beam, there is no need to perform the operation of determining the intersection point of the first laser beam on the first virtual object. That is, in this case, there is no need to determine the point cloud data of the projection point of the first laser beam on the first virtual object.
上述判断第一激光光束的投射方向是是否存在遮挡第一虚拟物体的其他虚拟物体可以基于第一激光光束的角度、第一位置点、以及步骤602中的确定的各个虚拟物体的虚拟物体信息来确定。在一种可能的实现方式中,第一激光光束的投射方向上,如果存在其他虚拟物体的包围盒的覆盖区域存在在第一位置点与第一虚拟虚体之间,则认为第一激光光束的投射方向上存在遮挡第一虚拟物体的其他虚拟物体。The foregoing determination of whether the projection direction of the first laser beam is whether there are other virtual objects that block the first virtual object may be based on the angle of the first laser beam, the first position point, and the virtual object information of each virtual object determined in step 602. Sure. In a possible implementation manner, in the projection direction of the first laser beam, if the coverage area of the bounding box of other virtual objects exists between the first position point and the first virtual virtual body, it is considered that the first laser beam There are other virtual objects that block the first virtual object in the projection direction of.
此外,上述判断第一激光光束的投射方向是是否存在遮挡第一虚拟物体的其他虚拟物体的过程中,是将其他虚拟物体作为不可透过激光光束这种简单模型进行处理的。在真实世界中,譬如树木这种复杂模型的物体,由于树木中存在可以穿过激光光束的通孔,因此,即使该树木对应的包围盒遮挡了第一激光光束,但该激光光束仍然会投射到第一虚拟虚体上。In addition, in the above process of judging whether the projection direction of the first laser beam is the presence of other virtual objects that block the first virtual object, the other virtual objects are treated as simple models of impermeable laser beams. In the real world, for objects with complex models such as trees, there are through holes in the trees that can pass the laser beam. Therefore, even if the bounding box corresponding to the tree blocks the first laser beam, the laser beam will still be projected Go to the first virtual virtual body.
所以,在本申请实施例中,如果在第一激光光束的投射方向上存在遮挡第一虚拟物体的其他虚拟物体,且其他虚拟物体为非严格遮挡型物体,则执行确定第一激光光束在第一虚拟物体上的相交点的操作,非严格遮挡型物体是指存在激光光束可穿的通孔的物体。此时,在确定第一激光光束在第一虚拟物体上的相交点之后,如果第一激光光束在其他虚拟物体上没有相交点,则将第一激光光束在第一虚拟物体上的相交点的三维位置信息作为第一激光光束对应的点云数据。Therefore, in the embodiment of the present application, if there are other virtual objects that block the first virtual object in the projection direction of the first laser beam, and the other virtual objects are non-strictly occluded objects, then it is executed to determine that the first laser beam is in the first laser beam. The operation of the intersection point on a virtual object. The non-strictly occluded object refers to an object with a through hole through which the laser beam can penetrate. At this time, after determining the intersection point of the first laser beam on the first virtual object, if the first laser beam has no intersection point on other virtual objects, set the first laser beam to the intersection point on the first virtual object. The three-dimensional position information is used as the point cloud data corresponding to the first laser beam.
如果第一激光光束在其他虚拟物体上没有相交点,表明第一激光光束可以穿过其他虚拟物体上的通孔。这种情况下,则需将第一激光光束在第一虚拟物体上的相交点的三维位置信息作为第一激光光束对应的点云数据。If the first laser beam does not intersect on other virtual objects, it indicates that the first laser beam can pass through the through holes on other virtual objects. In this case, it is necessary to use the three-dimensional position information of the intersection point of the first laser beam on the first virtual object as the point cloud data corresponding to the first laser beam.
需要说明的是,在应用本申请提供的方法时,对于遮挡的虚拟物体可以不区分是否为非严格遮挡型物体,统一采用简单模型进行处理即可,如此可以进一步减少计算量。It should be noted that when applying the method provided in this application, the occluded virtual object can be processed without distinguishing whether it is a non-strict occlusion object, and a simple model can be used for processing, which can further reduce the amount of calculation.
可选地,也可以不考虑遮挡情况,对所有虚拟物体均通过直接确定角度范围内的各条激光光束的点云数据。后续对于同一条激光光束,如果该激光光束对应多个点云数据,则表明该激光光束可投射到多个位置点。此时,选择距离第一位置点最近的位置点的点云数据作为该激光光束的点云数据即可。如此,虽然计算量会多一些,但是可以简化获取点云数据的过程。Optionally, the occlusion situation may not be considered, and the point cloud data of each laser beam within the angle range may be directly determined for all virtual objects. Subsequent to the same laser beam, if the laser beam corresponds to multiple point cloud data, it indicates that the laser beam can be projected to multiple location points. At this time, it is sufficient to select the point cloud data of the position point closest to the first position point as the point cloud data of the laser beam. In this way, although the amount of calculation will be more, it can simplify the process of obtaining point cloud data.
上述步骤601至步骤603用于解释说明如何确定激光探测装置在第一位置点处获取的点云数据。在仿真测试中,随着车辆在虚拟空间中的移动,需要及时更新各个位置点处的点云数据。而在车辆移动过程中,车辆周围可能存在部分物体和车辆之间的相对位置没有发生变化,这种情况下,针对这部分虚拟物体,就没必要再次确定点云数据。因此,在本申请实施例中,可以根据车辆与周围虚拟物体之间的相对状态来减少确定点云数据所需的计算量。The above steps 601 to 603 are used to explain how to determine the point cloud data acquired by the laser detection device at the first position point. In the simulation test, as the vehicle moves in the virtual space, it is necessary to update the point cloud data at each location point in time. In the process of vehicle movement, there may be some objects around the vehicle and the relative position between the vehicle has not changed. In this case, for these virtual objects, there is no need to determine the point cloud data again. Therefore, in the embodiment of the present application, the amount of calculation required to determine the point cloud data can be reduced according to the relative state between the vehicle and the surrounding virtual objects.
此时,在通过步骤603确定激光探测装置在第一位置点处获取的点云数据之后,还可以缓存每条激光光束对应的点云数据。在车辆处于虚拟空间中的第二位置点的情况下,根据第二位置点和道路拓扑模型确定第二扫描路段;确定分布在第二扫描路段的多个虚拟物体;如果分布在第一扫描路段的多个虚拟物体与分布在第二扫描路段的多个虚拟物体中存在同一虚拟物体、且同一虚拟物体与车辆之间的相对距离在第一位置点和第二位置点时没有变化,则 将缓存中投射到同一虚拟物体上的激光光束对应的点云数据作为相应激光光束在第二位置点处对应的点云数据。At this time, after the point cloud data acquired by the laser detection device at the first position point is determined in step 603, the point cloud data corresponding to each laser beam may also be cached. In the case that the vehicle is at the second location point in the virtual space, determine the second scan section according to the second location point and the road topology model; determine multiple virtual objects distributed on the second scan section; if distributed on the first scan section If the same virtual object exists in the multiple virtual objects and multiple virtual objects distributed on the second scanning section, and the relative distance between the same virtual object and the vehicle does not change at the first position point and the second position point, then The point cloud data corresponding to the laser beam projected on the same virtual object in the buffer is used as the point cloud data corresponding to the corresponding laser beam at the second position point.
同一虚拟物体与车辆之间的相对距离在第一位置点和第二位置点时没有变化,表明在车辆移动过程中,该同一虚拟物体与车辆之间是保持相对静止的状态的,因此,没有必要对该同一虚拟物体重复确定点云数据。The relative distance between the same virtual object and the vehicle does not change between the first position point and the second position point, indicating that the same virtual object and the vehicle remain relatively stationary during the movement of the vehicle. Therefore, there is no It is necessary to repeatedly determine the point cloud data for the same virtual object.
需要说明的是,在车辆在行驶过程中,如果车辆在静止状态,但是车辆周围的动态物体譬如其他车辆是发生变化的。因此,上述第二位置点和第一位置点可以为同一位置点,这种情况下,对于车辆周围的静态物体无需重复计算点云数据。It should be noted that, when the vehicle is moving, if the vehicle is in a stationary state, the dynamic objects around the vehicle, such as other vehicles, will change. Therefore, the above-mentioned second location point and the first location point may be the same location point. In this case, there is no need to repeatedly calculate the point cloud data for static objects around the vehicle.
此外,在车辆行驶过程中,可能有部分激光光束一直投射在地面上或车辆的某些部位(如车辆上安装激光雷达的底座),这些激光光束的点云数据基本不会发生变化。因此,在本申请实施例中,可以先对激光探测装置的所有激光光束的点云数据进行初始化。后续只需根据变化的点云数据更新初始化的点云数据即可,以进一步减少计算量。In addition, during the driving of the vehicle, some laser beams may be projected on the ground or on certain parts of the vehicle (such as the base of the lidar installed on the vehicle), and the point cloud data of these laser beams will hardly change. Therefore, in the embodiment of the present application, the point cloud data of all laser beams of the laser detection device may be initialized first. Subsequent only needs to update the initialized point cloud data according to the changed point cloud data to further reduce the amount of calculation.
如图14所示,激光雷达的激光光束有一部分会射在地面,这一部分的点云数据后续基本不会发生变化;其余的激光如果没有探测到目标物体,则点云数据可以设置为空值。这些点云数据可以先以配置文件的形式进行保存。仿真开始时,加载该配置文件,生成点云缓存。仿真开始后,若激光雷达探测到虚拟物体,则更新缓存中为空值的点云数据。As shown in Figure 14, a part of the laser beam of the lidar will hit the ground, and the point cloud data of this part will basically not change in the future; if the remaining laser does not detect the target object, the point cloud data can be set to a null value . These point cloud data can be saved first in the form of configuration files. When the simulation starts, load the configuration file to generate a point cloud cache. After the simulation starts, if the lidar detects a virtual object, the point cloud data with a null value in the cache is updated.
此外,基于上述配置文件,在车辆行驶过程中,如果车辆周围在一定时间内均没出现其他虚拟物体,则可以重新加载上述配置文件,此时相当于将所有激光光束的点云数据初始化。后续继续根据探测到的虚拟物体更新点云数据即可。In addition, based on the above configuration file, if there are no other virtual objects around the vehicle within a certain period of time during the driving of the vehicle, the above configuration file can be reloaded, which is equivalent to initializing the point cloud data of all laser beams. Then continue to update the point cloud data according to the detected virtual objects.
在本申请实施例中,考虑到自动驾驶车辆在行驶过程中仅需确定行驶道路附近的物体即可,因此,为了减少确定点云数据过程中的数据处理量。对于待仿真的虚拟空间,可以预先构建针对该虚拟空间的道路拓扑模型。该道路拓扑模型用于指示虚拟空间中的道路拓扑。如此,后续在确定车辆处于第一位置点时的点云数据时,便可基于道路拓扑模型直接确定当前待扫描路段即可,无需像相关技术那样需要遍历K-D树中的所有节点,从而减少了获取点云数据过程中的数据处理量,相应地,也就提高了获取点云数据的效率。In the embodiment of the present application, considering that the autonomous vehicle only needs to determine objects near the traveling road during the driving process, in order to reduce the amount of data processing in the process of determining the point cloud data. For the virtual space to be simulated, a road topology model for the virtual space can be constructed in advance. The road topology model is used to indicate the road topology in the virtual space. In this way, when subsequently determining the point cloud data when the vehicle is at the first position point, the current road segment to be scanned can be directly determined based on the road topology model, without the need to traverse all nodes in the KD tree as in related technologies, thereby reducing The amount of data processing in the process of obtaining point cloud data, correspondingly, improves the efficiency of obtaining point cloud data.
图15是本申请实施例提供的一种获取点云数据的装置示意图。如图15所示,该装置1500包括:FIG. 15 is a schematic diagram of an apparatus for obtaining point cloud data provided by an embodiment of the present application. As shown in FIG. 15, the device 1500 includes:
确定模块1501,用于在车辆处于虚拟空间中第一位置点的情况下,根据第一位置点和道路拓扑模型确定第一扫描路段,该道路拓扑模型用于指示该虚拟空间中的道路拓扑。具体实现方式可以参考图6实施例中的步骤601。The determining module 1501 is configured to determine the first scanned road segment according to the first position point and the road topology model when the vehicle is at the first position point in the virtual space, and the road topology model is used to indicate the road topology in the virtual space. For a specific implementation manner, reference may be made to step 601 in the embodiment of FIG. 6.
确定模块1501,还用于确定分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据。具体实现方式可以参考图6实施例中的步骤602。The determining module 1501 is also used to determine the three-dimensional model data of each virtual object among the multiple virtual objects distributed in the first scanning section. For a specific implementation manner, reference may be made to step 602 in the embodiment of FIG. 6.
确定模块1501,还用于根据在车辆上模拟的激光探测装置的激光扫描范围和多个虚拟物体中每个虚拟物体的三维模型数据,确定该激光探测装置在第一位置点处获取的点云数据。具体实现方式可以参考图6实施例中的步骤603。The determining module 1501 is also used to determine the point cloud acquired by the laser detection device at the first position point according to the laser scanning range of the laser detection device simulated on the vehicle and the three-dimensional model data of each virtual object in the multiple virtual objects data. For a specific implementation manner, reference may be made to step 603 in the embodiment of FIG. 6.
可选地,该道路拓扑模型包括多个道路节点、以及这多个道路节点中每个道路节点的道路信息;Optionally, the road topology model includes multiple road nodes and road information of each road node in the multiple road nodes;
确定模块用于:Determine the module to be used for:
根据每个道路节点的道路信息,从多个道路节点中确定第一位置点对应的道路节点;According to the road information of each road node, determine the road node corresponding to the first location point from the multiple road nodes;
根据第一位置点对应的道路节点确定第一扫描路段。The first scanning road segment is determined according to the road node corresponding to the first position point.
可选地,道路拓扑模型包括多个道路节点、以及这多个道路节点中每个道路节点的虚拟物体信息,第一道路节点的虚拟物体信息包括分布在第一道路节点的各个虚拟物体的三维模型数据,第一道路节点为这多个道路节点中的任一个;Optionally, the road topology model includes multiple road nodes and virtual object information of each of the multiple road nodes. The virtual object information of the first road node includes the three-dimensional information of each virtual object distributed on the first road node. Model data, the first road node is any one of the multiple road nodes;
确定模块用于:Determine the module to be used for:
从各个道路节点的虚拟物体信息中,获取分布在第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据。From the virtual object information of each road node, the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section is obtained.
可选地,分布在第一扫描路段的虚拟物体与第一扫描路段的中心线之间的距离在第一距离阈值内。Optionally, the distance between the virtual objects distributed on the first scanning road segment and the center line of the first scanning road segment is within the first distance threshold.
可选地,多个虚拟物体中的第一虚拟物体的三维模型数据包括第一虚拟物体的多个表面点中每个表面点的三维位置信息,该三维位置信息包括表面点的高度,第一虚拟物体为多个虚拟物体中任一虚拟物体;Optionally, the three-dimensional model data of the first virtual object in the plurality of virtual objects includes three-dimensional position information of each surface point in the plurality of surface points of the first virtual object, and the three-dimensional position information includes the height of the surface point. The virtual object is any virtual object among multiple virtual objects;
分布在第一扫描路段的虚拟物体的三维模型数据中的高度在高度阈值以内。The height in the three-dimensional model data of the virtual objects distributed in the first scanning section is within the height threshold.
可选地,多个虚拟物体中第一虚拟物体的三维模型数据包括第一虚拟物体的包围盒的三维位置信息,第一虚拟物体的包围盒是指包围第一虚拟物体的几何体,第一虚拟物体为多个虚拟物体中任一虚拟物体;Optionally, the three-dimensional model data of the first virtual object in the plurality of virtual objects includes the three-dimensional position information of the bounding box of the first virtual object. The bounding box of the first virtual object refers to the geometric body surrounding the first virtual object. The object is any virtual object among multiple virtual objects;
确定模块用于:Determine the module to be used for:
根据第一虚拟物体的包围盒的三维位置信息、车辆的朝向、以及第一位置点,从激光扫描范围中确定激光探测装置发射的激光光束覆盖第一虚拟物体的角度范围;According to the three-dimensional position information of the bounding box of the first virtual object, the orientation of the vehicle, and the first position point, determine from the laser scanning range that the laser beam emitted by the laser detection device covers the angle range of the first virtual object;
根据第一虚拟物体的三维模型数据确定第一激光光束在第一虚拟物体上的相交点,将相交点的三维位置信息作为第一激光光束对应的点云数据,第一激光光束为角度范围的任一条激光光束。Determine the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object, and use the three-dimensional position information of the intersection point as the point cloud data corresponding to the first laser beam. The first laser beam has an angular range Any laser beam.
可选地,确定模块用于:Optionally, the determining module is used to:
在第一虚拟物体为近距离虚拟物体的情况下,根据第一虚拟物体的三维模型数据中各个表面点的三维位置信息,确定第一虚拟物体的多个第一面元,每个第一面元是指第一虚拟物体的各个表面点中的三个或三个以上的表面点形成的表面,近距离虚拟物体是指与第一位置点之间的距离在第二距离阈值之内的虚拟物体;In the case that the first virtual object is a close-range virtual object, according to the three-dimensional position information of each surface point in the three-dimensional model data of the first virtual object, multiple first face elements of the first virtual object are determined, and each first face Meta refers to the surface formed by three or more surface points among the various surface points of the first virtual object, and the short-distance virtual object refers to the virtual object whose distance from the first position point is within the second distance threshold. object;
确定多个第一面元中与第一激光光束相交的第一面元,将第一激光光束与相交的第一面元之间的交点作为第一激光光束在第一虚拟物体上的相交点。Determine the first surface element that intersects the first laser beam among the plurality of first surface elements, and use the intersection point between the first laser beam and the intersecting first surface element as the intersection point of the first laser beam on the first virtual object .
可选地,确定模块用于:Optionally, the determining module is used to:
在第一虚拟物体为远距离虚拟物体的情况下,根据第一虚拟物体的包围盒的三维位置信息,确定包围盒的多个第二面元,远距离虚拟物体是指与第一位置点之间的距离在第二距离阈值和第一距离阈值之间的虚拟物体,第一距离阈值大于第二距离阈值;In the case that the first virtual object is a long-distance virtual object, according to the three-dimensional position information of the bounding box of the first virtual object, multiple second bins of the bounding box are determined. For virtual objects whose distance is between the second distance threshold and the first distance threshold, the first distance threshold is greater than the second distance threshold;
确定多个第二面元中与第一激光光束相交的第二面元,将第一激光光束与相交的第二面元之间的交点作为第一激光光束在第一虚拟物体上的相交点。Determine the second surface element that intersects the first laser beam among the plurality of second surface elements, and use the intersection point between the first laser beam and the intersecting second surface element as the intersection point of the first laser beam on the first virtual object .
可选地,确定模块还用于:Optionally, the determining module is also used to:
如果在第一激光光束的投射方向上不存在遮挡第一虚拟物体的其他虚拟物体,则执行确定第一激光光束在第一虚拟物体上的相交点的操作。If there is no other virtual object that blocks the first virtual object in the projection direction of the first laser beam, the operation of determining the intersection point of the first laser beam on the first virtual object is performed.
可选地,确定模块还用于:Optionally, the determining module is also used to:
如果在第一激光光束的投射方向上存在遮挡第一虚拟物体的其他虚拟物体,且其他虚拟物体为非严格遮挡型物体,则执行确定第一激光光束在第一虚拟物体上的相交点的操作,非严格遮挡型物体是指存在激光光束可穿的通孔的物体;If there are other virtual objects that block the first virtual object in the projection direction of the first laser beam, and the other virtual objects are non-strictly occluded objects, perform the operation of determining the intersection point of the first laser beam on the first virtual object , Non-strictly shielded objects refer to objects with through holes through which the laser beam can penetrate;
确定第一激光光束在第一虚拟物体上的相交点之后,还包括:After determining the intersection point of the first laser beam on the first virtual object, the method further includes:
如果第一激光光束在其他虚拟物体上没有相交点,则将第一激光光束在第一虚拟物体上的相交点的三维位置信息作为第一激光光束对应的点云数据。If the first laser beam has no intersection point on the other virtual object, the three-dimensional position information of the intersection point of the first laser beam on the first virtual object is used as the point cloud data corresponding to the first laser beam.
可选地,确定模块用于:Optionally, the determining module is used to:
将第一扫描路段以第一位置点为中心划分为多个扇形区域,得到每个扇形区域的边界信息;Divide the first scanning road section into multiple fan-shaped areas with the first location point as the center, and obtain boundary information of each fan-shaped area;
将多个扇形区域按照激光探测装置的扫描方向顺序排列;Arrange multiple fan-shaped areas in sequence according to the scanning direction of the laser detection device;
对于排列后的第一个扇形区域,根据第一个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于第一个扇形区域的虚拟物体的三维模型数据;For the first sector area after the arrangement, the three-dimensional model data of the virtual object located in the first sector area is obtained from the position information of the virtual objects of each road node according to the boundary information of the first sector area;
对于排列后的第i个扇形区域,基于激光探测装置的扫描速度和车辆的移动速度,确定激光探测装置从第一个扇形区域扫描到第i个扇形区域的过程中车辆的移动位移,i为大于或等于2、且小于或等于划分的扇形区域的个数的正整数;For the i-th sector area after the arrangement, based on the scanning speed of the laser detection device and the moving speed of the vehicle, determine the movement displacement of the vehicle during the scanning of the laser detection device from the first sector area to the i-th sector area, i is A positive integer greater than or equal to 2 and less than or equal to the number of divided sector areas;
根据移动位移,更新第i个扇形区域的边界信息;According to the movement displacement, update the boundary information of the i-th sector area;
根据更新后的第i个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于第一个扇形区域的虚拟物体的三维模型数据。According to the updated boundary information of the i-th sector area, the three-dimensional model data of the virtual object located in the first sector area is obtained from the position information of the virtual object of each road node.
可选地,激光探测装置在第一位置点处获取的点云数据包括激光探测装置发射的每条激光光束对应的点云数据;Optionally, the point cloud data acquired by the laser detection device at the first position point includes point cloud data corresponding to each laser beam emitted by the laser detection device;
该装置还包括:The device also includes:
缓存模块,用于缓存每条激光光束对应的点云数据;Cache module, used to cache the point cloud data corresponding to each laser beam;
确定模块,还用于在车辆处于虚拟空间中的第二位置点的情况下,根据第二位置点和道路拓扑模型确定第二扫描路段;确定分布在第二扫描路段的多个虚拟物体;如果分布在第一扫描路段的多个虚拟物体与分布在第二扫描路段的多个虚拟物体中存在同一虚拟物体、且同一虚拟物体与车辆之间的相对距离在第一位置点和第二位置点时没有变化,则将缓存中投射到同一虚拟物体上的激光光束对应的点云数据作为相应激光光束在第二位置点处对应的点云数据。The determining module is also used for determining the second scanning road section according to the second position point and the road topology model when the vehicle is at the second position point in the virtual space; determining multiple virtual objects distributed on the second scanning road section; if The same virtual object exists in the multiple virtual objects distributed on the first scanning road segment and the multiple virtual objects distributed on the second scanning road segment, and the relative distance between the same virtual object and the vehicle is at the first location point and the second location point If there is no change in time, the point cloud data corresponding to the laser beam projected on the same virtual object in the buffer is used as the point cloud data corresponding to the corresponding laser beam at the second position point.
在本申请实施例中,考虑到自动驾驶车辆在行驶过程中仅需确定行驶道路附近的物体即可,因此,为了减少确定点云数据过程中的数据处理量。对于待仿真的虚拟空间,可以预先构建针对该虚拟空间的道路拓扑模型。该道路拓扑模型用于指示虚拟空间中的道路拓扑。如此,后续在确定车辆处于第一位置点时的点云数据时,便可基于道路拓扑模型直接确定当前待扫描路段即可,无需像相关技术那样需要遍历K-D树中的所有节点,从而减少了获取点云数据过程中的数据处理量,相应地,也就提高了获取点云数据的效率。In the embodiment of the present application, considering that the autonomous vehicle only needs to determine objects near the traveling road during the driving process, in order to reduce the amount of data processing in the process of determining the point cloud data. For the virtual space to be simulated, a road topology model for the virtual space can be constructed in advance. The road topology model is used to indicate the road topology in the virtual space. In this way, when subsequently determining the point cloud data when the vehicle is at the first position point, the current road segment to be scanned can be directly determined based on the road topology model, without the need to traverse all nodes in the KD tree as in related technologies, thereby reducing The amount of data processing in the process of obtaining point cloud data, correspondingly, improves the efficiency of obtaining point cloud data.
需要说明的是:上述实施例提供的获取点云数据的装置在获取点云数据时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的获取点云数据的装置与获取点云数据的方法实施例属于同一构 思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the device for acquiring point cloud data provided in the above embodiment acquires point cloud data, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functions as required. The function module is completed, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above. In addition, the device for acquiring point cloud data provided in the above-mentioned embodiment and the embodiment of the method for acquiring point cloud data belong to the same structure. For the specific implementation process, please refer to the method embodiment, which will not be repeated here.
图16是本申请实施例提供的一种计算机设备的结构示意图。图5中的仿真平台可以通过图16所示的计算机设备来实现。参见图16,该计算机设备包括至少一个处理器1601,通信总线1602、存储器1603以及至少一个通信接口1604。FIG. 16 is a schematic structural diagram of a computer device provided by an embodiment of the present application. The simulation platform in FIG. 5 can be implemented by the computer device shown in FIG. 16. Referring to FIG. 16, the computer device includes at least one processor 1601, a communication bus 1602, a memory 1603, and at least one communication interface 1604.
处理器1601可以是一个通用中央处理器(central processing unit,CPU)、特定应用集成电路(application-specific integrated circuit,ASIC)或一个或多个用于控制本申请方案程序执行的集成电路。The processor 1601 may be a general-purpose central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling program execution of the solution of this application.
通信总线1602可包括一通路,在上述组件之间传送信息。The communication bus 1602 may include a path for transferring information between the above-mentioned components.
存储器1603可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其它类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only Memory,CD-ROM)或其它光盘存储、光碟存储(包括压缩光碟、激光光束碟、光碟、数字通用光碟、蓝光光碟等)、磁盘或者其它磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。存储器1603可以是独立存在,通过通信总线1602与处理器1601相连接。存储器1603也可以和处理器1601集成在一起。The memory 1603 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions The dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only Memory (CD-ROM) or other optical disc storage, optical disc storage (Including compact discs, laser beam discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disks or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be stored by a computer Any other media taken, but not limited to this. The memory 1603 may exist independently, and is connected to the processor 1601 through a communication bus 1602. The memory 1603 may also be integrated with the processor 1601.
其中,存储器1603用于存储执行本申请方案的程序代码,并由处理器1601来控制执行。处理器1601用于执行存储器1603中存储的程序代码。程序代码中可以包括一个或多个软件模块。图5中的仿真平台可以通过处理器1601以及存储器1603中的程序代码中的一个或多个软件模块,来确定用于开发应用的数据。这一个或多个软件模块可以为图15中的任一模块。Among them, the memory 1603 is used to store program codes for executing the solutions of the present application, and the processor 1601 controls the execution. The processor 1601 is configured to execute program codes stored in the memory 1603. One or more software modules can be included in the program code. The simulation platform in FIG. 5 can determine the data used to develop the application through one or more software modules in the program code in the processor 1601 and the memory 1603. The one or more software modules can be any of the modules in FIG. 15.
通信接口1604,使用任何收发器一类的装置,用于与其它设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。 Communication interface 1604, using any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
在具体实现中,作为一种实施例,计算机设备可以包括多个处理器,例如图16中所示的处理器1601和处理器1605。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the computer device may include multiple processors, such as the processor 1601 and the processor 1605 shown in FIG. 16. Each of these processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
上述的计算机设备可以是一个通用计算机设备或者是一个专用计算机设备。在具体实现中,计算机设备可以是台式机、便携式电脑、网络服务器、掌上电脑(personal digital assistant,PDA)、移动手机、平板电脑、无线终端设备、通信设备或者嵌入式设备。本申请实施例不限定计算机设备的类型。The above-mentioned computer equipment may be a general-purpose computer equipment or a special-purpose computer equipment. In a specific implementation, the computer device may be a desktop computer, a portable computer, a network server, a PDA (personal digital assistant, PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, or an embedded device. The embodiments of this application do not limit the type of computer equipment.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意结合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个 计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如:同轴电缆、光纤、数据用户线(digital subscriber line,DSL))或无线(例如:红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如:软盘、硬盘、磁带)、光介质(例如:数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如:固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (for example: coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example: infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example: floppy disk, hard disk, magnetic tape), optical medium (for example: digital versatile disc (DVD)), or semiconductor medium (for example: solid state disk (SSD)) )Wait.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person of ordinary skill in the art can understand that all or part of the steps in the above embodiments can be implemented by hardware, or by a program to instruct relevant hardware. The program can be stored in a computer-readable storage medium. The storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述为本申请提供的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above-mentioned examples provided for this application are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the protection scope of this application. Inside.
Claims (15)
- 一种获取点云数据的方法,其特征在于,所述方法用于计算设备,所述方法包括:A method for obtaining point cloud data, characterized in that the method is used in a computing device, and the method includes:在车辆处于虚拟空间中第一位置点的情况下,根据所述第一位置点和道路拓扑模型确定第一扫描路段,所述道路拓扑模型用于指示所述虚拟空间中的道路拓扑;In the case that the vehicle is at the first position point in the virtual space, determine the first scanned road section according to the first position point and a road topology model, where the road topology model is used to indicate the road topology in the virtual space;确定分布在所述第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据;Determining the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section;根据在所述车辆上模拟的激光探测装置的激光扫描范围和所述多个虚拟物体中每个虚拟物体的三维模型数据,确定所述激光探测装置在所述第一位置点处获取的点云数据。Determine the point cloud acquired by the laser detection device at the first position point according to the laser scanning range of the laser detection device simulated on the vehicle and the three-dimensional model data of each virtual object in the plurality of virtual objects data.
- 如权利要求1所述的方法,其特征在于,所述道路拓扑模型包括多个道路节点、以及所述多个道路节点中的每个道路节点的虚拟物体信息,所述多个道路节点中第一道路节点的虚拟物体信息包括分布在所述第一道路节点的各个虚拟物体的三维模型数据,所述第一道路节点为所述多个道路节点中的任一个;The method according to claim 1, wherein the road topology model comprises a plurality of road nodes and virtual object information of each road node in the plurality of road nodes, and the first among the plurality of road nodes The virtual object information of a road node includes three-dimensional model data of each virtual object distributed on the first road node, and the first road node is any one of the multiple road nodes;所述确定分布在所述第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据,包括:The determining the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section includes:从各个道路节点的虚拟物体信息中,获取分布在所述第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据。From the virtual object information of each road node, three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section is obtained.
- 如权利要求2所述的方法,其特征在于,分布在所述第一扫描路段的虚拟物体与所述第一扫描路段的中心线之间的距离在第一距离阈值内。The method according to claim 2, wherein the distance between the virtual objects distributed on the first scanning road segment and the center line of the first scanning road segment is within a first distance threshold.
- 如权利要求2或3所述的方法,其特征在于,所述多个虚拟物体中第一虚拟物体的三维模型数据包括所述第一虚拟物体的多个表面点中每个表面点的三维位置信息,所述三维位置信息包括表面点的高度,所述第一虚拟物体为所述多个虚拟物体中任一虚拟物体;The method according to claim 2 or 3, wherein the three-dimensional model data of the first virtual object in the plurality of virtual objects includes the three-dimensional position of each surface point in the plurality of surface points of the first virtual object Information, the three-dimensional position information includes the height of a surface point, and the first virtual object is any one of the multiple virtual objects;分布在所述第一扫描路段的虚拟物体的三维模型数据中的高度在高度阈值以内。The height in the three-dimensional model data of the virtual objects distributed on the first scanning section is within a height threshold.
- 如权利要求1至4任一所述的方法,其特征在于,所述多个虚拟物体中第一虚拟物体的三维模型数据包括所述第一虚拟物体的包围盒的三维位置信息,所述第一虚拟物体的包围盒是指包围所述第一虚拟物体的几何体;The method according to any one of claims 1 to 4, wherein the three-dimensional model data of a first virtual object in the plurality of virtual objects includes three-dimensional position information of a bounding box of the first virtual object, and the first virtual object The bounding box of a virtual object refers to a geometric body surrounding the first virtual object;所述根据在所述车辆上模拟的激光探测装置的激光扫描范围和所述多个虚拟物体中每个虚拟物体的三维模型数据,确定所述激光探测装置在所述第一位置点处获取的点云数据,包括:According to the laser scanning range of the laser detection device simulated on the vehicle and the three-dimensional model data of each virtual object in the plurality of virtual objects, it is determined that the laser detection device acquired at the first position point Point cloud data, including:根据所述第一虚拟物体的包围盒的三维位置信息、所述车辆的朝向、以及所述第一位置点,从所述激光扫描范围中确定所述激光探测装置发射的激光光束覆盖所述第一虚拟物体的角度范围;According to the three-dimensional position information of the bounding box of the first virtual object, the orientation of the vehicle, and the first position point, it is determined from the laser scanning range that the laser beam emitted by the laser detection device covers the first The angular range of a virtual object;根据所述第一虚拟物体的三维模型数据确定第一激光光束在所述第一虚拟物体上的相交点,将所述相交点的三维位置信息作为所述第一激光光束对应的点云数据,所述第一激光光束为所述角度范围的任一条激光光束。Determine the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object, and use the three-dimensional position information of the intersection point as the point cloud data corresponding to the first laser beam, The first laser beam is any laser beam in the angular range.
- 如权利要求5所述的方法,其特征在于,所述根据所述第一虚拟物体的三维模型数据确定所述第一激光光束在所述第一虚拟物体上的相交点,包括:The method of claim 5, wherein the determining the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object comprises:在所述第一虚拟物体为近距离虚拟物体的情况下,根据所述第一虚拟物体的三维模型数据中各个表面点的三维位置信息,确定所述第一虚拟物体的多个第一面元,每个第一面元是指所述第一虚拟物体的各个表面点中的三个或三个以上的表面点形成的表面,所述近距离虚拟物体与所述第一位置点之间的距离在第二距离阈值之内;In the case that the first virtual object is a short-distance virtual object, determine the multiple first bins of the first virtual object according to the three-dimensional position information of each surface point in the three-dimensional model data of the first virtual object , Each first facet refers to a surface formed by three or more surface points among the various surface points of the first virtual object, and the distance between the near-distance virtual object and the first position point The distance is within the second distance threshold;确定所述多个第一面元中与所述第一激光光束相交的第一面元,将所述第一激光光束与所述相交的第一面元之间的交点作为所述第一激光光束在所述第一虚拟物体上的相交点。Determine the first surface element that intersects the first laser beam among the plurality of first surface elements, and use the intersection point between the first laser beam and the intersecting first surface element as the first laser beam The intersection point of the light beam on the first virtual object.
- 如权利要求5所述的方法,其特征在于,所述根据所述第一虚拟物体的三维模型数据确定所述第一激光光束在所述第一虚拟物体上的相交点,包括:The method of claim 5, wherein the determining the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object comprises:在所述第一虚拟物体为远距离虚拟物体的情况下,根据所述第一虚拟物体的包围盒的三维位置信息,确定所述包围盒的多个第二面元,所述远距离虚拟物体与所述第一位置点之间的距离在第二距离阈值和第一距离阈值之间,所述第一距离阈值大于所述第二距离阈值;In the case that the first virtual object is a remote virtual object, a plurality of second bins of the bounding box are determined according to the three-dimensional position information of the bounding box of the first virtual object, and the remote virtual object The distance from the first position point is between a second distance threshold and a first distance threshold, and the first distance threshold is greater than the second distance threshold;确定所述多个第二面元中与所述第一激光光束相交的第二面元,将所述第一激光光束与所述相交的第二面元之间的交点作为所述第一激光光束在所述第一虚拟物体上的相交点。Determine the second surface element that intersects the first laser beam among the plurality of second surface elements, and use the intersection point between the first laser beam and the intersecting second surface element as the first laser beam The intersection point of the light beam on the first virtual object.
- 如权利要求2所述的方法,其特征在于,所述根据各个道路节点的虚拟物体信息,确定分布在所述第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据,包括:The method according to claim 2, wherein the determining the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section according to the virtual object information of each road node comprises:将所述第一扫描路段以所述第一位置点为中心划分为多个扇形区域,得到每个扇形区域的边界信息;Dividing the first scanning road section into a plurality of fan-shaped areas centered on the first position point, and obtaining boundary information of each fan-shaped area;将所述多个扇形区域按照所述激光探测装置的扫描方向顺序排列;Arranging the plurality of fan-shaped areas in order according to the scanning direction of the laser detection device;对于排列后的第一个扇形区域,根据所述第一个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于所述第一个扇形区域的虚拟物体的三维模型数据;For the first fan-shaped area after the arrangement, according to the boundary information of the first fan-shaped area, obtain the three-dimensional model data of the virtual object located in the first fan-shaped area from the virtual object position information of each road node;对于排列后的第i个扇形区域,基于所述激光探测装置的扫描速度和所述车辆的移动速度,确定所述激光探测装置从所述第一个扇形区域扫描到所述第i个扇形区域的过程中所述车辆的移动位移,所述i为大于或等于2、且小于或等于划分的扇形区域的个数的正整数;For the i-th sector area after the arrangement, based on the scanning speed of the laser detection device and the moving speed of the vehicle, it is determined that the laser detection device scans from the first sector area to the i-th sector area The movement displacement of the vehicle in the process, where i is a positive integer greater than or equal to 2 and less than or equal to the number of divided sector regions;根据所述移动位移,更新所述第i个扇形区域的边界信息;Update the boundary information of the i-th sector area according to the movement displacement;根据更新后的第i个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于所述第一个扇形区域的虚拟物体的三维模型数据。According to the updated boundary information of the i-th sector area, the three-dimensional model data of the virtual object located in the first sector area is obtained from the position information of the virtual object of each road node.
- 如权利要求1至8任一所述的方法,其特征在于,所述激光探测装置在所述第一位置点处获取的点云数据包括所述激光探测装置发射的每条激光光束对应的点云数据;The method according to any one of claims 1 to 8, wherein the point cloud data acquired by the laser detection device at the first position point includes the point corresponding to each laser beam emitted by the laser detection device Cloud data所述确定所述激光探测装置在所述第一位置点处获取的点云数据之后,还包括:After determining the point cloud data acquired by the laser detection device at the first position point, the method further includes:缓存每条激光光束对应的点云数据;Cache the point cloud data corresponding to each laser beam;在所述车辆处于虚拟空间中的第二位置点的情况下,根据所述第二位置点和所述道路拓扑模型确定第二扫描路段;In a case where the vehicle is at a second position point in the virtual space, determining a second scanning road section according to the second position point and the road topology model;确定分布在所述第二扫描路段的多个虚拟物体;Determining multiple virtual objects distributed on the second scanning road section;如果分布在所述第一扫描路段的多个虚拟物体与分布在所述第二扫描路段的多个虚拟物体中存在同一虚拟物体、且所述同一虚拟物体与所述车辆之间的相对距离在所述第一位置点和所述第二位置点时没有变化,则将缓存中投射到所述同一虚拟物体上的激光光束对应的点云数据作为相应激光光束在所述第二位置点处对应的点云数据。If the same virtual object exists among the multiple virtual objects distributed on the first scanning road segment and the multiple virtual objects distributed on the second scanning road segment, and the relative distance between the same virtual object and the vehicle is between If there is no change between the first position point and the second position point, the point cloud data corresponding to the laser beam projected on the same virtual object in the buffer is used as the corresponding laser beam corresponding to the second position point Point cloud data.
- 一种获取点云数据的装置,其特征在于,所述装置包括:A device for acquiring point cloud data, characterized in that the device comprises:确定模块,用于:在车辆处于虚拟空间中第一位置点的情况下,根据所述第一位置点和道路拓扑模型确定第一扫描路段,所述道路拓扑模型用于指示所述虚拟空间中的道路拓扑;The determining module is used to determine the first scanning road section according to the first position point and the road topology model when the vehicle is at the first position point in the virtual space, and the road topology model is used to indicate the position in the virtual space Road topology;确定分布在所述第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据;Determining the three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section;根据在所述车辆上模拟的激光探测装置的激光扫描范围和所述多个虚拟物体中每个虚拟物体的三维模型数据,确定所述激光探测装置在所述第一位置点处获取的点云数据。Determine the point cloud acquired by the laser detection device at the first position point according to the laser scanning range of the laser detection device simulated on the vehicle and the three-dimensional model data of each virtual object in the plurality of virtual objects data.
- 如权利要求10所述的装置,其特征在于,所述道路拓扑模型包括多个道路节点、以及所述多个道路节点中的每个道路节点的虚拟物体信息,所述多个道路节点中第一道路节点的虚拟物体信息包括分布在在所述第一道路节点的各个虚拟物体的三维模型数据,所述第一道路节点为所述多个道路节点中的任一个;The device according to claim 10, wherein the road topology model comprises a plurality of road nodes, and virtual object information of each road node in the plurality of road nodes, and the first among the plurality of road nodes The virtual object information of a road node includes three-dimensional model data of each virtual object distributed on the first road node, and the first road node is any one of the multiple road nodes;所述确定模块用于:The determining module is used for:从各个道路节点的虚拟物体信息中,获取分布在所述第一扫描路段的多个虚拟物体中每个虚拟物体的三维模型数据。From the virtual object information of each road node, three-dimensional model data of each virtual object among the multiple virtual objects distributed on the first scanning road section is obtained.
- 如权利要求10或11所述的装置,其特征在于,所述多个虚拟物体中第一虚拟物体的三维模型数据包括所述第一虚拟物体的包围盒的三维位置信息,所述第一虚拟物体的包围盒是指包围所述第一虚拟物体的几何体,所述第一虚拟物体为所述多个虚拟物体中任一虚拟物体;The device according to claim 10 or 11, wherein the three-dimensional model data of a first virtual object in the plurality of virtual objects includes three-dimensional position information of a bounding box of the first virtual object, and the first virtual object The bounding box of an object refers to a geometric body surrounding the first virtual object, and the first virtual object is any virtual object among the multiple virtual objects;所述确定模块用于:The determining module is used for:根据所述第一虚拟物体的包围盒的三维位置信息、所述车辆的朝向、以及所述第一位置点,从所述激光扫描范围中确定所述激光探测装置发射的激光光束覆盖所述第一虚拟物体的角度范围;According to the three-dimensional position information of the bounding box of the first virtual object, the orientation of the vehicle, and the first position point, it is determined from the laser scanning range that the laser beam emitted by the laser detection device covers the first The angular range of a virtual object;根据所述第一虚拟物体的三维模型数据确定第一激光光束在所述第一虚拟物体上的相交点,将所述相交点的三维位置信息作为所述第一激光光束对应的点云数据,所述第一激光光束为所述角度范围的任一条激光光束。Determine the intersection point of the first laser beam on the first virtual object according to the three-dimensional model data of the first virtual object, and use the three-dimensional position information of the intersection point as the point cloud data corresponding to the first laser beam, The first laser beam is any laser beam in the angular range.
- 如权利要求11所述的装置,其特征在于,所述确定模块用于:The device according to claim 11, wherein the determining module is configured to:将所述第一扫描路段以所述第一位置点为中心划分为多个扇形区域,得到每个扇形区域的边界信息;Dividing the first scanning road section into a plurality of fan-shaped areas centered on the first position point, and obtaining boundary information of each fan-shaped area;将所述多个扇形区域按照所述激光探测装置的扫描方向顺序排列;Arranging the plurality of fan-shaped areas in order according to the scanning direction of the laser detection device;对于排列后的第一个扇形区域,根据所述第一个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于所述第一个扇形区域的虚拟物体的三维模型数据;For the first fan-shaped area after the arrangement, according to the boundary information of the first fan-shaped area, obtain the three-dimensional model data of the virtual object located in the first fan-shaped area from the virtual object position information of each road node;对于排列后的第i个扇形区域,基于所述激光探测装置的扫描速度和所述车辆的移动速 度,确定所述激光探测装置从所述第一个扇形区域扫描到所述第i个扇形区域的过程中所述车辆的移动位移,所述i为大于或等于2、且小于或等于划分的扇形区域的个数的正整数;For the i-th sector area after the arrangement, based on the scanning speed of the laser detection device and the moving speed of the vehicle, it is determined that the laser detection device scans from the first sector area to the i-th sector area The moving displacement of the vehicle in the process, where i is a positive integer greater than or equal to 2 and less than or equal to the number of divided sector regions;根据所述移动位移,更新所述第i个扇形区域的边界信息;Update the boundary information of the i-th sector area according to the movement displacement;根据更新后的第i个扇形区域的边界信息,从各个道路节点的虚拟物体位置信息中获取位于所述第一个扇形区域的虚拟物体的三维模型数据。According to the updated boundary information of the i-th sector area, the three-dimensional model data of the virtual object located in the first sector area is obtained from the position information of the virtual object of each road node.
- 如权利要求10至13任一所述的装置,其特征在于,所述激光探测装置在所述第一位置点处获取的点云数据包括所述激光探测装置发射的每条激光光束对应的点云数据;The device according to any one of claims 10 to 13, wherein the point cloud data acquired by the laser detection device at the first position point includes the point corresponding to each laser beam emitted by the laser detection device Cloud data所述装置还包括:The device also includes:缓存模块,用于缓存每条激光光束对应的点云数据;Cache module, used to cache the point cloud data corresponding to each laser beam;所述确定模块,还用于在所述车辆处于虚拟空间中的第二位置点的情况下,根据所述第二位置点和所述道路拓扑模型确定第二扫描路段;确定分布在所述第二扫描路段的多个虚拟物体;如果分布在所述第一扫描路段的多个虚拟物体与分布在所述第二扫描路段的多个虚拟物体中存在同一虚拟物体、且所述同一虚拟物体与所述车辆之间的相对距离在所述第一位置点和所述第二位置点时没有变化,则将缓存中投射到所述同一虚拟物体上的激光光束对应的点云数据作为相应激光光束在所述第二位置点处对应的点云数据。The determining module is further configured to determine a second scanning road section according to the second position point and the road topology model when the vehicle is at the second position point in the virtual space; 2. Multiple virtual objects on the scanning road section; if the same virtual object exists among the multiple virtual objects distributed on the first scanning road section and the multiple virtual objects distributed on the second scanning road section, and the same virtual object and If the relative distance between the vehicles does not change between the first position point and the second position point, the point cloud data corresponding to the laser beam projected on the same virtual object in the buffer is used as the corresponding laser beam Point cloud data corresponding to the second location point.
- 一种计算设备,其特征在于,所述计算设备包括存储器和处理器,所述存储器用于存储计算机指令,所述处理器用于读取所述计算机指令以执行如权利要求1-9任一项所述的方法。A computing device, wherein the computing device includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to read the computer instructions to execute any one of claims 1-9 The method described.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010116696.XA CN111275816B (en) | 2020-02-25 | 2020-02-25 | Method for acquiring point cloud data and related equipment |
CN202010116696.X | 2020-02-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021170015A1 true WO2021170015A1 (en) | 2021-09-02 |
Family
ID=71000366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/077748 WO2021170015A1 (en) | 2020-02-25 | 2021-02-24 | Method for acquiring point cloud data, and related device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111275816B (en) |
WO (1) | WO2021170015A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114202625A (en) * | 2021-12-10 | 2022-03-18 | 北京百度网讯科技有限公司 | Method and device for extracting road shoulder line and electronic equipment |
CN114577491A (en) * | 2022-01-26 | 2022-06-03 | 上海和夏新能源科技有限公司 | Vehicle chassis testing system and method based on intelligent driving and ADAS simulation |
CN115930933A (en) * | 2022-09-20 | 2023-04-07 | 江苏海洋大学 | Multi-agent collaborative mapping method based on cluster control |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111275816B (en) * | 2020-02-25 | 2022-05-10 | 华为技术有限公司 | Method for acquiring point cloud data and related equipment |
CN112504290A (en) * | 2020-11-06 | 2021-03-16 | 北京航迹科技有限公司 | Method, apparatus, device and storage medium for determining nearest road boundary |
CN112446958B (en) * | 2020-11-13 | 2023-07-28 | 山东产研信息与人工智能融合研究院有限公司 | Road traffic accident auxiliary processing method and system based on laser point cloud |
CN112540616B (en) * | 2020-12-11 | 2021-07-16 | 北京赛目科技有限公司 | Laser point cloud generation method and device based on unmanned driving |
CN113516865B (en) * | 2021-03-17 | 2022-07-05 | 北京易控智驾科技有限公司 | Mine unmanned road network vehicle queuing method and device based on high-precision map |
CN117686998A (en) * | 2022-09-01 | 2024-03-12 | 深圳市速腾聚创科技有限公司 | Scanning device layout method, scanning device layout device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109839922A (en) * | 2017-11-28 | 2019-06-04 | 百度在线网络技术(北京)有限公司 | For controlling the method and device of automatic driving vehicle |
US20190302259A1 (en) * | 2018-03-27 | 2019-10-03 | The Mathworks, Inc. | Systems and methods for generating synthetic sensor data |
US20190347850A1 (en) * | 2018-05-11 | 2019-11-14 | Continental Automotive Systems, Inc. | Three-Dimensional Point Cloud Generated by High-Resolution Flash LIDAR |
CN110779730A (en) * | 2019-08-29 | 2020-02-11 | 浙江零跑科技有限公司 | L3-level automatic driving system testing method based on virtual driving scene vehicle on-ring |
CN111275816A (en) * | 2020-02-25 | 2020-06-12 | 华为技术有限公司 | Method for acquiring point cloud data and related equipment |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9761002B2 (en) * | 2013-07-30 | 2017-09-12 | The Boeing Company | Stereo-motion method of three-dimensional (3-D) structure information extraction from a video for fusion with 3-D point cloud data |
DE102016111239A1 (en) * | 2016-06-20 | 2017-12-21 | Ocean Maps GmbH | Method for generating 3D data of an object |
CN109508579B (en) * | 2017-09-15 | 2022-02-22 | 百度在线网络技术(北京)有限公司 | Method and device for acquiring virtual point cloud data |
CN108564615B (en) * | 2018-04-20 | 2022-04-29 | 驭势(上海)汽车科技有限公司 | Method, device and system for simulating laser radar detection and storage medium |
CN108564874B (en) * | 2018-05-07 | 2021-04-30 | 腾讯大地通途(北京)科技有限公司 | Ground mark extraction method, model training method, device and storage medium |
US10491885B1 (en) * | 2018-06-13 | 2019-11-26 | Luminar Technologies, Inc. | Post-processing by lidar system guided by camera information |
CN108732556B (en) * | 2018-08-17 | 2020-03-27 | 西南交通大学 | Vehicle-mounted laser radar simulation method based on geometric intersection operation |
CN109271893B (en) * | 2018-08-30 | 2021-01-01 | 百度在线网络技术(北京)有限公司 | Method, device, equipment and storage medium for generating simulation point cloud data |
CN109960857B (en) * | 2019-02-28 | 2023-05-23 | 东软睿驰汽车技术(沈阳)有限公司 | Laser radar simulation method, device and simulation platform |
CN110824443B (en) * | 2019-04-29 | 2020-07-31 | 当家移动绿色互联网技术集团有限公司 | Radar simulation method and device, storage medium and electronic equipment |
CN110781827B (en) * | 2019-10-25 | 2021-05-11 | 中山大学 | Road edge detection system and method based on laser radar and fan-shaped space division |
-
2020
- 2020-02-25 CN CN202010116696.XA patent/CN111275816B/en active Active
-
2021
- 2021-02-24 WO PCT/CN2021/077748 patent/WO2021170015A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109839922A (en) * | 2017-11-28 | 2019-06-04 | 百度在线网络技术(北京)有限公司 | For controlling the method and device of automatic driving vehicle |
US20190302259A1 (en) * | 2018-03-27 | 2019-10-03 | The Mathworks, Inc. | Systems and methods for generating synthetic sensor data |
US20190347850A1 (en) * | 2018-05-11 | 2019-11-14 | Continental Automotive Systems, Inc. | Three-Dimensional Point Cloud Generated by High-Resolution Flash LIDAR |
CN110779730A (en) * | 2019-08-29 | 2020-02-11 | 浙江零跑科技有限公司 | L3-level automatic driving system testing method based on virtual driving scene vehicle on-ring |
CN111275816A (en) * | 2020-02-25 | 2020-06-12 | 华为技术有限公司 | Method for acquiring point cloud data and related equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114202625A (en) * | 2021-12-10 | 2022-03-18 | 北京百度网讯科技有限公司 | Method and device for extracting road shoulder line and electronic equipment |
CN114577491A (en) * | 2022-01-26 | 2022-06-03 | 上海和夏新能源科技有限公司 | Vehicle chassis testing system and method based on intelligent driving and ADAS simulation |
CN115930933A (en) * | 2022-09-20 | 2023-04-07 | 江苏海洋大学 | Multi-agent collaborative mapping method based on cluster control |
Also Published As
Publication number | Publication date |
---|---|
CN111275816A (en) | 2020-06-12 |
CN111275816B (en) | 2022-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021170015A1 (en) | Method for acquiring point cloud data, and related device | |
US11353589B2 (en) | Iterative closest point process based on lidar with integrated motion estimation for high definition maps | |
CN110869981B (en) | Vector data encoding of high definition map data for autonomous vehicles | |
CN110832279B (en) | Alignment of data captured by autonomous vehicles to generate high definition maps | |
WO2021238306A1 (en) | Method for processing laser point cloud and related device | |
WO2021003452A1 (en) | Determination of lane connectivity at traffic intersections for high definition maps | |
US12044535B2 (en) | Map selection for vehicle pose system | |
CN111542860A (en) | Sign and lane creation for high definition maps for autonomous vehicles | |
WO2021003487A1 (en) | Training data generation for dynamic objects using high definition map data | |
CN103236079A (en) | Improved three-dimensional model voxelization-based inner sphere construction method | |
CN113924459B (en) | Dynamic sensor range detection for vehicle navigation | |
US11970185B2 (en) | Data structure for storing information relating to an environment of an autonomous vehicle and methods of use thereof | |
RU2767949C2 (en) | Method (options) and system for calibrating several lidar sensors | |
CN116348739A (en) | Map generation system and method based on ray casting and semantic image | |
Guvenc et al. | Simulation Environment for Safety Assessment of CEAV Deployment in Linden | |
Wu et al. | A non-rigid hierarchical discrete grid structure and its application to UAVs conflict detection and path planning | |
CN114092660A (en) | High-precision map generation method and device and vehicle for generating map | |
US20220221585A1 (en) | Systems and methods for monitoring lidar sensor health | |
US20240010223A1 (en) | Multiple sensor calibration in autonomous vehicles performed in an undefined environment | |
US20240012106A1 (en) | Multiple sensor calibration in autonomous vehicles performed in an undefined environment | |
US20240087094A1 (en) | Systems And Methods For Combining Multiple Depth Maps | |
He et al. | A Novel Perception Entropy Metric for Optimizing Vehicle Perception with LiDAR Deployment | |
Yu et al. | A 3D map construction method for autonomous vehicles in unknown environment | |
CN118613824A (en) | Obstacle detection method and related device | |
JP2001358664A (en) | Apparatus for evaluating range of radio waves |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21761483 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21761483 Country of ref document: EP Kind code of ref document: A1 |