Point cloud registration system for autonomous vehicles
Through the combination of partitioned parallel computing and pose map algorithm, the point cloud registration problem of autonomous vehicles in a GPS signal-free environment is solved, and high-precision high-definition 3D point cloud map construction is achieved, reducing computational complexity.
Patent Information
- Application Number
- CN201980002320.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-01-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2039-01-30
AI Technical Summary
The existing point cloud registration system for autonomous vehicles has GPS signal error problems in cities with dense buildings or dense forests, and the calculation complexity is high, making it difficult to accurately construct high-definition 3D point cloud maps in weak or no GPS signal environments, especially in In scenarios with incomplete signal such as tunnels or garages.
By dividing the large map area into smaller partitions, using topological information to calculate each partition in parallel in the computing cluster, combined with the point cloud and pose information captured by the LIDAR sensor, an optimization model is applied for point cloud registration and transformation, using the pose Graph algorithms merge partitions to generate high-definition 3D point cloud maps.
It improves the accuracy of point cloud registration in weak or no GPS signal environments, reduces computational complexity, enhances autonomous vehicles' perception of the driving environment, and ensures the high accuracy of high-definition 3D point cloud maps.
Smart Images

Figure CN112055805B
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure generally relate to operating an autonomous vehicle. More specifically, embodiments of the present disclosure relate to a point cloud registration system for an autonomous vehicle (ADV). Background Art
[0002] A vehicle operating in an automated driving mode (e.g., without a human operator) can relieve passengers, particularly the driver, from some driving-related responsibilities. When operating in an automated driving mode, the vehicle can navigate to various locations using onboard sensors, allowing the vehicle to operate with minimal human interaction or in some situations without any passengers.
[0003] Motion planning and control are key operations in autonomous driving. However, traditional motion planning operations mainly estimate the difficulty of completing a given path based on its curvature and speed, without considering the characteristic differences of different types of vehicles. The same motion planning and control are applied to all types of vehicles, which may be inaccurate and not smooth in some cases.
[0004] High-definition (HD) three-dimensional (3D) point cloud maps are important for autonomous vehicles, and the point cloud registration system is the focus of building HD3D point cloud maps based on point cloud data. HD 3D point cloud maps with high accuracy are the key to motion planning of autonomous vehicles (ADVs).
[0005] However, there are several issues that affect the performance and accuracy of the map construction. First, current point cloud registration algorithms are highly dependent on GPS signals for positioning for map construction, which may have a meter-level error range in, for example, urban streets lined with tall buildings or dense forests, or record signals with GPS bounces. Or, for example, in tunnels or garages, the GPS may not be able to fully record the signal. Second, the registration of point clouds can be computationally complex, which is challenging and time-consuming for large map areas, for example.
[0006] Furthermore, the accuracy of the registered HD 3D point cloud map may depend on the quality of the point cloud or the stitching of the point cloud. If the point cloud map has ghost images caused by, for example, the stitching of the point cloud, the accuracy of the HD 3D point cloud map may be compromised. In order to ensure high accuracy, it is desirable to evaluate the point cloud map for ghosting effects. Summary of the invention
[0007] In a first aspect, an embodiment of the present disclosure provides a computer-implemented method for registering a point cloud for an autonomous driving vehicle (ADV), the method comprising: receiving multiple point clouds and corresponding poses from an ADV equipped with a LIDAR sensor, the LIDAR sensor capturing a point cloud of a drivable area to be mapped, wherein the point cloud corresponds to a first coordinate system; dividing the point cloud and the corresponding poses into one or more loop partitions based on drivable loop information captured by the point cloud; for each of the loop partitions, applying an optimization model to the point cloud corresponding to the loop partition to register the point cloud, including transforming the point cloud from the first coordinate system to a second coordinate system; and merging the one or more loop partitions together using a pose graph algorithm, wherein the merged partitions of the point cloud are used to perceive the driving environment around the ADV.
[0008] In a second aspect, an embodiment of the present disclosure provides a non-temporary machine-readable medium storing instructions, which, when executed by a processor, causes the processor to perform the following operations, the operations comprising: receiving multiple point clouds and corresponding poses from an ADV equipped with a LIDAR sensor, the LIDAR sensor capturing a point cloud of a drivable area to be mapped, wherein the point cloud corresponds to a first coordinate system; dividing the point cloud and the corresponding poses into one or more loop partitions based on drivable loop information captured by the point cloud; for each of the loop partitions, applying an optimization model to the point cloud corresponding to the loop partition to register the point cloud, including transforming the point cloud from the first coordinate system to a second coordinate system; and merging the one or more loop partitions together using a pose graph algorithm, wherein the merged partitions of the point cloud are used to perceive the driving environment around the ADV.
[0009] In a third aspect, an embodiment of the present invention provides a data processing system, comprising: a processor; and a memory, the memory being connected to the processor to store instructions, the instructions, when executed by the processor, causing the processor to perform the following operations, the operations comprising: receiving multiple point clouds and corresponding poses from an ADV equipped with a LIDAR sensor, the LIDAR sensor capturing a point cloud of a drivable area to be mapped, wherein the point cloud corresponds to a first coordinate system; dividing the point cloud and the corresponding poses into one or more loop partitions based on drivable loop information captured by the point cloud; for each of the loop partitions, applying an optimization model to the point cloud corresponding to the loop partition to register the point cloud, including transforming the point cloud from the first coordinate system to a second coordinate system; and merging the one or more loop partitions together using a pose graph algorithm, wherein the merged partitions of the point cloud are used to perceive the driving environment around the ADV. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Embodiments of the present disclosure are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like references indicate similar elements.
[0011] Figure 1 is a block diagram illustrating a networked system according to one embodiment.
[0012] Figure 2 is a block diagram illustrating an example of an autonomous driving vehicle according to one embodiment.
[0013] FIG. 3A to FIG. 3B is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle, according to one embodiment.
[0014] Figure 4 is a block diagram illustrating an example of an HD map generation engine according to one embodiment.
[0015] Figure 5 is a block diagram illustrating an example of an HD map generation system according to one embodiment.
[0016] Figure 6 is a block diagram illustrating an example of a pipeline for an HD map generation system according to one embodiment.
[0017] Fig. 7A is a diagram illustrating a map area with a closed loop according to one embodiment.
[0018] Figure 7B is an image showing a two-dimensional top view of a LIDAR image according to one embodiment.
[0019] Figure 8 is a flow chart illustrating an example of a method according to one embodiment.
[0020] Fig. 9 is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle, according to one embodiment.
[0021] Fig.10 is a block diagram illustrating an example of a real-time HD map generation module according to one embodiment.
[0022] Fig.11A is a flow chart illustrating an example of a real-time HD map generation pipeline according to one embodiment.
[0023] Fig. 11B is a flow chart illustrating an example of closed loop positioning according to one embodiment.
[0024] Fig.12An example of a multilayer perceptron according to one embodiment is shown.
[0025] Fig.13 An example of a target map according to one embodiment is shown.
[0026] Fig.14 is a flow chart illustrating an example of a method according to one embodiment.
[0027] Fig.15 is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle, according to one embodiment.
[0028] Fig.16 is a block diagram illustrating an example of an RGB point cloud module according to one embodiment.
[0029] Fig.17 is a block diagram illustrating an example of an RGB point cloud synchronization method according to some implementations.
[0030] Fig.18 is a flow chart illustrating an example of a method according to one embodiment.
[0031] Fig.19 is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle, according to one embodiment.
[0032] Fig. 20 is a block diagram illustrating an example of a map partitioning module according to one embodiment.
[0033] Fig.21 is a flowchart illustrating an example of road sign extraction according to one embodiment.
[0034] Fig. 22 An example of searching for extracting road marking points according to one embodiment is shown.
[0035] Fig.23 is a flow chart illustrating an example of road curb extraction according to one embodiment.
[0036] Fig.24 An example of road curb extraction according to one embodiment is shown.
[0037] Fig.25 An example of map partitioning according to one embodiment is shown.
[0038] Fig.26A and Fig.26B is a flow chart illustrating an example of a method according to some implementations.
[0039] Fig. 27is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle, according to one embodiment.
[0040] Fig.28 is a block diagram illustrating an example of a ghosting effects engine according to one embodiment.
[0041] Fig.29 is a flow chart illustrating an example of ghosting effect detection according to one embodiment.
[0042] Fig.30 is a flow chart illustrating an example of a method according to one embodiment.
[0043] Fig.31 is a block diagram illustrating a data processing system according to one embodiment. DETAILED DESCRIPTION
[0044] Various embodiments and aspects of the present disclosure will be described with reference to the details discussed below, and the accompanying drawings will illustrate the various embodiments. The following description and drawings are illustrative of the present disclosure and should not be construed as limiting the present disclosure. Many specific details are described to provide a comprehensive understanding of various embodiments of the present disclosure. However, in some cases, well-known or conventional details are not described to provide a concise discussion of embodiments of the present disclosure.
[0045] References in this specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present disclosure. The phrase "in one embodiment" in various places in this specification does not necessarily refer to the same embodiment.
[0046] References to "HD" or "high definition" in this specification, such as HD maps or HD poses, refer to maps or poses with a very high level of accuracy. For example, an HD map may have an accuracy level of centimeters or tens of centimeters.
[0047] To address the issues and computational complexity issues that arise with weak or no GPS signals for large map areas, the large map areas are divided into smaller partitions using topological information (e.g., closed loops) of the map areas. The computations for each partition can then be computed separately (e.g., in parallel) in each node of a computing cluster (e.g., a Hadoop cluster), thereby utilizing the computational load of each node to reduce the overall computational complexity. In addition, the topological information improves point cloud registration in the presence of weak or no GPS signals.
[0048] According to a first aspect, a system for registering a point cloud for an autonomous vehicle (ADV) is disclosed. The system receives a plurality of point clouds and corresponding poses from an ADV equipped with a LIDAR sensor, wherein the LIDAR sensor captures a point cloud of a drivable area to be mapped, wherein the point clouds correspond to a first coordinate system (e.g., a relative coordinate system relative to the position of the ADV). The system divides the point cloud and the corresponding poses into one or more loop partitions based on the drivable loop information captured by the point cloud. For each loop partition, the system applies an optimization model to the point cloud corresponding to the loop partition to register the point cloud, including transforming the point cloud from a first coordinate system to a second coordinate system (e.g., a global coordinate system or an absolute coordinate system such as a UTM coordinate system). The system uses a pose graph algorithm to merge one or more loop partitions together, wherein the merged point cloud partitions are used to perceive the driving environment around the ADV.
[0049] According to a second aspect, a system receives a point cloud frame stream from one or more LIDAR sensors of an ADV in real time, and receives corresponding poses in real time. The system extracts fragment information for each frame of the frame stream based on the geometric shape or spatial attributes of the points in each frame of the frame stream, wherein the fragment information includes one or more fragments of at least a first frame corresponding to a first pose. The system registers the frame stream based on the fragment information. The system generates a first point cloud map for the frame stream based on the frame registration.
[0050] According to a third aspect, a system receives a plurality of point clouds captured by one or more LIDAR sensors of an ADV and receives corresponding poses. The system receives a plurality of RGB (red, blue, and green) images from one or more image capture sensors of the ADV. The system synchronizes the RGB images with the point clouds to obtain an RGB point cloud. The system extracts features from the RGB point cloud, the features including contextual information and spatial information of the RGB point cloud. The system registers the RGB point cloud based on the extracted features, and generates a point cloud map based on the registration of the RGB point cloud.
[0051] According to a fourth aspect, a system identifies a road navigated by an ADV, the road captured by one or more point clouds from one or more LIDAR sensors. The system extracts road marking information of the identified road from the point cloud, the road marking information describing one or more road markings of the identified road. The system divides the road into one or more road partitions based on the road markings. The system generates a point cloud map based on the road partitions, wherein the point cloud map is used to perceive a driving environment around the ADV.
[0052] According to a fifth aspect, a system generates an occupancy grid map based on an initial frame of a point cloud. The system receives one or more subsequent frames of the point cloud. For each of the subsequent frames, the system updates the occupancy grid map based on the subsequent frame. The system identifies one or more anomalous voxels based on the update, the system determines whether the anomalous voxels belong to a wall object, and in response to determining that the anomalous voxels belong to a wall object, the system marks the anomalous voxels as ghosting effect voxels for subsequent frames.
[0053] Figure 1 is a block diagram showing a network configuration of an autonomous driving vehicle according to one embodiment of the present disclosure. Figure 1 , the network configuration 100 includes an autonomous vehicle 101 that can be communicatively connected to one or more servers 103 to 104 via a network 102. Although one autonomous vehicle is shown, multiple autonomous vehicles can be connected to each other and / or to servers 103 to 104 via the network 102. The network 102 can be any type of network, for example, a wired or wireless local area network (LAN), a wide area network (WAN) such as the Internet, a cellular network, a satellite network, or a combination thereof. Servers 103 to 104 can be any type of server or server cluster, such as a web or cloud server, an application server, a back-end server, or a combination thereof. Servers 103 to 104 can be data analysis servers, content servers, traffic information servers, maps and points of interest (MPOI) servers, or location servers, etc.
[0054] An autonomous vehicle refers to a vehicle that can be configured to be in an autonomous mode in which the vehicle navigates through an environment with little or no input from a driver. Such an autonomous vehicle may include a sensor system having one or more sensors configured to detect information related to the environment in which the vehicle operates. The vehicle and its associated controller use the detected information to navigate through the environment. The autonomous vehicle 101 may operate in a manual mode, in a fully autonomous mode, or in a partially autonomous mode.
[0055] In one embodiment, the autonomous vehicle 101 includes, but is not limited to, a perception and planning system 110, a vehicle control system 111, a wireless communication system 112, a user interface system 113, an infotainment system 114, and a sensor system 115. The autonomous vehicle 101 may also include certain common components included in an ordinary vehicle, such as an engine, wheels, a steering wheel, a transmission, etc., which may be controlled by the vehicle control system 111 and / or the perception and planning system 110 using a variety of communication signals and / or commands, such as acceleration signals or commands, deceleration signals or commands, steering signals or commands, braking signals or commands, etc.
[0056] Components 110 to 115 may be communicatively coupled to each other via an interconnect, a bus, a network, or a combination thereof. For example, components 110 to 115 may be communicatively coupled to each other via a controller area network (CAN) bus. The CAN bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other in applications without a host. It is a message-based protocol originally designed for multiplexed electrical wiring within an automobile, but is also used in many other environments.
[0057] Now refer to Figure 2 In one embodiment, the sensor system 115 includes, but is not limited to, one or more cameras 211, a global positioning system (GPS) unit 212, an inertial measurement unit (IMU) 213, a radar unit 214, and a light detection and ranging (LIDAR) unit 215. The GPS system 212 may include a transceiver operable to provide information about the location of the autonomous vehicle. The IMU unit 213 may sense the position and orientation changes of the autonomous vehicle based on inertial acceleration. The radar unit 214 may represent a system that uses radio signals to sense objects within the local environment of the autonomous vehicle. In some embodiments, in addition to sensing objects, the radar unit 214 may additionally sense the speed and / or heading of the object. The LIDAR unit 215 may use lasers to sense objects in the environment of the autonomous vehicle. The LIDAR unit 215 may also include, among other system components, one or more laser sources, a laser scanner, and one or more detectors. The camera 211 may include one or more devices for capturing images of the environment surrounding the autonomous vehicle. The camera 211 may be a still camera and / or a video camera. The camera may be mechanically movable, for example, by mounting the camera on a rotating and / or tilting platform.
[0058] The sensor system 115 may also include other sensors, such as: a sonar sensor, an infrared sensor, a steering sensor, a throttle sensor, a brake sensor, and an audio sensor (e.g., a microphone). The audio sensor may be configured to collect sound from the environment surrounding the autonomous vehicle. The steering sensor may be configured to sense the steering angle of the steering wheel, the wheels of the vehicle, or a combination thereof. The throttle sensor and the brake sensor sense the throttle position and the brake position of the vehicle, respectively. In some cases, the throttle sensor and the brake sensor may be integrated into an integrated throttle / brake sensor.
[0059] In one embodiment, the vehicle control system 111 includes, but is not limited to, a steering unit 201, a throttle unit 202 (also referred to as an acceleration unit), and a brake unit 203. The steering unit 201 is used to adjust the direction or forward direction of the vehicle. The throttle unit 202 is used to control the speed of the motor or engine, which in turn controls the speed and acceleration of the vehicle. The brake unit 203 decelerates the vehicle by providing friction to decelerate the wheels or tires of the vehicle. It should be noted that, as Figure 2 The components shown may be implemented in hardware, software or a combination thereof.
[0060] Back to Figure 1 , the wireless communication system 112 allows communication between the autonomous driving vehicle 101 and external systems such as devices, sensors, other vehicles, etc. For example, the wireless communication system 112 can communicate directly with one or more devices wirelessly, or communicate wirelessly via a communication network, such as communicating with servers 103 to 104 through the network 102. The wireless communication system 112 can use any cellular communication network or wireless local area network (WLAN), for example, using WiFi, to communicate with another component or system. The wireless communication system 112 can communicate directly with a device (e.g., a passenger's mobile device, a display device, a speaker in the vehicle 101) using, for example, an infrared link, Bluetooth, etc. The user interface system 113 can be part of a peripheral device implemented in the vehicle 101, including, for example, a keyboard, a touch screen display device, a microphone, and a speaker.
[0061] Some or all of the functions of the autonomous vehicle 101 may be controlled or managed by the perception and planning system 110, particularly when operating in an autonomous mode. The perception and planning system 110 includes the necessary hardware (e.g., processor, memory, storage device) and software (e.g., operating system, planning and routing program) to receive information from the sensor system 115, the control system 111, the wireless communication system 112, and / or the user interface system 113, process the received information, plan a route or path from a starting point to a destination point, and then drive the vehicle 101 based on the planning and control information. Alternatively, the perception and planning system 110 may be integrated with the vehicle control system 111.
[0062] For example, a user as a passenger may specify a starting location and a destination of a trip, for example, via a user interface. The perception and planning system 110 obtains trip-related data. For example, the perception and planning system 110 may obtain location and route information from an MPOI server, which may be part of the servers 103 to 104. The location server provides location services, and the MPOI server provides map services and POIs of certain locations. Alternatively, such location and MPOI information may be locally cached in a permanent storage device of the perception and planning system 110.
[0063] As the autonomous vehicle 101 moves along the route, the perception and planning system 110 may also obtain real-time traffic information from a traffic information system or server (TIS). It should be noted that the servers 103 to 104 may be operated by a third-party entity. Alternatively, the functionality of the servers 103 to 104 may be integrated with the perception and planning system 110. Based on real-time traffic information, MPOI information, and location information, as well as real-time local environmental data (e.g., obstacles, objects, nearby vehicles) detected or sensed by the sensor system 115, the perception and planning system 110 may plan an optimal route and drive the vehicle 101 according to the planned route, for example, via the control system 111, to safely and efficiently reach a designated destination.
[0064] The server 103 may be a data analysis system that performs data analysis services for various clients. In one embodiment, the data analysis system 103 includes a data collector 121 and a machine learning engine 122. The data collector 121 collects driving statistics 123 from various vehicles (autonomous driving vehicles or conventional vehicles driven by human drivers). The driving statistics 123 include information representing driving commands (e.g., throttle commands, brake commands, steering commands) issued at different points in time and the responses of the vehicle (e.g., speed, acceleration, deceleration, direction) captured by the vehicle's sensors. The driving statistics 123 may also include information describing the driving environment at different points in time, such as, for example, routes (including starting and destination locations), MPOIs, road conditions, weather conditions, etc. The driving statistics 123 may further include point cloud information, such as point cloud images captured by a LIDAR sensor mounted on the vehicle to describe the driving environment, and corresponding poses captured by an IMU and GPS sensor to describe the position and orientation of the vehicle.
[0065] Based on the driving statistics data 123, the machine learning engine 122 generates or trains a set of rules, algorithms and / or prediction models 124 for various purposes. In one embodiment, the algorithms 124 may include a bundle adjustment algorithm, an alternating direction multiplier (ADMM) algorithm, an image segmentation algorithm (e.g., edge detection, motion detection, etc.), a simultaneous localization and mapping (SLAM) algorithm, and a deep learning neural network model.
[0066] The algorithm 124 may be uploaded to the ADV for real-time use during autonomous driving, or may be used by other modules of the server 103, such as the HD map generation engine 125. In one embodiment, the HD map generation engine 125 may register the point cloud collected by the ADV and generate an HD map based on the registered point cloud. Although the HD map generation engine 125 is shown as part of the server 103, in some embodiments, the engine 125 may be part of the server 104.
[0067] Figure 3A and Figure 3B is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle according to one embodiment. System 300 may be implemented as Figure 1 A portion of an autonomous vehicle 101 includes, but is not limited to, a perception and planning system 110, a control system 111, and a sensor system 115. FIG. 3A to FIG. 3B The perception and planning system 110 includes but is not limited to a positioning module 301 , a perception module 302 , a prediction module 303 , a decision module 304 , a planning module 305 , a control module 306 and a route scheduling module 307 .
[0068] Some or all of the modules 301 to 307 may be implemented in software, hardware, or a combination thereof. For example, these modules may be installed in permanent storage 352, loaded into memory 351, and executed by one or more processors (not shown). It should be noted that some or all of these modules may be communicatively coupled to Figure 2 Some or all modules of the vehicle control system 111 of the present invention may be integrated with them. Some of the modules 301 to 307 may be integrated together into an integrated module.
[0069] The positioning module 301 determines the current location of the autonomous vehicle 300 (e.g., using the GPS unit 212) and manages any data related to the user's trip or route. The positioning module 301 (also referred to as the map and route module) manages any data related to the user's trip or route. The user can log in, for example, via a user interface and specify the starting location and destination of the trip. The positioning module 301 communicates with other components of the autonomous vehicle 300, such as map and route information 311, to obtain trip-related data. For example, the positioning module 301 can obtain location and route information from a location server and a map and POI (MPOI) server. The location server provides location services, and the MPOI server provides map services and POIs at certain locations, which can be cached as part of the map and route information 311. As the autonomous vehicle 300 moves along the route, the positioning module 301 can also obtain real-time traffic information from a traffic information system or server.
[0070] Based on the sensor data provided by the sensor system 115 and the positioning information obtained by the positioning module 301, the perception module 302 determines the perception of the surrounding environment. The perception information can represent what an average driver would perceive around the vehicle that the driver is driving. The perception can include, for example, lane configuration in the form of objects, traffic light signals, the relative position of another vehicle, pedestrians, buildings, crosswalks or other traffic-related signs (e.g., stop signs, yield signs), etc. The lane configuration includes information describing one lane or multiple lanes, such as the shape of the lane (e.g., straight or curvature), the width of the lane, the number of lanes in the road, one-way lanes or two-way lanes, merging lanes or diverging lanes, exit lanes, etc.
[0071] The perception module 302 may include a computer vision system or the functionality of a computer vision system to process and analyze images captured by one or more cameras to identify objects and / or features in the autonomous vehicle environment. The objects may include traffic signals, road boundaries, other vehicles, pedestrians, and / or obstacles, etc. The computer vision system may use object recognition algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system may map the environment, track objects, and estimate the speed of objects, etc. The perception module 302 may also detect objects based on other sensor data provided by other sensors such as radar and / or LIDAR.
[0072] For each object, the prediction module 303 predicts what behavior the object will perform in the situation. The prediction is performed based on the perception data of the driving environment perceived at a certain point in time according to the set of map / route information 311 and traffic rules 312. For example, if the object is a vehicle in the opposite direction and the current driving environment includes an intersection, the prediction module 303 will predict whether the vehicle is likely to go straight ahead or turn. If the perception data indicates that there is no traffic light at the intersection, the prediction module 303 can predict that the vehicle may have to stop completely before entering the intersection. If the perception data indicates that the vehicle is currently in a left-turn lane or a right-turn lane, the prediction module 303 can predict that the vehicle is more likely to turn left or right, respectively.
[0073] For each object, the decision module 304 makes a decision about how to handle the object. For example, for a particular object (e.g., another vehicle in a crossing path) and metadata describing the object (e.g., speed, direction, turn angle), the decision module 304 decides how to encounter the object (e.g., overtake, yield, stop, pass). The decision module 304 can make such decisions based on a rule set such as traffic rules or driving rules 312, which can be stored in the persistent storage device 352.
[0074] The route arrangement module 307 is configured to provide one or more routes or paths from the starting point to the end point. For a given trip from the starting position to the destination position, for example, received from a user, the route arrangement module 307 obtains the map and route information 311 and determines all possible routes or paths from the starting position to the destination position. For each of the routes determined to reach the destination position from the starting position, the route arrangement module 307 can generate a reference route in the form of a topographic map. The reference route represents an ideal route or ideal path without other interferences such as other vehicles, obstacles or traffic conditions. That is, if there are no other vehicles, pedestrians or obstacles on the road, the ADV should accurately or closely follow the reference route. The topographic map can then be provided to the decision module 304 and / or the planning module 305. Based on other data provided by other modules (such as traffic conditions from the positioning module 301, the driving environment perceived by the perception module 302, and the traffic conditions predicted by the prediction module 303), the decision module 304 and / or the planning module 305 check all possible routes to select and correct one of the best routes. Depending on the particular driving environment at a point in time, the actual path or route used to control the ADV may be close to or different from the reference route provided by the routing module 307 .
[0075] Based on the decision for each of the perceived objects, the planning module 305 plans a path or route and driving parameters (e.g., distance, speed, and / or turning angle) for the autonomous vehicle using the reference line provided by the routing module 307 as a basis. That is, for a given object, the decision module 304 decides what to do with the object, and the planning module 305 determines how to do it. For example, for a given object, the decision module 304 may decide to overtake the object, and the planning module 305 may determine whether to overtake on the left or right side of the object. Planning and control data are generated by the planning module 305 and include information describing how the vehicle 300 will move in the next movement cycle (e.g., the next route / path segment). For example, the planning and control data may indicate that the vehicle 300 moves at a speed of 30 miles per hour (mph) for 10 meters and then changes to the right lane at a speed of 25 mph.
[0076] Based on the planning and control data, the control module 306 controls and drives the autonomous vehicle according to the route or path defined by the planning and control data by sending appropriate commands or signals to the vehicle control system 111. The planning and control data includes sufficient information to drive the vehicle from a first point on the route or path to a second point using appropriate vehicle settings or driving parameters (e.g., throttle, brake, and steering commands) at different points in time along the route or path.
[0077] In one embodiment, the planning phase is performed in multiple planning cycles (also referred to as driving cycles), such as, for example, at time intervals of every 100 milliseconds (ms). For each planning cycle or driving cycle, one or more control commands will be issued based on the planning and control data. That is, for every 100 ms, the planning module 305 plans the next route segment or path segment, for example, including the target position and the time required for the ADV to reach the target position. Alternatively, the planning module 305 can also specify a specific speed, direction and / or steering angle, etc. In one embodiment, the planning module 305 plans the route segment or path segment for the next predetermined time period (such as 5 seconds). For each planning cycle, the planning module 305 plans the target position for the current cycle (e.g., the next 5 seconds) based on the target position planned in the previous cycle. The control module 306 then generates one or more control commands (e.g., throttle control command, brake control command, steering control command) based on the planning and control data of the current cycle.
[0078] It should be noted that the decision module 304 and the planning module 305 can be integrated into an integrated module. The decision module 304 / planning module 305 may include a navigation system or the functionality of a navigation system to determine a driving path for an autonomous vehicle. For example, the navigation system may determine a series of speeds and directions for enabling the autonomous vehicle to move along a path that substantially avoids perceived obstacles while allowing the autonomous vehicle to move along a roadway-based path to a final destination. The destination may be set based on user input via the user interface system 113. The navigation system may dynamically update the driving path while the autonomous vehicle is running. The navigation system may combine data from a GPS system and one or more maps to determine a driving path for the autonomous vehicle.
[0079] Figure 4 is a block diagram showing an example of an HD map generation engine according to one embodiment. The HD map generation engine can register a point cloud and generate an HD map based on the point cloud registration. Figure 4 , the HD map generation engine 125 may include a plurality of modules, such as a point cloud receiver module 401, a point cloud downsampling module 403, a loop information determiner module 405, a partitioning module 407, an optimization solver module 409, and a merger module 411. It should be noted that some or all of these modules may be integrated into fewer modules, or may be divided into more modules.
[0080] The point cloud receiver module 401 can receive a point cloud (e.g., a LIDAR image captured by a LIDAR sensor of an ADV) and a corresponding pose (e.g., position and orientation). In this example, the point cloud refers to a set of data points captured by a LIDAR device at a specific point in time. Each data point is associated with location information (e.g., x, y, and z coordinates) of the data point. The point cloud downsampling module 403 (which may be optional) can downsample the point cloud spatially or temporally. The loop information determiner module 405 can determine whether a closed loop (loop closure) exists for a set of point clouds corresponding to a drivable area that forms a geographic loop. The partition module 407 can divide one or more drivable areas into one or more partitions based on closure information or block partition information. The optimization solver module 409 can use an optimization algorithm (such as a bundle adjustment or an ADMM algorithm, which is Figure 4 Algorithm 415 or Figure 1 The algorithm 124 of FIG. 1 is applied to the point cloud and pose corresponding to the partition to generate an accurate HD LIDAR pose. The merger module 411 can merge multiple partitions together to generate an HD map. It should be noted that registration refers to the registration of the point cloud data for the area being mapped.
[0081] Figure 5 is a block diagram showing an example of an HD map generation system according to one embodiment. The HD map generation system 500 shows an overview of HD map generation. The HD map generation system 500 may be Figure 1 A portion of the HD map generation engine 125. Reference Figure 5 In one embodiment, the HD map generation system 500 includes a point cloud registration subsystem 501 and an HD map generation subsystem 502. The point cloud registration subsystem 501 may receive IMU signals, GPS signals, and LIDAR images 503 as inputs (e.g., from the IMU 213, the GPS unit 212, and the LIDAR unit 215, respectively), and generate an HD pose 504 based on the received inputs (or register the pose for the LIDAR image 503). Then, the HD map generation subsystem 502 may receive the LIDAR image 503 and the HD pose 504 as inputs, and generate an HD map 505 based on these inputs.
[0082] Figure 6 600 is a block diagram showing an example of a pipeline for an HD map generation system according to one embodiment. The pipeline 600 may be a pipeline for an HD map generation system (such as, Figure 5 system 500) or an HD map generation engine (such as, Figure 4 The engine 125) pipeline. Figure 6In one embodiment, the pipeline 600 includes but is not limited to a downsampling process 601, a partitioning process 602, a Hadoop and message passing interface (MPI) parallel registration process 603, a pose graph registration process 604, and a pose adjustment process 605. Some of these operations 601 to 605 can be performed serially, in parallel, or in a pipelined manner by different processing nodes, which can be distributed by the map generation system. The different processes are described as follows:
[0083] The input to the pipeline can be raw point clouds and their poses collected from the mission scene from LIDAR sensors mounted on one or more ADVs. Typically, the input contains tens or hundreds of thousands of LIDAR poses to be optimized or registered. In order to minimize the number of input points for the pipeline 600, the downsampling process 601 downsamples the poses in space and / or time in a continuous manner.
[0084] In one embodiment, process 601 may downsample the point cloud spatially. For example, process 601 may determine a spatial sliding window. The sliding window may be a circular window with a predetermined radius. Then, process 601 identifies a LIDAR point cloud and corresponding pose for all point clouds within the spatial window for further processing. In another embodiment, process 601 may process other LIDAR point clouds and their corresponding poses that are not identified for further processing. In one embodiment, a LIDAR point cloud may be identified based on a spatial region of interest (e.g., a central region of a sliding window).
[0085] In another embodiment, process 601 can downsample the point cloud in time. For example, process 601 can determine a temporal sliding window to track a time series of LIDAR point clouds for each spatial sliding window (e.g., using timestamps). Then, process 601 can identify a LIDAR point cloud and its corresponding pose based on each time series for further processing. For example, if there are two time series (i.e., two time clusters), process 601 maintains the point cloud and corresponding pose for each of the two time series. For the scenario where the ADV stops at a red light, downsampling the point cloud in time is particularly useful. In this case, the stopped ADV can capture a time series of substantially identical LIDAR frames, but only one LIDAR point cloud is useful. Therefore, downsampling identifies a LIDAR point cloud for further processing for the time series, rather than identifying multiple LIDAR point clouds in the time series that capture similar point clouds for the red light for further processing. Therefore, downsampling will reduce the amount of repeated or similar point cloud data and optimize the input data of the pipeline. Then, the downsampled point cloud is segmented through process 602 .
[0086] In one embodiment, the partitioning process 602 determines closed loop information based on one or more computer vision algorithms (such as edge detection and / or image segmentation algorithms). For example, process 602 may use a corner detection algorithm to detect features or image edges. A corner detection algorithm (such as a Harris corner detector) can extract and infer features from a LIDAR image (e.g., a point cloud). Process 602 can then detect and track one or more loops based on a combination of corresponding poses, detected features, and / or a set of time and speed information for the vehicle (which can predict the location of the vehicle). In another embodiment, a road closed loop is identified based on a road profile or features of a road profile. Process 602 then partitions the point cloud into one or more groups of point clouds based on the closed loop information, such that a group of point clouds corresponds to a loop.
[0087] In one embodiment, if the detected loop spans an area greater than a predetermined threshold, the partitioning process 602 can apply spatial partitioning to the loop partition and further divide the loop partition into two or more block partitions. In this way, the computational load of each partition does not exceed the predetermined threshold. In one embodiment, the loop is divided into a number of blocks of predetermined spatial areas. The partitioned point cloud can then be registered in parallel through a cluster of nodes in Hadoop and a message passing interface (MPI) process 603.
[0088] Point cloud registration refers to aligning various point clouds with a reference pose or reference point cloud. For each loop partition or block partition, in order to align the point clouds in the partition, an optimization algorithm is applied to the point clouds corresponding to the partition to generate HD LIDAR poses for these point clouds. For example, process 603 can apply an iterative closest point (ICP) algorithm to a set of point clouds. It should be noted that ICP is an algorithm for minimizing the difference between two point clouds. ICP is typically used to reconstruct 2D or 3D surfaces from different scans. For ICP, one point cloud (e.g., a reference) is kept fixed while the other point clouds are transformed to best match the reference. The algorithm iteratively modifies the transformations (e.g., translations and rotations) required to minimize an error metric (e.g., the sum of squared differences between the coordinates of a matching pair, or the distance from the other point clouds to the reference point cloud).
[0089] For example, for a point cloud i with a corresponding LIDAR pose, with the transformation matrix (e.g., Among them, t i is a translation, and R i is a rotational transformation) can be used to project the point cloud i from the relative coordinate system (relative to the vehicle) to the Universal Transverse Mercator (UTM) coordinate system. The projection equation is then Among them, x k is any point in a set of point clouds i, t i is a translation, and R i is a rotation transformation.
[0090] For each partition, process 603 may identify the relevant point cloud pairs (or frame pairs) based on the pose of the point clouds as Among them, represents a pair of point cloud i and point cloud j. Then the points between the two point cloud pairs can be defined as: Among them, x k is the point in the LIDAR point cloud index i, x l is a point in the LIDAR point cloud index j, where Then, the bundle adjustment (BA) equation to be optimized based on the above is as follows:
[0091]
[0092] in, It is point x k The norm vector at .
[0093] The above equation (P) can be solved by an optimization algorithm (such as the Levenberg Marquardt (LM) algorithm), however, its complexity is about O(m^3), where m is the number of frame pairs. The LM algorithm is used to solve the nonlinear least squares curve fitting problem by finding a local minimum. In one embodiment, equation (P) can be broken down into one or more sub-problems, and an optimization algorithm (such as the ADMM algorithm) can be applied to these sub-problems to solve them separately. In one embodiment, these sub-problems are solved in parallel using node clusters. For example, for a given frame pair The pose transformation matrix of the i-th point cloud of the m-th frame pair is Wherein, the superscript represents the index of the subset of frame pair m, and the subscript represents the index of point cloud i in a set of point clouds P. Then, the bundle adjustment equation to be optimized based on the parallel pipeline is as follows:
[0094]
[0095] in, and
[0096] In this example, the optimization algorithm can be executed by one or more nodes of the node cluster, for example, each node processes a frame pair. In one embodiment, it can be determined whether the frame pairs are related based on the timestamps corresponding to the frame pairs, for example, frame pairs with consecutive timestamps or within a time threshold can be related frame pairs. In another embodiment, related frame pairs can be determined based on closed loop information. For example, two frames with separate timestamps but consistent with the same or similar positions can be related frames (e.g., closed loops). In this case, the point clouds of the two frames should be substantially similar or matched. Once the poses are aligned or registered for each partition, the partitions can be merged together through process 604.
[0097] In one embodiment, the pose graph registration process 604 can merge the individual partitions into larger map partitions based on a pose graph registration algorithm, such as a simultaneous localization and mapping (SLAM) algorithm. In one embodiment, overlapping regions for side-by-side partitions are joined together so that only one set of outputs is required for the overlapping regions, for example, if the overlapping regions are routes common to both regions, only one set of overlapping routes is required.
[0098] In one embodiment, the pose adjustment process 605 can also improve or adjust these poses to the UTM coordinate system. For example, as before, one pose is assumed to be a reference pose for aligning other poses and point clouds. Process 605 can apply the final pose adjustment to reduce the overall error for mapping to the UTM coordinate system. For example, process 605 analyzes the input LIDAR pose for the GPS confidence level by comparing the corresponding poses before and after applying the optimization algorithm. The (multiple) poses identified with the maximum confidence (for example, the difference between the received pose and the calculated HD pose is lower than a threshold) are retained for pose adjustment. Then, a rigid body transformation is applied to all poses based on the identified poses. A rigid body transformation is a transformation that maintains the shape and size of the object to be transformed. Here, a rotation transformation or a reflection transformation is a rigid body transformation, while scaling is not a rigid body transformation. Finally, a point cloud with an adjusted pose is used to generate a high-definition (HD) 3D point cloud map. In one embodiment, the 3D point cloud map may be transformed into a 2D positioning map with a bird's-eye view.
[0099] Fig. 7A FIG. 1 is a diagram showing a map area with a closed loop according to one embodiment. Fig. 7A The closed loop 701 may be a loop formed by a single road (e.g., a circle) or a combination of two or more roads. Fig. 7A As shown, closed loop 701 is a loop formed by a combination of highways and roads, both of which are drivable roads. In one embodiment, the closed loop is the smallest drivable loop. Here, closed loop 701 includes many other road sections extending through closed loop 701 in length. However, closed loop 701 may or may not include other roads within the closed loop. In other words, closed loop 701 (road branch to be acquired) can be identified based on a threshold value of the computational load required for aligning the pose of the point cloud in the closed loop. In one embodiment, the closed loop is identified based on a threshold value of the spatial area surrounding the closed loop.
[0100] Figure 7B is an image showing a two-dimensional top view of a LIDAR image according to one embodiment. Figure 7B , the 2D top view can be part of the positioning map generated from the HD 3D point cloud map. Here, Figure 7B The 2D top-down LIDAR image can correspond to Fig. 7A View of location 703.
[0101] Figure 8800 is a flow chart illustrating an example of a method according to one embodiment. Process 800 may be performed by processing logic, which may include software, hardware, or a combination thereof. For example, process 800 may be performed by a map generation engine of an autonomous vehicle (e.g., HD map generation engine 125 of server 103). Figure 8 At box 801, processing logic receives multiple point clouds and corresponding poses from an ADV equipped with a LIDAR sensor, which captures point clouds of a drivable area to be mapped, wherein the point clouds correspond to a first coordinate system. At box 802, the processing logic divides the point clouds and corresponding poses into one or more loop partitions based on the drivable loop information captured by the point clouds. At box 803, for each of the loop partitions, the processing logic applies an optimization model to the point cloud corresponding to the loop partition to register the point cloud, including transforming the point cloud from the first coordinate system to the second coordinate system. At box 804, the processing logic uses a pose graph algorithm to merge one or more loop partitions together, wherein the merged point cloud partitions are used to perceive the driving environment around the ADV.
[0102] In one embodiment, the received point cloud is downsampled in time according to a temporal sliding window, and the received point cloud is downsampled in space according to a spatial window having a predetermined spatial radius. In another embodiment, the drivable loop information includes closed loop points, which identify drivable road closed loops based on road contours.
[0103] In one embodiment, if the plurality of point clouds and corresponding poses for the loop partition span a spatial area greater than a predetermined spatial area, the processing logic divides the loop partition into a plurality of block partitions less than or equal to the predetermined spatial area. In one embodiment, applying the optimization model includes solving an iterative closest point problem to register the point clouds for the loop partition based on a bundle adjustment optimization model, which includes projecting each of the point clouds and corresponding poses of the loop partition from a relative coordinate system to a UTM coordinate system, pairing associated frames for the loop partition, and solving the optimization problem for the pose pair to register the projected point cloud for the loop partition.
[0104] In one embodiment, the optimization problem for each loop partition is solved in parallel by an alternating direction multiplier (ADMM) optimization framework. In another embodiment, merging the partitions together includes merging the two or more loop partitions together by identifying overlapping routes for the two or more loop partitions and merging the overlapping routes for the two or more loop partitions together.
[0105] In one embodiment, the processing logic further applies a pose adjustment algorithm to the poses of the merged partitions to minimize differences between the features of the merged partitions. In another embodiment, applying the pose adjustment algorithm includes applying a rigid body transformation to the poses of the merged partitions, wherein the rigid body transformation is determined based on poses having a confidence level above a threshold.
[0106] Fig. 9 is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle according to one embodiment. System 900 may be implemented as Figure 1 A portion of an autonomous vehicle 101 including but not limited to a perception and planning system 110, a control system 111, and a sensor system 115. Figure 3A The system 300 of the system 900 includes, but is not limited to, a positioning module 301, a perception module 302, a prediction module 303, a decision module 304, a planning module 305, a control module 306, and a route arrangement module 307. In addition, the system 900 includes a real-time map generation module 308.
[0107] Some or all of the modules 301 to 308 may be implemented in software, hardware, or a combination thereof. For example, these modules may be installed in permanent storage 352, loaded into memory 351, and executed by one or more processors (not shown). It should be noted that some or all of these modules may be communicatively coupled to Figure 2 Some or all modules of the vehicle control system 111 of the present invention may be integrated with them. Some of the modules 301 to 308 may be integrated together into an integrated module.
[0108] Currently, point clouds are received by ADVs in a large number of points from a high-definition LIDAR sensor mounted on the ADV. There is a technical problem that a large number of points leads to a large amount of computation and memory costs. In addition, the high-definition LIDAR sensor may observe local objects due to a limited field of view, or objects in the field of view may be blocked by other objects in different LIDAR frames. In addition, technologies such as SLAM may cause the SLAM to drift in the estimated HD pose over time. The technical solutions of some embodiments reduce the computation and memory costs and reduce SLAM drift.
[0109] Fig.10 is a block diagram showing an example of a real-time HD map generation module according to one embodiment. The real-time HD map generation module can register a point cloud and generate an HD map in real time based on the point cloud registration. Fig.10In one embodiment, the real-time HD map generation module 308 may include a plurality of submodules, such as a receiver submodule 1001, a segment information extraction submodule 1003, a frame registration / positioning submodule 1005, a map generation submodule 1007, a feature information extraction submodule 1009, and a closed loop detection submodule 1011. The receiver submodule 1001 may receive a LIDAR image frame stream (e.g., a point cloud frame stream) from one or more LIDAR sensors of the ADV. The submodule 1001 may also receive pose information from an IMU and a GPS unit equipped by the ADV. The segment information extraction submodule 1003 may extract one or more segments from each LIDAR image frame. The frame registration / positioning submodule 1005 may register or position a frame based on the segment information. The map generation submodule 1007 may generate an HD 3D point cloud map based on the frame registration. The feature information extraction submodule 1009 may extract features from each extracted segment. The closed loop detection submodule 1011 may detect a closed loop based on the extracted features. It should be noted that some or all of these modules may be integrated into fewer modules or divided into more modules depending on the specific configuration required.
[0110] Fig.11A 1 is a flow chart showing an example of a real-time HD map generation pipeline according to one embodiment. The pipeline 1100 may be composed of a real-time map generation module (such as Fig.10 Module 308) of the pipeline executed. Fig.11A In one embodiment, the pipeline 1100 includes but is not limited to a segment extraction process 1102 , a segment-based registration process 1103 , a feature extraction process 1104 , a loop detection process 1105 , and a point-based registration process 1107 .
[0111] refer to Fig.11A In one embodiment, the pipeline 1100 receives an initial frame 1101 (e.g., a first LIDAR point cloud frame) from a LIDAR sensor of an ADV. Then, a segment extraction process 1102 extracts segments from the received frame. It should be noted that a segment refers to a cluster of point clouds, superpoints, or significant image regions (or voxels), i.e., regions corresponding to various surfaces, objects, contours, or natural parts of objects. These segments or superpoint objects can be extracted using structural information of the objects detected in the frame. In one embodiment, the segments are classified into segment types. Exemplary segment types or object types can be cylindrical objects, flat patch objects, or recognizable objects of any geometry that can have special geometric shapes and spatial properties. Point cloud features can be used for segment extraction, such as the intensity, texture, or proximity of the object represented by the point cloud. The segment extraction process can combine multiple algorithms (which are Fig. 9The algorithm / model 313 of the method is applied to the point cloud to extract the fragments. For example, the fragment extraction process can apply an image segmentation algorithm (such as edge detection, biclustering, region growing or watershed transform algorithm, etc.) to extract the fragments from the LIDAR frame.
[0112] Based on the extracted segments, the segment-based registration process 1103 utilizes a finite set of points from frames of each segment type and applies an optimization algorithm such as ICP (which is Fig. 9 As part of the algorithm / model 313 of , a match is found from the previous closest frame in the buffer from the same segment type. If the initial frame is the only frame (e.g., the first frame), the initial frame can be established as a reference frame, and the corresponding pose for the initial frame can be the reference pose.
[0113] In one embodiment, the feature extraction process 1104 extracts features or feature representations from each segment of the current frame, and the loop detection process 1105 compares the extracted features with the features of the previous frame. Feature extraction is a process of dimensionality reduction, in which the segments of the initial set are simplified to a set of features for processing while still accurately and completely describing the original segments. Examples of features include smoothness, linearity, and continuity of points of segments (e.g., patterns). If the comparison provides a plurality of matching features above a predetermined threshold (e.g., a number or percentage), a closed loop is detected. Here, since the object may be blocked or partially visible in the current field of view, unlike the previous field of view, the features are compared rather than the segments. In one embodiment, the features include features based on eigenvalues. Features based on eigenvalues may include features such as linearity, flatness, scattering, full variance (e.g., features of volume point distribution), etc.
[0114] In one embodiment, the extracted segments may be stored in a target map, and the segments or segment information may be used to extract features of the segments. In another embodiment, process 1105 may apply a machine learning algorithm such as a nearest neighbor search, an unsupervised machine learning algorithm (which is Fig. 9 The algorithm / model 313 of FIG. 314 is used to determine whether two segments match. If they match, the segments are candidate segment pairs. Based on these candidate segment pairs, a geometric consistency estimation algorithm can be applied to determine the transformation (e.g., transformation matrix) between these segments.
[0115] The transformation matrix can then be used to verify the certainty of the detected closed loop. In another embodiment, a machine learning model (e.g., a deep learning neural network) can be used to determine whether there is a feature match between the current frame and any previously received frames. An exemplary deep learning neural network can be Fig.12A multi-layer perceptron (MLP) 1200 includes three layers. The input layer receives the extracted features from the current frame and the previous frame, the hidden layer connects each of the inputs to the output layer, and the output layer has a probability output indicator indicating the probability of the segment matching. Fig.12 The MLP 1200 shows only 4 input nodes and 4 hidden nodes in the input layer and hidden layer, respectively, but can be implemented with any number of nodes.
[0116] It should be noted that machine learning models may include, but are not limited to, neural networks (fully connected, locally connected, or a combination thereof), support vector machines (SVMs), linear regression, k-nearest neighbors, naive Bayes, k-means, and random forest models. A neural network is a machine learning model that can learn to perform a task by considering examples (e.g., trained using input / output scenarios) without being programmed with any task-specific rules. A neural network is a computational method based on a large collection of neural units or neurons in a series of hidden layers or inner layers. Each hidden layer consists of a set of neurons, each of which is connected to one or more neurons in the previous layer, and the neurons in a single layer can function completely independently and may not share any connections with other neurons in that layer. Neural networks are self-learning and trained, rather than explicitly programmed.
[0117] refer to Fig.11A , process 1106 determines whether there are additional frames for processing the stream, if so, process 1106 branches to process 1102, otherwise process 1106 enters process 1107. Process 1107 applies a conventional ICP algorithm based on the point clouds of consecutive frames in the stream, thereby performing point cloud registration of the frame stream. Here, in the initial stage, processes 1102 to 1105 can be iteratively applied to the frames of the stream on a frame-by-frame basis.
[0118] Fig. 11B is a flow chart showing an example of closed loop positioning according to one embodiment. Fig.11A The loop detection process 1105 is used to perform operation 1110. Fig. 11B , when a closed loop is detected 1111, a target map or segment map generation process 1112 may generate a target map based on segments previously extracted for frames of the loop. The segment map or target map may be a database, structure, or class object that stores a list of segments of a frame. These segments may be stored as a plurality of points corresponding to the segments. Fig.13 An example of a target map according to one embodiment is shown. Fig. 11B , based on the target map and Fig.11ABased on the previous registration results performed by process 1104, process 1113 updates the initial pose by searching for the best candidate pose for the initial pose. In one embodiment, based on the updated initial pose, process 1113 applies an iterative method to the initial pose and the registration results to determine the transformation to be further applied to the registration results, thereby reducing the drift caused by SLAM. In this case, since the closed loop provides a second indication of the position and orientation of the initial pose, the SLAM drift can be reduced. An example iterative method may be a random sampling consensus algorithm (RANSAC). RANSAC is an iterative method for fitting a model based on a set of observation data containing abnormal data points, in which case abnormal data points that do not affect the model to be fitted should be assigned. Once the point cloud is registered, the registration results can be used to generate an HD point cloud map.
[0119] Fig.14 is a flow chart illustrating an example of a method according to one embodiment. Process 1400 may be performed by processing logic, which may include software, hardware, or a combination thereof. For example, process 1400 may be performed by a map generation module of an autonomous vehicle (such as, Fig. 9 The real-time map generation module 308 is executed. Fig.14 At box 1401, processing logic receives a frame stream of a point cloud from one or more LIDAR sensors of an ADV in real time, and receives corresponding poses in real time. At box 1402, processing logic extracts fragment information of the frame based on the geometric shape or spatial attributes of the points in each frame of the frame stream, wherein the fragment information includes one or more fragments of at least the first frame corresponding to the first pose. At box 1403, processing logic registers the frame stream based on the fragment information. At box 1404, processing logic generates a first point cloud map from the frame stream based on the frame registration.
[0120] In one embodiment, the processing logic further extracts one or more features from each segment of each frame, including features from the first frame and the second frame. The processing logic detects a closed loop between the first frame and the second frame based on the extracted features of the first frame and the second frame. In response to detecting the closed loop between the first frame and the second frame, the processing logic locates the second frame based on the frame registration, and updates the first pose based on the positioning and the frame registration to generate a second point cloud map.
[0121] In another embodiment, detecting the closed loop between the first frame and the second frame includes applying an unsupervised machine learning algorithm to features of the segments of the first frame and the second frame to determine whether the two segments match. In another embodiment, detecting the closed loop between the first frame and the second frame also includes applying a RANSAC algorithm to the first frame and the second frame to determine whether the two segments match. In another embodiment, the unsupervised machine learning algorithm includes a nearest neighbor search.
[0122] In another embodiment, features are extracted from each segment of each frame in real time on a frame-to-frame basis, and the second frame includes the current frame. In another embodiment, the stream of frames is registered in real time on a frame-by-frame basis.
[0123] In one embodiment, extracting the fragment information of the frame includes applying an image segmentation algorithm to the frame to extract one or more fragments for the frame, and generating a fragment map to store the one or more fragments for the frame. In one embodiment, the fragment information includes one or more fragments of a cylindrical object, one or more flat patch objects, or one or more smooth surface objects.
[0124] In one embodiment, registering a frame stream based on fragment information includes: identifying multiple fragments of a previous frame and a subsequent frame based on the fragment information, identifying multiple points corresponding to the multiple fragments, and applying an iterative closest point (ICP) algorithm to the multiple points to minimize the distance between the closest points among the multiple points used for frame registration.
[0125] In one embodiment, the processing logic also applies an iterative closest point (ICP) algorithm to the points of each frame in the stream to register the frame stream. In one embodiment, the features include information for linearity, flatness, scattering, and / or full variance of the segment. In one embodiment, the features include one or more eigenvalue-based features.
[0126] Fig.15 is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle according to one embodiment. System 1500 may be implemented as Figure 1 A portion of an autonomous vehicle 101 including but not limited to a perception and planning system 110, a control system 111, and a sensor system 115. Figure 3A The system 300 of the system 1500 includes, but is not limited to, a positioning module 301, a perception module 302, a prediction module 303, a decision module 304, a planning module 305, a control module 306, and a route scheduling module 307. In addition, the system 1500 includes an RGB point cloud module 309.
[0127] Some or all of the modules 301 to 309 may be implemented in software, hardware, or a combination thereof. For example, these modules may be installed in permanent storage 352, loaded into memory 351, and executed by one or more processors (not shown). It should be noted that some or all of these modules may be communicatively coupled to Figure 2 Some or all modules of the vehicle control system 111 of the present invention may be integrated with them. Some of the modules 301 to 309 may be integrated together into an integrated module.
[0128] The method using the point cloud and the RGB image captured by the ADV's imaging device adds additional information (e.g., color) to the point cloud. For example, the RGB image can observe the contextual information and color information of the environment that may not be captured by the LIDAR sensor. Therefore, integrating the RGB image with the point cloud image can improve the accuracy of map generation, especially for environments that are difficult to distinguish based on the LIDAR point cloud image alone (e.g., a road with shrubs (e.g., a spatial feature that may not be distinguished using the LIDAR image)).
[0129] Fig.16 is a block diagram illustrating an example of an RGB point cloud module according to one embodiment. The RGB point cloud module may integrate / synchronize an RGB image with a point cloud image to generate RGB / point cloud features for feature-based HD map generation. Fig.16 In one embodiment, the RGB point cloud module 309 may include multiple submodules, such as a receiver submodule 1601, a synchronization submodule 1603, a feature extraction submodule 1605, a registration submodule 1607, and a map generation submodule 1607. The receiver submodule 1601 may receive multiple LIDAR point cloud images or frames from one or more LIDAR sensors of the ADV. The receiver submodule may also receive a number of RGB images or frames from an image capture device mounted on the ADV. The synchronization submodule 1603 may synchronize the point cloud with the RGB images based on the timestamps when these images were captured.
[0130] The feature extraction submodule 1605 can extract feature vectors from the RGB cloud points. The feature vectors can include features for both the point cloud and the RGB image for the frame. The registration module can register the point cloud based on the RGB / point cloud features. In another embodiment, the registration submodule 1607 can register the point cloud using an optimization algorithm that has RGB information that is integrated into the cost function of the optimization algorithm along with the point cloud. The map generation submodule 1607 can generate a map based on these registrations. Although the RGB point cloud module 309 is shown as part of the perception and planning system 110 of the ADV, the RGB point cloud module 309 can be Figure 1 The HD map generation engine 125 of the server 103 may be a part of and / or integrated with it. It should be noted that some or all of these modules may be integrated into fewer modules or divided into more modules according to specific applications.
[0131] Since the images captured by the image capture device (e.g., a camera) may be at a frequency different from the frequency of the LIDAR sensor capture frequency, the first operation is to synchronize the RGB image with the appropriate point cloud. Synchronization may include physical synchronization. Physical synchronization may include: arranging the camera sensor at a physical location so that the camera sensor captures a view that is the same or substantially similar to the stereoscopic view of the LIDAR sensor unit to be synchronized, for example, a panoramic camera setup (e.g., consisting of multiple cameras) may be mounted on a rotating LIDAR sensor unit so that the camera can capture an RGB image with a view corresponding to the LIDAR sensor unit.
[0132] Similarly, for a flash LIDAR sensor, a stereo view camera can be mounted near the flash LIDAR unit to capture RGB images with a stereo view corresponding to the view of the flash LIDAR sensor unit. In another embodiment, the LIDAR sensor unit and the camera setup are calibrated offline. In another embodiment, synchronization can include time synchronization using a timestamp, for example, matching an RGB frame to the correct point cloud. For example, a timestamp provided by a time information provider can be associated with an image frame when the image frame was captured by the LIDAR unit. In one embodiment, the timestamp has a threshold of millisecond accuracy.
[0133] Similarly, the camera unit can capture image frames, and the time information provider can timestamp the image frames with the capture time. The time information provider can be shared between the LIDAR and the image capture device. In one embodiment, the time information provider is a local real-time clock (RTC) provided by the CPU of the computing system. In another embodiment, the time information provider is periodically synchronized with an external source (e.g., an atomic clock from a time server) via a network. In another embodiment, the time information provider is synchronized with a GPS signal.
[0134] Since both the point cloud and RGB are associated with a timestamp, the point cloud and RGB images received at different frequencies can be aligned. For example, if the point cloud is captured at 5 Hz to 20 Hz and the RGB image is captured at about 60 Hz, each point cloud frame can be associated with the RGB image based on its timestamp. In this example, each point cloud can be associated with at least one RGB image by identifying the RGB image with the timestamp closest to the timestamp of the point cloud image. RGB images without association will not be considered for integration / synchronization with the point cloud and can be discarded. In one embodiment, any RGB image can be associated with the point cloud as long as the RGB image timestamp is within the time threshold of the corresponding point cloud image. In another embodiment, if the RGB image capture frequency is lower than the corresponding point cloud capture frequency, several of the received point cloud frames may not be synchronized with the RGB image. In this case, the RGB point cloud should be backward compatible, that is, it will not affect feature extraction, but only RGB information will be considered for feature extraction. In another embodiment, the RGB image capture frequency of the image capture device can be adjusted to capture images at a frequency similar to that of the LIDAR sensor unit.
[0135] Once the RGB image frame and the point cloud frame are synchronized, the corresponding point of the LIDAR frame is synchronized with one or more pixels from the RGB image. Fig.17 is a block diagram illustrating an example of RGB point cloud synchronization according to some embodiments. Fig.17 , Figure 1700 shows multiple point clouds (1701 to 1709) superimposed on an RGB image with multiple pixels. Depending on the resolution (or pixel density) of the RGB image compared to the LIDAR image, the points of the point cloud can be mapped to a single RGB pixel or a cluster of RGB pixels based on spatial proximity. For example, depending on the RGB color characteristics, point 1701 can be mapped to pixel 1711 (star shape), or point 1703 can be mapped to pixel 1713 (plum blossom shape). In another example, depending on the resolution difference between the point cloud and RGB, point 1705 can be mapped to a single pixel 1715, or point 1707 can be mapped to pixel 1717 (square shape) or to pixels 1719 of any shape.
[0136] In one embodiment, for RGB pixels that can be associated with points of a point cloud, a feature extraction submodule (such as, Fig.16The feature extraction submodule 1605) can extract features representing context and location information from RGB pixels, while extracting information depicting spatial distribution and geometric features from the underlying point cloud. Similar to the above, features can be extracted by many algorithms, such as a. Examples of spatial distribution include probability distributions for each of the 3D features. These two types of features can then be concatenated to generate a feature vector for the RGB point cloud. Examples of context features include at least color patterns and the complexity of these color patterns, so that two objects with the same context from one LIDAR frame to the next LIDAR frame have a high probability indicating that these objects are related (e.g., they are the same object from two different frames). Examples of location information include at least neighboring information of adjacent points. For example, if a feature (e.g., an edge) is separated from another extracted feature (e.g., another edge) by a large distance, they are considered different.
[0137] In one embodiment, the generated feature vectors may be used to perform feature-based registration on the point cloud. For example, an ICP algorithm with an RGB cost component is applied to a subset of the RGB point cloud (e.g., a subset of the feature vectors) to optimize the RGB point cloud for candidate point matching, thereby generating an HD pose for the point cloud. The feature-based registration results may be used to generate a point cloud map. In another embodiment, a heuristic algorithm such as a RANSAC algorithm (which is Fig.15 The RANSAC algorithm may be applied to the features to register based on the features. Here, the RANSAC algorithm may register the point cloud even if there are a large number of outlier features (e.g., features that do not have matching pairs for registration).
[0138] In another embodiment, a second registration based on RGB points can be performed on the RGB point cloud. Here, the ICP algorithm with an RGB cost component is applied to all RGB point clouds to optimize the point cloud for candidate point matching to generate an HD pose. For example, the cost component can incorporate the average of the RGB color information of the pixel for minimization. In another embodiment, the optimization can be performed on an RGB point cloud with four channels (R, G, B, and depth) information (e.g., three channels are RGB components). The RGB point-based registration results can then be used to generate a point cloud map.
[0139] Fig.18 is a flow chart illustrating an example of a method according to one embodiment. Process 1800 may be performed by processing logic, which may include software, hardware, or a combination thereof. For example, process 1800 may be performed by an RGB point cloud module, such as by Fig.16 The RGB point cloud module 309 is executed. Fig.18At box 1801, processing logic receives a plurality of point clouds and corresponding poses captured by one or more LIDAR sensors of an ADV. At box 1802, processing logic receives a plurality of RGB images from one or more image capture sensors of the ADV. At box 1803, processing logic synchronizes the RGB images with the point clouds to obtain an RGB point cloud. At box 1804, processing logic extracts features from the RGB point cloud, the features including contextual information and spatial information of the RGB point cloud. At box 1805, processing logic registers the RGB point cloud based on the extracted features. At box 1806, processing logic generates a point cloud map based on the registration of the RGB point cloud.
[0140] In one embodiment, synchronizing the RGB image with the point cloud to obtain the RGB point cloud includes: for each point cloud, determining a time stamp of the point cloud; locating from the plurality of RGB images an RGB image having a time stamp within a time threshold of the time stamp of the point cloud; and associating the RGB image with the point cloud by associating one or more pixels with one or more points of the point cloud. In another embodiment, extracting features from the RGB point cloud includes extracting features based on contextual information and spatial information from both the RGB image and the associated point cloud.
[0141] In one embodiment, the context information includes color patterns and complexity of the color patterns of the features, and the spatial information includes information about the locations of the points of the features. In one embodiment, registering the point cloud based on the extracted features includes applying an optimization algorithm to the plurality of cloud points. In one embodiment, the optimization algorithm includes an iterative closest point (ICP) algorithm.
[0142] In one embodiment, the processing logic further applies a RANSAC algorithm to the extracted features for outlier features. In one embodiment, the processing logic further registers the point cloud based on the RGB point cloud for point-based registration. In one embodiment, the point-based registration includes applying an RGB-based ICP algorithm to the registered point cloud, wherein the RGB information is integrated into a cost function of the ICP algorithm.
[0143] Fig.19 is a block diagram showing an autonomous vehicle network configuration according to some embodiments of the present disclosure. Fig.19 , the network configuration 1900 includes an autonomous vehicle 101 that can be communicatively coupled to one or more servers 103 to 104 via a network 102. Similar to Figure 1, the servers 103 to 104 can be any type of server or server cluster, such as a network or cloud server, an application server, a back-end server, or a combination thereof. The servers 103 to 104 can be data analysis servers, content servers, traffic information servers, maps and points of interest (MPOI) servers, or location servers, etc. In one embodiment, the server 103 includes a map partitioning engine 126. In addition, the algorithm / model 124 may include multiple algorithms / models to extract road markings and curb points. When used on a map provided by the map server 104 (or a map generated by the HD map generation engine 125), the engine 126 divides the map into one or more parts based on the extracted road markings and curb points.
[0144] Thereafter, the map may be uploaded to the ADV, portion by portion, for use by the ADV in real time during autonomous driving. Although engine 126 is shown as part of server 103, in some embodiments, engine 126 may be part of server 104. In another embodiment, engine 126 may be part of ADV 101, such as Figure 3A For example, a map may be generated in real time by ADV 101, and a map partitioning engine (such as engine 126) may divide the map into portions to be uploaded from ADV 101 to server 103 / 104 portion by portion.
[0145] Fig. 20 is a block diagram illustrating an example of a map partitioning engine according to one embodiment. The map partitioning engine 126 may extract roads and curbs of a map and partition the map based on the extraction. Fig. 20 In one embodiment, the map partitioning engine 126 may include multiple modules, such as a road identifier module 2001, a road marking extraction module 2003, a curb feature extraction module 2005, a labeler module 2007, a curve generation module 2009 and a partitioning module 2011.
[0146] The road identifier module 2001 can identify roads within the point cloud map. The road marking extraction module 2003 can extract road markings from the identified roads. The curb feature extraction module 2005 can extract curb features for the identified roads. The labeler module 2007 can mark curb points associated with the curb features. The curve generation module 2009 can generate curves representing the curb points. The partition module 2011 can partition the map based on the identified road markings and curb curves.
[0147] Fig.21 2100 is a flowchart showing an example of road sign extraction according to one embodiment. Fig. 20The road identifier module 2001 and / or road marking extraction module 2003 are executed. In one embodiment, before the road point cloud can be identified, the point cloud is processed by a map global static point cloud map (GSPCM) generation process. The generation process removes any dynamic objects for map generation, for example, only retaining static objects for map generation. Dynamic objects can be detected by capturing a geographic location at least twice at different times. Static objects and dynamic objects can then be identified using an image segmentation algorithm. Image segments with features that change between two revisits can be marked as dynamic objects and therefore removed for map generation. The map generation process can then generate a global real-world map, for example, a map similar to the map used by GPS devices. In one embodiment, the map generation applies a transformation to the static frame points to obtain the GSPCM. The GSPCM is then divided into a two-dimensional (2D) grid (or block) of the point cloud before the road surface points and road markings can be extracted. An example transformation can be as follows:
[0148]
[0149] Among them, T i represents the transformation matrix of the i-th frame, represents the jth point of the i-th frame, M represents the number of points for the i-th frame, and N is the total number of point cloud frames.
[0150] refer to Fig.21 In one embodiment, flowchart 2100 receives point cloud 2101. Point cloud 2101 may be a point cloud block of a 2D grid from a GPS PCM. Then, process 2103 extracts ground points from point cloud 2101. In one embodiment, ground point extraction may be performed based on height information of points from point cloud 2101. For example, process 2103 may identify a single point with a minimum height from the point cloud. Thereafter, points with heights within a predetermined threshold of the identified minimum height are identified as ground points. In another embodiment, an average height of ground pixels near a vehicle is determined. Ground points are then determined to be within a predetermined threshold of the average height.
[0151] In some embodiments, a fitting algorithm such as RANSAC is applied to the point cloud based on the identified ground points to identify flat objects or planes (e.g., road surfaces). RANSAC helps remove outliers. A fitting algorithm such as RANSAC can be applied iteratively, and after each fitting, the outliers are discarded and the fitting algorithm is applied again to the remaining points to obtain one or more planes as possible ground planes. Points such as these that represent a single plane with a normal direction parallel to the Z axis (the vertical axis of the LIDAR sensor unit that captured the point cloud) and with the largest area can then be adopted as road surface points.
[0152] Based on the pavement points, in one embodiment, process 2105 calculates the intensity gradient based on the pavement points The intensity gradient is the directional change in the intensity value of an image (e.g., any two closest points in the image). In one embodiment, calculating the intensity gradient includes applying a filter such as a median filter to the road surface points. A median filter or median intensity filter is a filter used to remove noise from a point cloud image to better highlight the gradient of the image. A median filter can be applied to road surface points to remove salt intensity noise and pepper intensity noise from road surface points. An exemplary median filter can apply the following algorithm: 1) For each point, identify the neighboring points around the point that are within a predetermined neighborhood size. The neighboring points can be identified using a KD tree of 2D or 3D or any dimension. 2) Sort the identified neighboring points by their intensity values. 3) Thereafter, assign a median intensity value to the point based on the sorting by intensity value.
[0153] In one embodiment, calculating the intensity gradient includes determining the intensity direction based on the intensity values of each point and its neighboring points. The intensity direction or the directional derivative of the intensity in the x-direction and the y-direction can be calculated for each point. The magnitude and direction of the gradient can then be calculated based on the directional derivatives. In another embodiment, the gradient can be estimated by applying a least squares method to the neighboring points of each point. The intensity gradient can then be estimated based on the directional derivatives and the estimated gradient.
[0154] Next, based on the intensity gradient (e.g., amplitude), a clustering algorithm (such as a k-means clustering algorithm) may be used to cluster the gradient points into two categories, wherein the first cluster is clustered for road surface points having amplitudes above a predetermined threshold, and the second cluster is clustered for all other points having amplitudes below the predetermined threshold or a second predetermined threshold. Here, the points in the first cluster are road surface points.
[0155] For process 2107, each point in the first cluster can be used as a seed point to derive or extract road marking points. Fig. 22 An example of a search for extracting road marking points can be shown. Fig.21 and Fig. 22 In one embodiment, point P may be an example of a seed point in the first cluster. Based on point P, process 2107 determines a point P0 within a predetermined threshold distance from P that has the same (or opposite) intensity gradient direction as P. Thereafter, process 2107 identifies and classifies all points along P to P0 as road marking points. Fig. 22In the example in FIG. 21 , point P1 is located between P and P0, where P and P0 have opposite directional intensity gradients in this example. Since P1 is located between P and P0, P1 is identified and marked as a road marking point. Process 2107 can be iteratively performed using the points in the first cluster until all points in the first cluster are exhausted. Therefore, the road marking points are effectively grown based on the seed points of the first cluster. Then, process 2109 captures the road marking points as road marking extraction results.
[0156] Fig.23 2300 is a flowchart illustrating an example of road curb extraction according to one embodiment. Fig. 20 The curb feature extraction module 2005 is executed to extract points from the point cloud belonging to the curb (eg, the left and right boundaries of the road). Fig.23 , flowchart 2300 receives point cloud 2301. For operation 2303, multiple features can be extracted from each point of the point cloud. These features can include height correlation features, intensity features, and multi-scale directional difference features. According to one embodiment, in Fig.24 An example of multi-scale directional difference feature extraction is shown in .
[0157] refer to Figure 23 to Figure 24 , the multi-scale directional difference features can be extracted in the following way: 1) For each point (e.g., P), a small neighborhood radius r and a large neighborhood radius R are set, and point sets N are identified in the corresponding radius neighborhoods respectively. small or N s and N large or N l Here, N l The points in can include N s 2) Next, a statistical algorithm such as the principal component analysis (PCA) algorithm can be applied to the two point sets to obtain two normal vectors NV respectively. small and NV large (not shown), where a normal vector may be any point of a plane, where the plane is estimated by the corresponding set of points, and the normal vector has a direction orthogonal (e.g., perpendicular) to the surface of the plane. 3)
[0158] Then, in NV small With NV largeAn angle θ (not shown) is calculated between the points P, where the angle θ can be a multi-scale directional difference feature for the point P. It should be noted that principal component analysis (PCA) is a statistical procedure that uses an orthogonal transformation to convert a set of observations into a set of values of linearly uncorrelated variables (called principal components). The normal vector can be calculated as a vector with a direction perpendicular to the principal component. In another embodiment, by applying a supervised machine learning algorithm to the point cloud, features can be extracted and road curbs can be identified within the point cloud image.
[0159] In one embodiment, a height-related feature or height value for the point cloud may be determined based on the determined height of the ground. In addition, the height distribution variance (e.g., V s and V l ), and each corresponding point set N s and N l The highest and lowest points (e.g., D s and D l ) Here, the variance is the expected squared deviation of the heights of the corresponding set of points from their mean height.
[0160] In one embodiment, operation 2305 may use a naive Bayes classifier algorithm to extract initial curb points from the point cloud. For example, for each point, the naive Bayes classifier algorithm may use a naive Bayes classifier including θ, V s 、V l , D s and D l The 5-dimensional feature set is used to classify the points into the curb point category and the non-curb point category. The curb point category can be used as the initial curb point.
[0161] In one embodiment, the directional characteristics or directional features of each initial curb point can be calculated based on the neighboring points of the initial curb point. For example, the directional characteristics can be calculated in the following method. 1) Generate a KD tree containing all initial curb points. 2) Use the KD tree to search for k neighboring points of each initial curb point. 3) Perform principal component analysis (PCA) on the neighboring points of each initial curb point to obtain the main direction of the neighboring point, where the main direction is the directional feature of the point.
[0162] In one embodiment, clustering or grouping of points may be performed on the initial curb points based on the directional features calculated for curb marker generation. For example, according to one embodiment, clustering of initial curb points may be performed by the following operations 1 to 5. 1) Initialize the cluster radius r', the directional angle threshold at, and the height difference threshold et; Initialize all curb points as "not clustered"; Initialize an empty seed point queue Q seed and an empty cluster container V curb; and use all the initial road edge points to construct a KD tree. 2) Randomly select a point from the "unclustered" initial road edge points as the initial seed point P to be grown g , and the seed point P g The label is initialized to L g (e.g., curb point), the seed point P g Insert (or push) into cluster container V curb , and set it to "clustering". 3) For each point P in the neighborhood n , use KD tree to get the seed point P g The set of neighborhood points within the radius r′.
[0163] If P n With P g The angle between them is less than at and the height difference between them is less than et, then P n Can be inserted (or pushed) into the seed point queue Q seed and cluster container V curb , P n The label can be set to match P g The same label, and P n Can be set to "clustering". 4) If the queue Q seed If the queue is not empty, a point can be popped from the head of the queue and used as a new seed point, and the operation is restarted from operation 2). If the queue is empty, the growth of the curb point cluster is terminated, and the operation is restarted from operation 1). 5) Operations 1 to 4 can be repeated until all points are set to "clustering". The clusters of curb points can then be used to divide the road blocks.
[0164] In one embodiment, the clustering of the curb points can be improved by calculating the clustering features of each cluster. Then, the improved clustering of the curb points can be used to divide the road block. Examples of clustering features to be calculated may include (a1, a2, a3), length L c (e.g., distances of points that form lines through the clusters) and / or a number of points N for each cluster c Then, clusters that do not meet the predetermined rules set for clustering characteristics can be removed to improve these clusters. Examples of rules can be: in l and n are respectively a predetermined dimension threshold, a predetermined cluster minimum point length, and a predetermined minimum number.
[0165] In one embodiment, the features (a1, a2, a3) may be calculated by applying a principal component analysis (PCA) algorithm to the points in the cluster to obtain the eigenvalues (λ1, λ2, λ3) of the covariance matrix of the points. Then, the features (a1, a2, a3) may be calculated by the following formula:
[0166]
[0167] In one embodiment, for operation 2307, the extracted curb points (via Fig. 20 The curve generation module 2009) generates one or more Cubic Bezier curves to represent one or more curb lines, and the formula is as follows:
[0168]
[0169] Among them, P0, P1, P2 and P3 are constants.
[0170] Based on the generated one or more curb curves, the curb boundary of the road can be identified. Fig. 20 The partition module 2011 of the embodiment divides the road based on the identified road curb boundary. In one embodiment, the road can then be divided based on the curb boundary and / or road marking points, wherein the curb boundary is a road boundary, for example, a boundary parallel to the direction in which the vehicle travels on the road.
[0171] Fig.25 An example of map partitioning according to one embodiment is shown. As described above, roads can be divided based on extracted road marking points and extracted curb points / curves. For example, based on the extracted road marking points, a Euclidean clustering algorithm can be applied to the road marking points to cluster the road marking points together based on a predetermined distance and / or boundary threshold of the points. Thereafter, one or more clusters can be grouped together and classified into road marking types. Clusters can be classified based on a predetermined set of types. Types of road markings can include zebra road markings, pedestrian crossing markings, road intersection road markings, etc.
[0172] In one embodiment, the clusters may be classified into a type based on a distance threshold between each cluster and a length threshold of a line formed by points in each cluster. For example, for the zebra crossing type, if the boundary size of the cluster is less than a first predetermined threshold (e.g., a short dashed line may be a cluster, as indicated by Fig.25The center point of the cluster is determined by clustering the center points of other surrounding clusters using the Euclidean clustering algorithm to generate a center line across the zebra crossing marking. Zebra crossing blocks (e.g., Fig.25 of road blocks 2).
[0173] Then, other road blocks (e.g., road block 1 and road block 3) can be divided based on the zebra crossing block. Fig.25 , road block 1 can be divided based on road block 2 at the center line of the zebra crossing of road block 2. Road block 3 can be divided based on road block 2 at another center line of other zebra crossings of road block 2. Therefore, the map can be divided into block partitions based on road marking points and curb points / curves. Thereafter, when the server is required to perform a map upgrade for the vehicle or download a map from the vehicle, the upgrade / download process can be performed based on the divided blocks one by one.
[0174] Fig.26A and Fig.26B is a flow chart illustrating an example of a method according to some embodiments. Process 2600 and process 2650 may be performed by processing logic, which may include software, hardware, or a combination thereof. For example, process 2600 and process 2650 may be performed by Fig. 20 The map partitioning engine 126 executes. Fig.26A At box 2601, processing logic identifies a road navigated by an ADV, the road captured by one or more point clouds from one or more LIDAR sensors. At box 2602, processing logic extracts road marking information of the identified road from the point cloud, the road marking information describing one or more road markings of the identified road. At box 2603, processing logic divides the road into one or more road partitions based on the road markings. At box 2604, processing logic generates a point cloud map based on the road partitions, wherein the point cloud map is used to sense the driving environment around the ADV.
[0175] In one embodiment, the point cloud map comprises a static point cloud map, wherein the static point cloud map is generated by removing one or more dynamic objects in the point cloud map, wherein the dynamic objects are removed by collecting two or more point cloud observations at different time points at the same location and detecting differences between the two or more point cloud observations. In one embodiment, identifying a road comprises: applying a height threshold to the point cloud to extract a plurality of possible ground points, applying a fitting algorithm to fit one or more flat objects to the possible ground points as road objects, and selecting a flat object with a maximum surface area as the road object, which has a normal direction that is approximately the direction of the vertical axis of the LIDAR sensor.
[0176] In another embodiment, the processing logic further identifies the point cloud corresponding to the road object as a road surface point. In another embodiment, extracting the road marking includes: applying a filter to remove noise for the road surface point, determining a directional gradient of the road surface point cloud, and applying a k-means clustering algorithm to the road surface point cloud based on a predetermined threshold of the directional gradient to divide the road surface point cloud into road marking points and other road surface points. In another embodiment, the road marking includes a mark for at least a crosswalk, and the road is divided based on the mark for the crosswalk.
[0177] refer to Fig.26B At block 2651, processing logic extracts curb features from a point cloud representing a road curb. At block 2652, processing logic identifies a curb boundary of the road based on the curb features. At block 2653, processing logic marks points in the point cloud corresponding to the curb boundary. At block 2654, processing logic divides the road into one or more road partitions based on the road markings and the marked road curb points.
[0178] In one embodiment, extracting curb features for a point cloud includes: for each point in the point cloud, extracting one or more multi-scale directional difference features to identify a road curb. In another embodiment, identifying a curb boundary of a road based on the curb features includes: for each point in the point cloud, applying a machine learning algorithm to the extracted features to identify the point as an initial curb point; and for each initial curb point, determining one or more directional features of the initial curb point, generating a point cluster based on the initial curb point, determining one or more characteristics of the point cluster, and identifying the point cluster as part of a curb boundary if the one or more characteristics meet a predetermined condition. In another embodiment, the processing logic also generates a curve for representing each point cluster, wherein the curve includes a Cubic Bezier curve, and wherein the road is divided into one or more road partitions based on road markings and the generated Cubic Bezier curve.
[0179] Fig. 27 is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle according to one embodiment. Fig. 27 , the network configuration 2700 includes an autonomous vehicle 101 that can be communicatively coupled to one or more servers 103 to 104 via a network 102. Similar to Fig.19, the servers 103 to 104 may be any type of server or server cluster, such as a network or cloud server, an application server, a backend server, or a combination thereof. The servers 103 to 104 may be data analysis servers, content servers, traffic information servers, map and point of interest (MPOI) servers, or location servers, etc. In one embodiment, the server 103 includes a ghosting effect engine 127. The ghosting effect engine 127 may detect ghosting images in a point cloud frame.
[0180] If an object in any two consecutive frames suddenly appears or disappears, a ghosting effect (or ghost effect, shadow) of the point cloud can be identified in the consecutive point cloud frames. The reason why an object may suddenly appear or disappear is that there is an error when fusing parts of the point cloud together, or there is low accuracy when capturing fast-moving objects or reflective objects. For example, an object that suddenly appears or disappears in consecutive frames should be considered a ghosting object. Such ghosting objects should be removed from the point cloud map. Since it is crucial to ensure the high accuracy of the HD map, it is crucial to identify ghosting objects in the point cloud to evaluate the accuracy of the point cloud used for HD map generation and / or HD map verification.
[0181] Fig.28 1 is a block diagram illustrating an example of a ghosting effect engine according to one embodiment. The ghosting effect engine 127 can receive multiple frames in a point cloud to indicate which frames have ghosting images. The indicated frames can be removed from the generated map and / or used for map verification. Fig.28 In one embodiment, the engine 127 includes multiple modules, such as a frame receiver module 2801, an occupancy grid map generation module 2803, an abnormal voxel identifier module 2805, a wall voxel identifier module 2807, a state change identifier module 2809, and a marking / discarding module 2811. Some or all of these modules may be integrated into fewer modules.
[0182] The frame receiver module 2801 can receive data from a map server (such as Fig. 27The server 104 of the present invention receives multiple frames in the point cloud. The occupancy grid map generation module 2803 can generate a three-dimensional (3D) occupancy grid map, wherein the point cloud frame can be projected onto the 3D occupancy grid map. Here, the occupancy grid map includes multiple voxels, and each voxel includes an occupancy probability, for example, the probability that the voxel is occupied by an object. The abnormal voxel identifier module 2805 can identify abnormal voxels in the 3D occupancy grid map. Abnormal voxels refer to voxels with sudden state transitions (such as, a transition from an occupied state to an idle state or a transition from an idle state to an occupied state). The wall voxel identifier module 2807 can identify voxels for representing wall objects with a probability greater than a predetermined threshold. The state change identifier module 2809 can identify the state change of the voxel. The marking / discarding module 2811 can mark abnormal voxels and / or the corresponding point cloud for subsequent map generation and / or map verification taking it into account.
[0183] Fig.29 2900 is a flow chart illustrating an example of ghosting effect detection according to one embodiment. Flowchart 2900 may be performed by a ghosting effect engine such as, Fig.28 Engine 127) is executed. Fig.29 For operation 2901, the engine 127 initializes a 3D occupancy grid map. The 3D occupancy grid includes voxels or 3D cells, where each voxel includes a probability value for the voxel being occupied. After initialization, a ray casting operation is applied to the 3D occupancy grid map based on the initial point cloud frame to initialize the occupancy state of each voxel in the 3D occupancy grid map. It should be noted that the initial point cloud frame and / or subsequent frames are pre-registered, for example, previously registered using a SLAM type algorithm.
[0184] In one embodiment, if the point cloud has a stereo view, rays can be cast from the vehicle's position. In another embodiment, if the point cloud has a bird's-eye view, rays can be cast from the top. The ray casting operation causes the rays to pass through a view similar to the view of a LIDAR sensor. The rays can pass through some voxels and can end in some voxels. If the ray passes through a voxel, the voxel has an "idle" state. If the ray stops at a voxel, the voxel has an "occupied" state. If the ray does not pass through a voxel and the ray does not end at the voxel, the voxel has an "unknown" state. Each of the "occupied" voxels may include a probability value indicating the probability of the voxel being "occupied."
[0185] For operation 2902, upon receiving a subsequent frame, the engine 127 updates the 3D occupancy grid map based on the subsequent frame. Similar to the initial frame, a ray casting operation (e.g., a ray tracing algorithm) may be applied to the subsequent frame to project the subsequent frame onto the 3D occupancy grid map. The probability value of each voxel may then be updated based on the subsequent ray casting using the following Bayesian formula:
[0186]
[0187] Among them, P(n|z t ) represents the occupancy probability of a voxel at time t according to the observation at time t, P(n|z 1:t ) represents the occupancy probability of a voxel at time t according to the observation at time t, taking into account all previous observations, and P(n|z 1:t-1 ) represents the occupancy probability of a voxel at time t-1 taking into account all its previous observations.
[0188] For operation 2903, the engine 127 determines the state change of each voxel in the grid map. Each voxel of the grid map may include one of the following state changes:
[0189] A: "Idle" → "Idle"
[0190] B: "Occupy" → "Occupy"
[0191] C: "Unknown" → "Unknown"
[0192] D: "Unknown" → "Idle"
[0193] E: "Unknown" → "Occupied"
[0194] F: "Idle" → "Occupied"
[0195] G: "Occupied" → "Idle".
[0196] For operation 2904, the engine 127 identifies voxels with abnormal state changes. For example, abnormal state changes include state change F: "free" → "occupied" and state change G: "occupied" → "free". If the change in the occupancy probability of the voxel is greater than a predetermined threshold, for example, if the difference (e.g., increase or decrease) in the occupancy probability is greater than a predetermined threshold, an abnormal state change can be identified.
[0197] In addition, voxels belonging to wall-type objects can be identified. For example, an object detection algorithm (e.g., image segmentation, edge detection, machine learning neural network, etc.) can be applied to the point cloud frame to extract wall voxels or voxels corresponding to wall-type objects. In the Cartesian coordinate system, a wall object can include a flat object having a normal direction of a plane perpendicular to the z-axis or a normal direction of a plane parallel to the xy plane. Although only flat wall-type objects are described, wall objects can have any shape or size. Based on the identified wall objects, corresponding wall voxels can be identified.
[0198] Thereafter, voxels with ghosting effects may be identified as abnormal voxels with wall voxels. The ghosting effect voxels are then marked, and the marked voxels and / or frames may then be considered for removal in subsequent map generation and / or map validation. For example, in one embodiment, if the count of ghosting effect voxels of a frame is greater than a predetermined threshold, the frame is removed from point cloud map generation.
[0199] For operation 2905, the engine 127 determines whether there are additional frames to be processed. If so, the operation is restarted at operation 2902, otherwise, the operation ends at operation 2906.
[0200] Fig.30 is a flow chart illustrating an example of a method according to one embodiment. Process 3000 may be performed by processing logic, which may include software, hardware, or a combination thereof. For example, process 3000 may be performed by a ghosting effect engine (e.g., Fig.28 Engine 127) is executed. Fig.30 At box 3001, processing logic generates an occupancy grid map based on an initial frame of a point cloud. At box 3002, processing logic receives one or more subsequent frames of the point cloud. At box 3003, for each of the subsequent frames, processing logic updates the occupancy grid map based on the subsequent frames. At box 3004, processing logic identifies one or more anomalous voxels based on the updates. At box 3005, processing logic determines whether the anomalous voxel belongs to a wall object. At box 3006, in response to determining that the anomalous voxel belongs to a wall object, processing logic marks the anomalous voxel as a ghosting effect voxel for a subsequent frame.
[0201] In one embodiment, the processing logic further projects the initial frame or the subsequent frame onto the occupancy grid map using a ray tracing algorithm. In another embodiment, projecting the initial frame or the subsequent frame onto the occupancy grid map includes: determining an occupancy state of each voxel in the occupancy grid map, wherein the occupancy state is one of idle, occupied, or unknown. In another embodiment, identifying one or more anomalous voxels based on the update includes: for each voxel in the occupancy grid map, detecting a change in the occupancy state of the voxel, and if the occupancy state changes from idle to occupied or from occupied to idle, then identifying the voxel as an anomaly.
[0202] In one embodiment, the occupancy grid map is updated based on subsequent frames by applying a Bayesian algorithm, wherein the occupancy grid map includes voxels indicating occupancy probabilities. In one embodiment, determining whether the anomalous voxel belongs to a wall object includes: identifying whether the anomalous voxel belongs to an object having a property of a flat surface, and the flat surface has a normal perpendicular to the vertical z-axis. In one embodiment, the processing logic also removes the frame from the point cloud map if the number of ghosting effect voxels of the frame is greater than a threshold.
[0203] It should be noted that some or all of the components shown and described above can be implemented in software, hardware, or a combination thereof. For example, such components can be implemented as software installed and stored in a permanent storage device, which can be loaded in a memory by a processor (not shown) and executed in the memory to implement the process or operation described in the full text of this application. Alternatively, such components can be implemented as executable code programmed or embedded in dedicated hardware (such as, an integrated circuit (e.g., an application-specific integrated circuit or ASIC), a digital signal processor (DSP), or a field programmable gate array (FPGA)), which can be accessed via a corresponding driver and / or operating system from an application. In addition, such components can be implemented as specific hardware logic in a processor or processor core as part of an instruction set that can be accessed by a software component through one or more specific instructions.
[0204] Fig.31 is a block diagram illustrating an example of a data processing system that can be used with one embodiment of the present disclosure. For example, system 1500 can represent any of the above-described data processing systems that perform any of the above-described processes or methods, such as, for example Figure 4 HD map generation engine 125, Figure 5 HD map generation system 500, Figure 6 Pipeline 600, Fig.10 Real-time map generation module 308, Fig.15 RGB point cloud module 309, Fig.19 Map partitioning engine 126, Fig. 27Ghosting effect engine 127, Figure 3A Perception and planning system 110 or Figure 1 Any one of the servers 103 to 104 of the computer system. System 1500 may include many different components. These components may be implemented as integrated circuits (ICs), portions of integrated circuits, discrete electronic devices, or other modules suitable for circuit boards (such as the motherboard or plug-in card of a computer system) or as components otherwise incorporated into the chassis of a computer system.
[0205] It should also be noted that system 1500 is intended to illustrate a high-level view of many components of a computer system. However, it should be understood that additional components may be provided in certain embodiments, and in addition, different arrangements of the components shown may be provided in other embodiments. System 1500 may represent a desktop computer, a laptop computer, a tablet computer, a server, a mobile phone, a media player, a personal digital assistant (PDA), a smart watch, a personal communicator, a gaming device, a network router or hub, a wireless access point (AP) or a repeater, a set-top box, or a combination thereof. In addition, although only a single machine or system is shown, the term "machine" or "system" should also be understood to include any set of machines or systems that individually or collectively execute one (or more) instruction sets to execute any one or more methods discussed herein.
[0206] In one embodiment, system 1500 includes a processor 1501, a memory 1503, and devices 1505 to 1508 connected by a bus or interconnect 1510. Processor 1501 may represent a single processor or multiple processors including a single processor core or multiple processor cores. Processor 1501 may represent one or more general-purpose processors, such as a microprocessor, a central processing unit (CPU), etc. More specifically, processor 1501 may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor implementing other instruction sets, or a processor implementing a combination of instruction sets. Processor 1501 may also be one or more special-purpose processors, such as an application-specific integrated circuit (ASIC), a cellular or baseband processor, a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, a graphics processor, a communication processor, an encryption processor, a coprocessor, an embedded processor, or any other type of logic capable of processing instructions.
[0207] Processor 1501 (which may be a low-power multi-core processor socket, such as an ultra-low voltage processor) may serve as a main processing unit and central hub for communicating with various components of the system. Such a processor may be implemented as a system on a chip (SoC). Processor 1501 is configured to execute instructions for performing the operations and steps discussed herein. System 1500 may also include a graphics interface for communicating with an optional graphics subsystem 1504, which may include a display controller, a graphics processor, and / or a display device.
[0208] The processor 1501 may communicate with the memory 1503, which in one embodiment may be implemented via multiple memory devices to provide a certain amount of system storage. The memory 1503 may include one or more volatile storage (or memory) devices, such as random access memory (RAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), static RAM (SRAM), or other types of storage devices. The memory 1503 may store information including sequences of instructions executed by the processor 1501 or any other device. For example, executable code and / or data of various operating systems, device drivers, firmware (e.g., input-output basic system or BIOS), and / or applications may be loaded into the memory 1503 and executed by the processor 1501. The operating system may be any type of operating system, such as the Robot Operating System (ROS), a Company Operating system, Mac from Apple From Company LINUX, UNIX, or other real-time or embedded operating systems.
[0209] System 1500 may also include IO devices, such as devices 1505 to 1508, including a network interface device 1505, an optional input device 1506, and other optional IO devices 1507. The network interface device 1505 may include a wireless transceiver and / or a network interface card (NIC). The wireless transceiver may be a WiFi transceiver, an infrared transceiver, a Bluetooth transceiver, a WiMax transceiver, a wireless cellular phone transceiver, a satellite transceiver (e.g., a global positioning system (GPS) transceiver) or other radio frequency (RF) transceivers or combinations thereof. The NIC may be an Ethernet card.
[0210] Input device 1506 may include a mouse, a touchpad, a touch-sensitive screen (which may be integrated with display device 1504), a pointer device (such as a stylus), and / or a keyboard (e.g., a physical keyboard or a virtual keyboard displayed as part of a touch-sensitive screen). For example, input device 1506 may include a touch screen controller coupled to a touch screen. The touch screen and touch screen controller may, for example, use any of a variety of touch-sensitive technologies (including, but not limited to, capacitive, resistive, infrared, and surface acoustic wave technologies), as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen to detect contact and movement or discontinuity thereof.
[0211] IO devices 1507 may include audio devices. The audio devices may include speakers and / or microphones to facilitate voice-enabled functions such as voice recognition, voice replication, digital recording, and / or telephone functions. Other IO devices 1507 may also include universal serial bus (USB) ports, parallel ports, serial ports, printers, network interfaces, bus bridges (e.g., PCI-PCI bridges), sensors (e.g., such as accelerometer motion sensors, gyroscopes, magnetometers, light sensors, compasses, proximity sensors, etc.), or combinations thereof. Device 1507 may also include an imaging processing subsystem (e.g., a camera), which may include an optical sensor such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) optical sensor for facilitating camera functions (e.g., recording photos and video clips). Certain sensors may be connected to interconnect 1510 via a sensor hub (not shown), while other devices such as a keyboard or thermal sensor may be controlled by an embedded controller (not shown) according to the specific configuration or design of system 1500.
[0212] In order to provide permanent storage of information such as data, applications, one or more operating systems, etc., a mass storage device (not shown) may also be connected to the processor 1501. In various embodiments, in order to achieve a thinner and lighter system design and improve system responsiveness, such a mass storage device may be implemented via a solid-state device (SSD). However, in other embodiments, the mass storage device may be implemented primarily using a hard disk drive (HDD), wherein a smaller amount of SSD storage devices act as SSD caches to achieve non-volatile storage of context states and other such information during power-off events, thereby enabling fast power-on when system activities are restarted. In addition, a flash memory device may be connected to the processor 1501, for example, via a serial peripheral interface (SPI). Such a flash memory device may provide non-volatile storage of system software, including the BIOS and other firmware of the system.
[0213] The storage device 1508 may include a computer-accessible storage medium 1509 (also referred to as a machine-readable storage medium or a computer-readable medium) on which is stored one or more instruction sets or software (e.g., modules, units, and / or logic 1528) embodying any one or more of the methods or functions described herein. The processing module / unit / logic 1528 may represent any of the above components, such as, for example Figure 4 HD map generation engine 125, Figure 5 HD map generation system 500, Figure 6 Pipeline 600, Fig.10 Real-time map generation module 308, Fig.15 RGB point cloud module 309, Fig.19 Map partitioning engine 126, Fig. 27 Ghosting effect engine 127, Figure 3A Perception and planning system 110 or Figure 1 The processing module / unit / logic 1528 may also reside completely or at least partially in the memory 1503 and / or in the processor 1501 during its execution by the data processing system 1500, the memory 1503 and the processor 1501, which also constitute a machine-accessible storage medium. The processing module / unit / logic 1528 may also be transmitted or received via the network interface device 1505 through the network.
[0214] Computer-readable storage medium 1509 may also be used to permanently store some of the software functions described above. Although computer-readable storage medium 1509 is shown as a single medium in an exemplary embodiment, the term "computer-readable storage medium" should be considered to include a single medium or multiple media (e.g., a centralized or distributed database and / or associated caches and servers) storing the one or more instruction sets. The term "computer-readable storage medium" should also be considered to include any medium capable of storing or encoding an instruction set that is used to be executed by a machine and causes the machine to perform any one or more methods of the present disclosure. Therefore, the term "computer-readable storage medium" should be considered to include, but is not limited to, solid-state memory and optical and magnetic media, or any other non-temporary machine-readable medium.
[0215] The processing modules / units / logic 1528, components, and other features described herein may be implemented as discrete hardware components or integrated into the functionality of hardware components (such as ASICS, FPGAs, DSPs, or similar devices). In addition, the processing modules / units / logic 1528 may be implemented as firmware or functional circuits within a hardware device. In addition, the processing modules / units / logic 1528 may be implemented in any combination of hardware devices and software components.
[0216] It should be noted that although system 1500 is shown as having various components of a data processing system, it is not intended to represent any particular architecture or manner of interconnecting the components; as such details are not germane to the embodiments of the present disclosure. It should also be appreciated that network computers, handheld computers, mobile phones, servers, and / or other data processing systems having fewer or possibly more components may also be used with embodiments of the present disclosure.
[0217] Some portions of the foregoing detailed description have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is generally considered herein to be a self-consistent sequence of operations leading to a desired result. These operations are those requiring physical manipulation of physical quantities.
[0218] It should be borne in mind, however, that all of these and similar terms are intended to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless otherwise expressly indicated in the above discussion, it should be understood that throughout the specification, discussions utilizing terms such as those set forth in the appended claims refer to the actions and processes of a computer system or similar electronic computing device that manipulates data represented as physical (electronic) quantities within the computer system's registers and memories and transforms the data into other data similarly represented as physical quantities within the computer system's memories or registers or other such information storage, transmission, or display devices.
[0219] Embodiments of the present disclosure also relate to devices for performing the operations herein. Such a computer program is stored in a non-transitory computer-readable medium. A machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). For example, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., computer) readable storage medium (e.g., a read-only memory ("ROM"), a random access memory ("RAM"), a magnetic disk storage medium, an optical storage medium, a flash memory device).
[0220] The processes or methods depicted in the foregoing figures may be performed by processing logic including hardware (e.g., circuits, dedicated logic, etc.), software (e.g., embodied on a non-transitory computer-readable medium), or a combination of both. Although the processes or methods are described above in terms of some sequential operations, it should be understood that some of the operations may be performed in a different order. In addition, some operations may be performed in parallel rather than sequentially.
[0221] The embodiments of the present disclosure are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the embodiments of the present disclosure as described herein.
[0222] In the above description, embodiments of the present invention have been described with reference to specific exemplary embodiments of the present disclosure. It will be apparent that various modifications may be made to the present disclosure without departing from the broader spirit and scope of the present invention as set forth in the appended claims. Therefore, the present description and the accompanying drawings should be understood in an illustrative sense rather than a restrictive sense.
Claims
1. A computer-implemented method for registering a point cloud for an autonomous vehicle, the method comprising: Receiving a plurality of point clouds and corresponding poses from an autonomous vehicle equipped with a light detection and ranging (LIDAR) sensor that captures a point cloud of a drivable area to be mapped, wherein the plurality of point clouds correspond to a first coordinate system; downsampling the received point cloud in time according to a temporal sliding window, and downsampling the received point cloud in space according to a spatial window having a predetermined spatial radius; Dividing the point cloud and corresponding poses into one or more loop partitions based on drivable loop information captured by the point cloud, the drivable loop information including closed loop points, the closed loop points identifying a road closed loop based on a road profile; For each of the loop partitions, applying an optimized model to a point cloud corresponding to each loop partition to register the point cloud, including transforming the point cloud from the first coordinate system to a second coordinate system; and The one or more loop partitions are merged together using a pose graph algorithm, wherein a point cloud of the merged loop partitions is used to perceive a driving environment around the autonomous vehicle.
2. The method according to claim 1, further comprising: If the plurality of point clouds and corresponding poses used for a loop partition span a spatial area larger than a predetermined spatial area, the loop partition is divided into a plurality of block partitions that are smaller than or equal to the predetermined spatial area.
3. The method according to claim 1, wherein: Applying the optimization model includes solving an iterative closest point problem to register a point cloud for the loop partitioning based on a bundle adjustment optimization model, including: Projecting each of the point clouds and corresponding poses of the loop partitions from the relative coordinate system to the UTM coordinate system; pairing associated frames for the loop partition; and For the loop partitions, an optimization problem for pose pairs is solved to register the projected point clouds.
4. The method according to claim 1, wherein: The optimization problem for each loop partition is solved in parallel by the alternating direction multiplier ADMM optimization algorithm.
5. The method according to claim 4, wherein: Merging the loop partitions together comprises: identifying overlapping routes for two or more loop partitions; and Overlapping routes for the two or more loop partitions are merged together.
6. The method of claim 5, further comprising applying a pose adjustment algorithm to the poses of the merged loop partitions to minimize differences between features of the merged loop partitions.
7. The method according to claim 6, wherein: Applying a pose adjustment algorithm includes applying a rigid body transformation to the poses of the merged loop partitions, wherein the rigid body transformation is determined based on poses having a confidence level above a threshold.
8. A non-transitory machine-readable medium storing instructions, the instructions, when executed by a processor, causing the processor to perform the following operations, the operations comprising: Receiving a plurality of point clouds and corresponding poses from an autonomous vehicle equipped with a light detection and ranging (LIDAR) sensor that captures a point cloud of a drivable area to be mapped, wherein the plurality of point clouds correspond to a first coordinate system; downsampling the received point cloud in time according to a temporal sliding window, and downsampling the received point cloud in space according to a spatial window having a predetermined spatial radius; Dividing the point cloud and corresponding poses into one or more loop partitions based on drivable loop information captured by the point cloud, the drivable loop information including closed loop points, the closed loop points identifying a road closed loop based on a road profile; For each of the loop partitions, applying an optimized model to a point cloud corresponding to each loop partition to register the point cloud, including transforming the point cloud from the first coordinate system to a second coordinate system; and The one or more loop partitions are merged together using a pose graph algorithm, wherein a point cloud of the merged loop partitions is used to perceive a driving environment around the autonomous vehicle.
9. The non-transitory machine-readable medium of claim 8, further comprising: If the plurality of point clouds and corresponding poses used for a loop partition span a spatial area larger than a predetermined spatial area, the loop partition is divided into a plurality of block partitions that are smaller than or equal to the predetermined spatial area.
10. The non-transitory machine-readable medium of claim 8, wherein: Applying the optimization model includes solving an iterative closest point problem to register a point cloud for the loop partitioning based on a bundle adjustment optimization model, including: Projecting each of the point clouds and corresponding poses of the loop partitions from the relative coordinate system to the UTM coordinate system; pairing associated frames for the loop partition; and For the loop partitions, an optimization problem for pose pairs is solved to register the projected point clouds.
11. The non-transitory machine-readable medium of claim 8, wherein: The optimization problem for each loop partition is solved in parallel by the alternating direction multiplier ADMM optimization algorithm.
12. A data processing system comprising: processor; as well as A memory coupled to the processor to store instructions that, when executed by the processor, cause the processor to perform the following operations, the operations comprising: Receiving a plurality of point clouds and corresponding poses from an autonomous vehicle equipped with a light detection and ranging (LIDAR) sensor that captures a point cloud of a drivable area to be mapped, wherein the plurality of point clouds correspond to a first coordinate system; downsampling the received point cloud in time according to a temporal sliding window, and downsampling the received point cloud in space according to a spatial window having a predetermined spatial radius; Dividing the point cloud and corresponding poses into one or more loop partitions based on drivable loop information captured by the point cloud, the drivable loop information including closed loop points, the closed loop points identifying a road closed loop based on a road profile; For each of the loop partitions, applying an optimized model to a point cloud corresponding to each loop partition to register the point cloud, including transforming the point cloud from the first coordinate system to a second coordinate system; and The one or more loop partitions are merged together using a pose graph algorithm, wherein a point cloud of the merged loop partitions is used to perceive a driving environment around the autonomous vehicle.
13. The system of claim 12, further comprising: If the plurality of point clouds and corresponding poses used for a loop partition span a spatial area larger than a predetermined spatial area, the loop partition is divided into a plurality of block partitions that are smaller than or equal to the predetermined spatial area.
14. The system according to claim 12, wherein: Applying the optimization model includes solving an iterative closest point problem to register a point cloud for the loop partitioning based on a bundle adjustment optimization model, including: Projecting each of the point clouds and corresponding poses of the loop partitions from the relative coordinate system to the UTM coordinate system; pairing associated frames for the loop partition; and For the loop partitions, an optimization problem for pose pairs is solved to register the projected point clouds.
15. The system of claim 12, wherein: The optimization problem for each loop partition is solved in parallel by the alternating direction multiplier ADMM optimization algorithm.
