This patent application is a U.S. National Phase Application under 35 U.S.C. § 371 of International Application No. PCT/CN2019/073970, filed Jan. 30, 2019, entitled “A RGB POINT CLOUDS BASED MAP GENERATION SYSTEM FOR AUTONOMOUS VEHICLES,” which is incorporated by reference herein by its entirety.
Embodiments of the present disclosure relate generally to operating autonomous vehicles. More particularly, embodiments of the disclosure relate to a RGB (red green blue) point clouds based map generation system for autonomous driving vehicles (ADVs).
Vehicles operating in an autonomous mode (e.g., driverless) can relieve occupants, especially the driver, from some driving-related responsibilities. When operating in an autonomous mode, the vehicle can navigate to various locations using onboard sensors, allowing the vehicle to travel with minimal human interaction or in some cases without any passengers.
Motion planning and control are critical operations in autonomous driving. However, conventional motion planning operations estimate the difficulty of completing a given path mainly from its curvature and speed, without considering the differences in features for different types of vehicles. Same motion planning and control is applied to all types of vehicles, which may not be accurate and smooth under some circumstances.
High-definition (HD) three dimensional (3D) point cloud map is important for autonomous vehicles, and a point cloud registration system is central to construction of a HD 3D point cloud map from point clouds data. A HD 3D point cloud map with high accuracy is key to motion planning for an autonomous driving vehicle (ADV).
However, several problems exist which influence both the performance and accuracy of map construction. First, current point cloud registration algorithms are highly dependent on a GPS signal for localization for the map construction, which can have a margin of errors in the orders of meters, or register a signal with GPS bounces, for example, in city streets lined by tall buildings or dense forest. Or the GPS may fail to register a signal altogether, for example, in tunnels or garages. Secondly, the registration of point clouds may be computational complex, e.g., challenging and time-consuming for large map areas.
Furthermore, an accuracy of a registered HD 3D point clouds map may depend on the quality of the point clouds or the splicing of the point clouds. If the point cloud map has a ghost image caused by, for example, splicing of the point clouds, accuracy of the HD 3D point cloud map may suffer. In order to ensure high accuracy, it is desirable to evaluate the point cloud map for ghosting effects.
In a first aspect, embodiments of the disclosure provide a computer-implemented method to register point clouds to a three-dimensional (3D) point cloud map for an autonomous driving vehicle (ADV), the method including: receiving a plurality of point clouds captured by one or more LIDAR sensors of an ADV and corresponding poses; receiving a plurality of RGB images from one or more image capturing sensors of the ADV; synchronizing the RGB images with the point clouds to obtain RGB point clouds; extracting features from the RGB point clouds, the features including contextual and spatial information of the RGB point clouds; registering the RGB point clouds based on the extracted features; and generating a point cloud map based on the registration of the RGB point clouds.
In a second aspect, embodiments of the disclosure provide a non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations, the operations including: receiving a plurality of point clouds captured by one or more LIDAR sensors of an ADV and corresponding poses; receiving a plurality of RGB images from one or more image capturing sensors of the ADV; synchronizing the RGB images with the point clouds to obtain RGB point clouds; extracting features from the RGB point clouds, the features including contextual and spatial information of the RGB point clouds; registering the RGB point clouds based on the extracted features; and generating a point cloud map based on the registration of the RGB point clouds.
In a third aspect, embodiments of the disclosure provide a data processing system, including: a processor; and a memory coupled to the processor to store instructions, which when executed by the processor, cause the processor to perform operations, the operations including: receiving a plurality of point clouds captured by one or more LIDAR sensors of an ADV and corresponding poses; receiving a plurality of RGB images from one or more image capturing sensors of the ADV; synchronizing the RGB images with the point clouds to obtain RGB point clouds; extracting features from the RGB point clouds, the features including contextual and spatial information of the RGB point clouds; registering the RGB point clouds based on the extracted features; and generating a point cloud map based on the registration of the RGB point clouds.
Embodiments of the disclosure are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like references indicate similar elements.
Various embodiments and aspects of the disclosures will be described with reference to details discussed below, and the accompanying drawings will illustrate the various embodiments. The following description and drawings are illustrative of the disclosure and are not to be construed as limiting the disclosure. Numerous specific details are described to provide a thorough understanding of various embodiments of the present disclosure. However, in certain instances, well-known or conventional details are not described in order to provide a concise discussion of embodiments of the present disclosures.
Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in conjunction with the embodiment can be included in at least one embodiment of the disclosure. The appearances of the phrase “in one embodiment” in various places in the specification do not necessarily all refer to the same embodiment.
Reference in the specification to “HD”, or “high definition” such as HD map or HD poses refers to maps or poses with a very high precision level. For example, HD maps can have a precision level of centimeters or tens of centimeters.
In order to solve the problems of weak or no GPS signals and a computational complexity for large map areas, a large map area is partitioned into smaller partitions using topology information (e.g., loop closures) of the map area. The computation of each partition can then be separately computed, for example, in parallel, in each node of a computing cluster (e.g., a Hadoop cluster) in order to leverage the computational load of each node to decrease the overall computational complexity. Furthermore, the topology information improves the registration of point clouds with weak or no GPS signals.
According to a first aspect, a system is disclosed for registration of point clouds for autonomous driving vehicles (ADV). The system receives a number of point clouds and corresponding poses from ADVs equipped with LIDAR sensors capturing point clouds of a navigable area to be mapped, where the point clouds correspond to a first coordinate system (e.g., a relative coordinate system with respect to a location of the ADV). The system partitions the point clouds and the corresponding poses into one or more loop partitions based on navigable loop information captured by the point clouds. For each of the loop partitions, the system applies an optimization model to point clouds corresponding to the loop partition to register the point clouds, including transforming the point clouds from the first coordinate system to a second coordinate system (e.g., global or absolute coordinate system such as a UTM coordinate system). They system merges the one or more loop partitions together using a pose graph algorithm, where the merged partitions of point clouds are utilized to perceive a driving environment surrounding the ADV.
According to a second aspect, a system receives a stream of frames of point clouds from one or more LIDAR sensors of an ADV and corresponding poses in real-time. The system extracts segment information for each frame of the stream based on geometric or spatial attributes of points in the frame, where the segment information includes one or more segments of at least a first frame corresponding to a first pose. The system registers the stream of frames based on the segment information. The system generates a first point cloud map for the stream of frames based on the frame registration.
According to a third aspect, a system receives a number of point clouds captured by one or more LIDAR sensors of an ADV and corresponding poses. The system receives a number of RGB (red, blue, and green) images from one or more image capturing sensors of the ADV. The system synchronizes the RGB images with the point clouds to obtain RGB point clouds. The system extracts features from the RGB point clouds, the features including contextual and spatial information of the RGB point clouds. The system registers the RGB point clouds based on the extracted features and generates a point cloud map based on the registration of the RGB point clouds.
According to a fourth aspect, a system identifies a road to be navigated by an ADV, the road being 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 clouds, the road marking information describing one or more road markings of the identified road. The system partitions 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, where the point cloud map is utilized to perceive a driving environment surrounding the ADV.
According to a fifth aspect, a system generates an occupancy grid map based on an initial frame of point clouds. The system receives one or more subsequent frames of the point clouds. For each of the subsequent frames, the system updates an occupancy grid map based on the subsequent frame. The system identifies one or more problematic voxels based on the update, the system determines whether the problematic voxels belong to a wall object, and in response to determining that the problematic voxels belong to a wall object, the system flags the problematic voxels as ghost effect voxels for the subsequent frame.
An autonomous vehicle refers to a vehicle that can be configured to in an autonomous mode in which the vehicle navigates through an environment with little or no input from a driver. Such an autonomous vehicle can include a sensor system having one or more sensors that are configured to detect information about the environment in which the vehicle operates. The vehicle and its associated controller(s) use the detected information to navigate through the environment. Autonomous vehicle 101 can operate in a manual mode, a full autonomous mode, or a partial autonomous mode.
In one embodiment, autonomous vehicle 101 includes, but is not limited to, perception and planning system 110, vehicle control system 111, wireless communication system 112, user interface system 113, infotainment system 114, and sensor system 115. Autonomous vehicle 101 may further include certain common components included in ordinary vehicles, such as, an engine, wheels, steering wheel, transmission, etc., which may be controlled by vehicle control system 111 and/or perception and planning system 110 using a variety of communication signals and/or commands, such as, for example, acceleration signals or commands, deceleration signals or commands, steering signals or commands, braking signals or commands, etc.
Components 110-115 may be communicatively coupled to each other via an interconnect, a bus, a network, or a combination thereof. For example, components 110-115 may be communicatively coupled to each other via a controller area network (CAN) bus. A CAN bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other in applications without a host computer. It is a message-based protocol, designed originally for multiplex electrical wiring within automobiles, but is also used in many other contexts.
Referring now to
Sensor system 115 may further include other sensors, such as, a sonar sensor, an infrared sensor, a steering sensor, a throttle sensor, a braking sensor, and an audio sensor (e.g., microphone). An audio sensor may be configured to capture sound from the environment surrounding the autonomous vehicle. A steering sensor may be configured to sense the steering angle of a steering wheel, wheels of the vehicle, or a combination thereof. A throttle sensor and a braking sensor sense the throttle position and braking position of the vehicle, respectively. In some situations, a throttle sensor and a braking sensor may be integrated as an integrated throttle/braking sensor.
In one embodiment, vehicle control system 111 includes, but is not limited to, steering unit 201, throttle unit 202 (also referred to as an acceleration unit), and braking unit 203. Steering unit 201 is to adjust the direction or heading of the vehicle. Throttle unit 202 is to control the speed of the motor or engine that in turn control the speed and acceleration of the vehicle. Braking unit 203 is to decelerate the vehicle by providing friction to slow the wheels or tires of the vehicle. Note that the components as shown in
Referring back to
Some or all of the functions of autonomous vehicle 101 may be controlled or managed by perception and planning system 110, especially when operating in an autonomous driving mode. Perception and planning system 110 includes the necessary hardware (e.g., processor(s), memory, storage) and software (e.g., operating system, planning and routing programs) to receive information from sensor system 115, control system 111, wireless communication system 112, and/or user interface system 113, process the received information, plan a route or path from a starting point to a destination point, and then drive vehicle 101 based on the planning and control information. Alternatively, perception and planning system 110 may be integrated with vehicle control system 111.
For example, a user as a passenger may specify a starting location and a destination of a trip, for example, via a user interface. Perception and planning system 110 obtains the trip related data. For example, perception and planning system 110 may obtain location and route information from an MPOI server, which may be a part of servers 103-104. The location server provides location services and the MPOI server provides map services and the POIs of certain locations. Alternatively, such location and MPOI information may be cached locally in a persistent storage device of perception and planning system 110.
While autonomous vehicle 101 is moving along the route, perception and planning system 110 may also obtain real-time traffic information from a traffic information system or server (TIS). Note that servers 103-104 may be operated by a third party entity. Alternatively, the functionalities of servers 103-104 may be integrated with perception and planning system 110. Based on the real-time traffic information, MPOI information, and location information, as well as real-time local environment data detected or sensed by sensor system 115 (e.g., obstacles, objects, nearby vehicles), perception and planning system 110 can plan an optimal route and drive vehicle 101, for example, via control system 111, according to the planned route to reach the specified destination safely and efficiently.
Server 103 may be a data analytics system to perform data analytics services for a variety of clients. In one embodiment, data analytics system 103 includes data collector 121 and machine learning engine 122. Data collector 121 collects driving statistics 123 from a variety of vehicles, either autonomous vehicles or regular vehicles driven by human drivers. Driving statistics 123 include information indicating the driving commands (e.g., throttle, brake, steering commands) issued and responses of the vehicles (e.g., speeds, accelerations, decelerations, directions) captured by sensors of the vehicles at different points in time. Driving statistics 123 may further include information describing the driving environments at different points in time, such as, for example, routes (including starting and destination locations), MPOIs, road conditions, weather conditions, etc. Driving statistics 123 may further include point clouds information such as point clouds images captured by LIDAR sensors mounted on the vehicles describing the driving environment, and corresponding poses captured by IMU and GPS sensors describing a position and orientation of the vehicles.
Based on driving statistics 123, machine learning engine 122 generates or trains a set of rules, algorithms, and/or predictive models 124 for a variety of purposes. In one embodiment, algorithms 124 may include bundle adjustment algorithms, alternating direction method of multipliers (ADMM) algorithms, image segmentation algorithms (e.g., edge detection, motion detection, etc.), simultaneous localization and mapping (SLAM) algorithms, deep learning neural network models.
Algorithms 124 may be uploaded on ADVs to be utilized during autonomous driving in real-time or may be utilized by other modules such as HD map generation engine 125 of server 103. In one embodiment, HD map generation engine 125 can register the point clouds collected by the ADVs and generate a HD map based on the registered point clouds. Although HD map generation engine 125 is shown as part of server 103, in some embodiments, engine 125 may be part of server 104.
Some or all of modules 301-307 may be implemented in software, hardware, or a combination thereof. For example, these modules may be installed in persistent storage device 352, loaded into memory 351, and executed by one or more processors (not shown). Note that some or all of these modules may be communicatively coupled to or integrated with some or all modules of vehicle control system 111 of
Localization module 301 determines a current location of autonomous vehicle 300 (e.g., leveraging GPS unit 212) and manages any data related to a trip or route of a user. Localization module 301 (also referred to as a map and route module) manages any data related to a trip or route of a user. A user may log in and specify a starting location and a destination of a trip, for example, via a user interface. Localization module 301 communicates with other components of autonomous vehicle 300, such as map and route information 311, to obtain the trip related data. For example, localization module 301 may obtain location and route information from a location server and a map and POI (MPOI) server. A location server provides location services and an MPOI server provides map services and the POIs of certain locations, which may be cached as part of map and route information 311. While autonomous vehicle 300 is moving along the route, localization module 301 may also obtain real-time traffic information from a traffic information system or server.
Based on the sensor data provided by sensor system 115 and localization information obtained by localization module 301, a perception of the surrounding environment is determined by perception module 302. The perception information may represent what an ordinary driver would perceive surrounding a vehicle in which the driver is driving. The perception can include the lane configuration, traffic light signals, a relative position of another vehicle, a pedestrian, a building, crosswalk, or other traffic related signs (e.g., stop signs, yield signs), etc., for example, in a form of an object. The lane configuration includes information describing a lane or lanes, such as, for example, a shape of the lane (e.g., straight or curvature), a width of the lane, how many lanes in a road, one-way or two-way lane, merging or splitting lanes, exiting lane, etc.
Perception module 302 may include a computer vision system or functionalities of a computer vision system to process and analyze images captured by one or more cameras in order to identify objects and/or features in the environment of autonomous vehicle. The objects can include traffic signals, road way boundaries, other vehicles, pedestrians, and/or obstacles, etc. The computer vision system may use an object recognition algorithm, video tracking, and other computer vision techniques. In some embodiments, the computer vision system can map an environment, track objects, and estimate the speed of objects, etc. Perception module 302 can also detect objects based on other sensors data provided by other sensors such as a radar and/or LIDAR.
For each of the objects, prediction module 303 predicts what the object will behave under the circumstances. The prediction is performed based on the perception data perceiving the driving environment at the point in time in view of a set of map/rout information 311 and traffic rules 312. For example, if the object is a vehicle at an opposing direction and the current driving environment includes an intersection, prediction module 303 will predict whether the vehicle will likely move straight forward or make a turn. If the perception data indicates that the intersection has no traffic light, prediction module 303 may predict that the vehicle may have to fully stop prior to enter the intersection. If the perception data indicates that the vehicle is currently at a left-turn only lane or a right-turn only lane, prediction module 303 may predict that the vehicle will more likely make a left turn or right turn respectively.
For each of the objects, decision module 304 makes a decision regarding how to handle the object. For example, for a particular object (e.g., another vehicle in a crossing route) as well as its metadata describing the object (e.g., a speed, direction, turning angle), decision module 304 decides how to encounter the object (e.g., overtake, yield, stop, pass). Decision module 304 may make such decisions according to a set of rules such as traffic rules or driving rules 312, which may be stored in persistent storage device 352.
Routing module 307 is configured to provide one or more routes or paths from a starting point to a destination point. For a given trip from a start location to a destination location, for example, received from a user, routing module 307 obtains route and map information 311 and determines all possible routes or paths from the starting location to reach the destination location. Routing module 307 may generate a reference line in a form of a topographic map for each of the routes it determines from the starting location to reach the destination location. A reference line refers to an ideal route or path without any interference from others such as other vehicles, obstacles, or traffic condition. That is, if there is no other vehicle, pedestrians, or obstacles on the road, an ADV should exactly or closely follows the reference line. The topographic maps are then provided to decision module 304 and/or planning module 305. Decision module 304 and/or planning module 305 examine all of the possible routes to select and modify one of the most optimal routes in view of other data provided by other modules such as traffic conditions from localization module 301, driving environment perceived by perception module 302, and traffic condition predicted by prediction module 303. The actual path or route for controlling the ADV may be close to or different from the reference line provided by routing module 307 dependent upon the specific driving environment at the point in time.
Based on a decision for each of the objects perceived, planning module 305 plans a path or route for the autonomous vehicle, as well as driving parameters (e.g., distance, speed, and/or turning angle), using a reference line provided by routing module 307 as a basis. That is, for a given object, decision module 304 decides what to do with the object, while planning module 305 determines how to do it. For example, for a given object, decision module 304 may decide to pass the object, while planning module 305 may determine whether to pass on the left side or right side of the object. Planning and control data is generated by planning module 305 including information describing how vehicle 300 would move in a next moving cycle (e.g., next route/path segment). For example, the planning and control data may instruct vehicle 300 to move 10 meters at a speed of 30 mile per hour (mph), then change to a right lane at the speed of 25 mph.
Based on the planning and control data, control module 306 controls and drives the autonomous vehicle, by sending proper commands or signals to vehicle control system 111, according to a route or path defined by the planning and control data. The planning and control data include sufficient information to drive the vehicle from a first point to a second point of a route or path using appropriate vehicle settings or driving parameters (e.g., throttle, braking, steering commands) at different points in time along the path or route.
In one embodiment, the planning phase is performed in a number of planning cycles, also referred to as driving cycles, such as, for example, in every time interval of 100 milliseconds (ms). For each of the planning cycles or driving cycles, one or more control commands will be issued based on the planning and control data. That is, for every 100 ms, planning module 305 plans a next route segment or path segment, for example, including a target position and the time required for the ADV to reach the target position. Alternatively, planning module 305 may further specify the specific speed, direction, and/or steering angle, etc. In one embodiment, planning module 305 plans a route segment or path segment for the next predetermined period of time such as 5 seconds. For each planning cycle, planning module 305 plans a target position for the current cycle (e.g., next 5 seconds) based on a target position planned in a previous cycle. Control module 306 then generates one or more control commands (e.g., throttle, brake, steering control commands) based on the planning and control data of the current cycle.
Note that decision module 304 and planning module 305 may be integrated as an integrated module. Decision module 304/planning module 305 may include a navigation system or functionalities of a navigation system to determine a driving path for the autonomous vehicle. For example, the navigation system may determine a series of speeds and directional headings to affect movement of the autonomous vehicle along a path that substantially avoids perceived obstacles while generally advancing the autonomous vehicle along a roadway-based path leading to an ultimate destination. The destination may be set according to user inputs via user interface system 113. The navigation system may update the driving path dynamically while the autonomous vehicle is in operation. The navigation system can incorporate data from a GPS system and one or more maps so as to determine the driving path for the autonomous vehicle.
Point clouds receiver module 401 can receive point clouds (e.g., LIDAR images captured by LIDAR sensors of an ADV) and corresponding poses (e.g., position and orientation). A point cloud refers to a set of data points, in this example, captured by a LIDAR device at a particular point in time. Each data point is associated with location information of the data point (e.g., x, y, and z coordinates). Point clouds down-sampling module 403, which may be optional, can down-sample the point clouds spatially or temporally. Loop information determiner module 405 can determine whether there is a loop closure for a set of point clouds corresponding to a navigable area that forms a geographic loop. Partition module 407 can partition one or more navigable areas into one or more partitions based on the closure information or block partition information. Optimization solver module 409 can apply an optimization algorithm (such as a bundle adjustment or an ADMM algorithm, as part of algorithms 415 of
The input to the pipeline can be raw point clouds and their poses collected from task scenarios from LIDAR sensors mounted on one or more ADVs. Usually the input contains tens or hundreds of thousands of LIDAR poses to be optimized and aligned. In order to minimize a number of input points for pipeline 600, down-sampling process 601 down samples the poses both spatially and/or temporally in a sequential manner.
In one embodiment, process 601 can down-sample point clouds spatially. For example, process 601 can determine a spatial sliding window. The sliding window can be circular window with a predetermined radius. Process 601 then identifies one LIDAR point cloud and a corresponding pose for all point clouds inside the spatial window for further processing. In another embodiment, process 601 can dispose of the other LIDAR point clouds and their corresponding poses which are not identified for further processing. In one embodiment, the one LIDAR point cloud can be identified based on a spatial region of interest, e.g., a central region of the sliding window.
In another embodiment, process 601 can down-sample point clouds temporally. For example, process 601 can determine a temporal sliding window to track a time sequence (e.g., using timestamps) of LIDAR point clouds for each spatial sliding window. Process 601 can then identify one LIDAR point clouds and its corresponding pose for further processing based on the each time sequence. For example, if there are two time sequences, i.e. two time clusters, process 601 keeps a point cloud and a corresponding pose for each of the two time sequences. Down-sampling the point cloud temporally is especially useful for scenarios when an ADV is idle at a red stop light. In this case, the idle ADV can capture a time sequence of substantially identical LIDAR frames but only one LIDAR point cloud is useful. Thus down-sampling identifies one LIDAR point cloud for further processing for the time sequence instead of the multiple LIDAR point clouds of the time sequence capturing the similar point clouds for the red stop light. Thus, down-sampling would decrease a number of repetitive or similar point clouds data and optimizes the input data for the pipeline. The down-sampled point clouds are then partitioned by process 602.
In one embodiment, partitioning process 602 determines loop closure information based on one or more computer vision algorithms such as edge detection and/or image segmentation algorithms. For example, process 602 can detect features or image edges using a corner detection algorithm. 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 collection of time and velocity information of the vehicle which can predict a location of the vehicle. In another embodiment, road loop closures are identified based on road contours or features of road contours. Process 602 then partitions the point clouds into one or more sets of point clouds based on the loop closure information such that one set of point clouds corresponds to a loop.
In one embodiment, if a detected loop spans an area greater than a predetermined threshold, partition process 602 can apply a spatial partitioning to the loop partition and further divide the loop partition into two or more blocks partition. This way, a computation load of each partition would not exceed a predetermined threshold. In one embodiment, loops are partitioned into blocks of a predetermined spatial area. The partitioned point clouds can then be registered in parallel by a node cluster in Hadoop and Message Passing Interface (MPI) process 603.
Point cloud registration refers to aligning various point clouds to a reference pose or point cloud. For each loop or block partition, to align the point clouds in the partition, the point clouds corresponding to the partition is applied an optimization algorithm to generate HD LIDAR poses for the point clouds. For example, process 603 can apply an iterative closest point (ICP) algorithm to a set of point clouds. Note, ICP is an algorithm employed to minimize the difference between two clouds of points. ICP is often used to reconstruct 2D or 3D surfaces from different scans. For ICP, one point cloud, e.g., a reference, is kept fixed, while the others are transformed to best match the reference. The algorithm iteratively revises a transformation (e.g., translation and rotation) required to minimize an error metric, e.g., a sum of squared differences between the coordinates of the matched pairs, or a distance from the other point clouds to the reference point cloud.
For example, for point cloud i with a corresponding LIDAR pose, the LIDAR pose (x, y, z, (yaw, pitch, and roll)) corresponding to a transformation matrix (e.g., i=(ti, Ri), where ti is a translation and Ri is a rotation transformation) can be used to project point cloud i from a relative coordinate system (relative to a vehicle) to a Universal Transverse Mercator (UTM) coordinate system. The projection equation is then: f
For each partition, process 603 can identify related point cloud pairs (or frame pairs) based on point clouds' poses as , where the pair (i,j)∈ represents the pair of point cloud i and point cloud j. Then the points between two point clouds pair can be defined as: (xk, xl)∈(i,j), where xk is a point from LIDAR point cloud index i, xl is a point from LIDAR point cloud index j, where (i,j) represents the. A bundle adjustment (BA) equation based on the above, to be optimized, is then as follow:
min
where {right arrow over (n)}i is the norm vector at point xk.
The above equation (P) can be solved by an optimization algorithm such as Levenberg Marquardt (LM) algorithm, however, its complexity is around O(m{circumflex over ( )}3) where m is the number of frame pairs. LM algorithm is used to solve non-linear least squares curve-fitting problems by finding a local minimum. In one embodiment, equation (P) can be subdivided into one or more subproblems and these subproblems can be applied an optimization algorithm (such as ADMM algorithm) to be solved separately. In one embodiment, these subproblems are solved in parallel using a node cluster. For example, for a given frame pair m⊆, the pose transformation matrix for the ith point cloud for the mth frame pair is im, where the upper-subscribe represents the index of subset of frame pair m and the lower-subscribe represents the index of point cloud i in the set of point cloud P. Then the bundle adjustment equations based on the parallel pipeline, to be optimized, is then as follow:
min
where im=i, ∀i⊆, and ∀i∈P.
In this example, the optimization algorithm can be processed by one or more nodes of a node cluster, e.g., each node processes a frame pair. In one embodiment, whether frame pairs are related can be determined based on a timestamp corresponding to the pair of frames, e.g., frame pairs which have consecutive timestamps or are within a time threshold can be related frame pairs. In another embodiment, related frame pairs can be determined based on loop closure information. For example, two frames which have separate timestamps but coincide with a same or similar location can be related frames (e.g., loop closures). In this case, the point clouds for the two frames should be substantially similar or matching. Once the poses are aligned or registered for each partition, the partitions can be merged together by process 604.
In one embodiment, poses graph alignment process 604 can merge the individual partitions into a larger map partition based on a pose graph alignment algorithm, such as a simultaneous localization and mapping (SLAM) algorithm. In one embodiment, overlapping areas for side-by-side partitions are coupled together such that only one set of output is necessary for the overlapping area, e.g., only one set of overlapping routes is necessary if the overlapping area is a route common to both areas.
In one embodiment, poses adjustment process 605 can further refine or adjust the poses to a UTM coordinate system. For example, previously, one pose is assumed as a reference pose to align other poses and point clouds. Process 605 can apply a final pose adjustment to decrease an overall error for mapping to the UTM coordinate system. For example, process 605 analyzes the input LIDAR poses for GPS confidence levels by comparing corresponding poses before and after optimization algorithm is applied. A pose (or poses) identified with the most confidence, e.g., a change between the received pose and the calculated HD pose is below a threshold, are kept for pose adjustment. All the poses are then applied a rigid body transform based on the identified pose. A rigid body transformation is a transformation which preserves a shape and size of the object to be transformed. Here, a rotational or a reflectional transformation is a rigid body transformation, while scaling is not a rigid body transformation. Finally, the point clouds with the adjusted poses are used to generate a high definition (HD) 3D point clouds map. In one embodiment, the 3D point clouds map can be transformed into a 2D localization map with a top-down view.
In one embodiment, the received point clouds are down-sampled temporally according to a temporal sliding window and spatially according to a spatial window having a predetermined spatial radius. In another embodiment, the navigable loop information includes loop closure points identifying navigable road loop closures based on road contours.
In one embodiment, if the number of point clouds and corresponding poses for a loop partition spans a spatial area greater than a predetermined spatial area, processing logic partitions the loop partition into a number of block partitions which are smaller 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 includes projecting each of the point clouds and the corresponding poses of the loop partition from a relative coordinate system onto a UTM coordinate system, pairing related frames for the loop partition, and solving an optimization problem for the poses pairs to register the projected point clouds for the loop partition.
In one embodiment, the optimization problem for each loop partition is solved by alternating directional methods of multiples (ADMM) optimization framework in parallel. In another embodiment, merging the partitions together includes merging 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.
In one embodiment, processing logic further applies a pose adjustment algorithm to the poses of the merged partitions to minimize a difference between features of the merged partitions. In another embodiment, applying a pose adjustment algorithm includes applying a rigid body transform to the poses of the merged partitions, where the rigid body transform is determined based on a pose with confidence above a threshold.
Some or all of modules 301-308 may be implemented in software, hardware, or a combination thereof. For example, these modules may be installed in persistent storage device 352, loaded into memory 351, and executed by one or more processors (not shown). Note that some or all of these modules may be communicatively coupled to or integrated with some or all modules of vehicle control system 111 of
Currently, point clouds are received by an ADV in a large number of points from high definition LIDAR sensors mounted on an ADV. There are technical problems that the large number of points leads to heavy computation and memory costs. Furthermore, high definition LIDAR sensors may observe objects partially due to a limited field of view or objects in view may be blocked by other objects in different LIDAR frames. Moreover, techniques such as SLAM may cause SLAM drift in an estimated HD pose overtime. Technical solutions for some embodiments lessen the computation and memory costs and to reduce SLAM drift.
Referring to
Based on the extracted segments, segment based registration process 1103 utilizes a limited set of points from each segment type of the frame and applies an optimization algorithm such as ICP (as part of algorithms/models 313 of
In one embodiment, features extraction process 1104 extracts features or features representations from each segment of the current frame, and loop detection process 1105 compares the extracted features to features of previous frames. Features extraction is a dimensionality reduction process, where an initial set segment is reduced to a group of features for processing, while still accurately and completely describing the original segments. Examples of features include smoothness, linearity, and continuity of points for a segment (e.g., patterns). If the comparison provides a number of matching features above a predetermined threshold (e.g., quantity or percentage), then a loop closure is detected. Here, features are compared instead of segments because objects may be blocked or partially visible in a current field of view, different from a previous field of view. In one embodiment, features include eigenvalue based features. Eigen value based features can include linearity, planarity, scattering, omnivariance (e.g., characteristics of a volumetric point distribution), etc. features.
In one embodiment, extracted segments can be stored in a target map, the segments or segments information can be used to extract features for the segments. In another embodiment, process 1105 can apply a machine learning algorithm (as part of algorithms/models 313 of
The transformation matrices can then be used to verify a certainty of the detected loop closure. In another embodiment, a machine learning model (e.g., a deep learning neural network) can be used to determine if features match for among the current frame and any previously received frames. An example deep learning neural network can be multi-layer perceptron (MLP) 1200 of
Note, the machine learning model may include, but is not limited to, neural networks (fully connected, partially connected, or a combination thereof), support vector machines (SVM), linear regression, k-nearest neighbors, naive bayes, k-means, and random forest models. A neural network is a machine learning model which can learn to perform tasks by considering examples (e.g., training with input/output scenarios), without being programmed with any task-specific rules. A neural network is a computational approach based on a large collection of neural units or neurons in a series of hidden layers or inner layers. Each hidden layer is made up of a set of neurons, where each neuron is connected to one or more neurons in the previous layer, and where neurons in a single layer can function completely independently and may not share any connections with other neurons of the layer. A neural network is self-learning and trained, rather than explicitly programmed.
Referring to
In one embodiment, processing logic further extracts one or more features from each segment of each frame, including features from the first and a second frames. Processing logic detects a loop closure between the first and the second frames based on the extracted features of the first and the second frames. In response to detecting the loop closure between the first and second segments, processing logic localizes the second frame based on the frame registration, and updates the first pose based on the localization and the frame registration to generate a second point cloud map.
In another embodiment, detecting the loop closure between the first and the second frames includes applying an unsupervised machine learning algorithm to the features of the segments of the first and the second frames to determine if the two segments matches. In another embodiment, detecting the loop closure between the first and the second frames further includes applying a RANSAC algorithm to the first and the second frames to determine if the two segments match. In another embodiment, the unsupervised machine learning algorithm includes a nearest neighbor search.
In another embodiment, the features are extracted from each segment of each frame on a frame-to-frame basis, at real-time and the second frame includes a current frame. In another embodiment, the stream of frames is registered on a frame-by-frame basis, at real-time.
In one embodiment, extracting segment information for a frame includes applying an image segmentation algorithm to the frame to extract one or more segments for the frame and generating a segment map to store the one or more segments for the frame. In one embodiment, the segment information includes one or more segments of cylinder objects, one or more planar patch objects, or one or more smooth surface objects.
In one embodiment, registering the stream of frames based on the segment information includes identifying a number of segments of a previous and a subsequent frames based on the segment information, identifying a number of points corresponding to the number of segments, and applying an iterative closest point (ICP) algorithm to the number of points to minimize a distance between closest points of the number of points for the frame registration.
In one embodiment, processing logic further applies an iterative closest point (ICP) algorithm to points of each frame in the stream to register the stream of frames. In one embodiment, the features include information for linearity, planarity, scattering, and/or omnivariance of the segments. In one embodiment, the features include one or more eigen-based features.
Some or all of modules 301-309 may be implemented in software, hardware, or a combination thereof. For example, these modules may be installed in persistent storage device 352, loaded into memory 351, and executed by one or more processors (not shown). Note that some or all of these modules may be communicatively coupled to or integrated with some or all modules of vehicle control system 111 of
Approaches to use RGB images captured by image devices of an ADV together with point clouds add additional information (e.g., colors) to the point clouds. For example, RGB images can observe contextual information and color information of environments which may not be captured by LIDAR sensors. Thus, integrating RGB images with point clouds images can improve map generation accuracy especially for environments which are challenging to distinguish solely based on LIDAR point clouds images such as roads with bushes (e.g., spatial features which may not be distinguishable with LIDAR images).
Features extraction submodule 1605 can extract a features vector from the RGB cloud points. Features vectors can include features of both RGB images and cloud points for a frame. Registration module can register the point clouds based on the RGB/point clouds features. In another embodiment, registration submodule 1605 can register the point clouds using an optimization algorithm having RGB information integrated with point clouds into the cost function of the optimization algorithm. Map generation submodule 1607 can generate a map based on these registrations. Although it is shown, RGB point clouds module 309 is part of perception and planning system 110 of an ADV, RGB point clouds module 309 can be part of and/or integrated with HD map generation engine 125 of server 103 of
Since the images captured by an image capturing device (e.g., camera(s)) may be at a frequency different than a frequency of the LIDAR sensor capturing frequency, a first operation is to synchronize an RGB images with an appropriate point clouds. Synchronization may include a physical synchronization. A physical synchronization can include setting up camera sensors at a physical location to capture a same or substantially similar to a perspective view of a LIDAR sensor unit to be synced, for example, a panorama camera setup (e.g., made up of multiples of cameras) may be mounted on a spinning LIDAR sensors unit so the camera can capture RGB images having a view corresponding to the LIDAR sensors unit.
For a flash LIDAR sensor, similarly, a perspective view camera may be mounted near the flash LIDAR unit to capture RGB images with a perspective view corresponding to a view of the flash LIDAR sensor unit. In another embodiment, the LIDAR sensors unit and the camera setup is calibrated offline. In another embodiment, synchronization may include a temporal synchronization using timestamps, e.g., matching RGB frames to the correct point clouds. For example, a timestamp provided by a time information provider can be associated to the image frame at a time when the LIDAR unit captures the image frame. In one embodiment, the timestamp has a millisecond accuracy threshold.
Similarly, the camera unit can capture image frames and a time information provider can timestamp the image frame with a capture time. The time information provider may be shared between the LIDAR and the image capturing devices. In one embodiment, the time provider is a local real-time clock (RTC) provided by a CPU of the computing system. In another embodiment, the time provider is periodically synced to an external source such as an atomic clock from a time server over a network. In another embodiment, the time provider is synced to a GPS signal.
Because point clouds and RGB are each associated with a timestamp, point clouds and RGB images received at different frequencies can be aligned. For example, if point clouds are captured at 5-20 Hertz, and RGB images are captured at about 60 Hertz, each point clouds frame can be associated with a RGB image based on their timestamps. In this example, each point cloud can be associated with at least one RGB image by identifying the RGB image having a closest timestamp to a timestamp of the point cloud image. The RGB images with no associations would not be considered for integration/synchronization with the point clouds and can be discarded. In one embodiment, any RGB image can be associated with a point cloud so long as the RGB image timestamp is within a time threshold of the corresponding point cloud image. In another embodiment, if the RGB images capturing frequency is lower than the corresponding capturing frequency of the point clouds, a few point cloud frames of the received point clouds frames may not be synchronized with a RGB image. In this case, the RGB point clouds should be backward compatible, i.e., features extractions would not be effected, but only that RGB information would not be considered for the features extraction. In another embodiment, the image capturing device's RGB image capturing frequency may be adjusted to capture images at a similar frequency as the LIDAR sensor unit.
Once an RGB image frame and a point cloud frame are synchronized, individual points of a LIDAR frame is to be synchronized to one or more pixels from the RGB image.
In one embodiment, for RGB pixels that can be associated with points of a point cloud, a features extraction submodule, such as features extraction submodule 1605 of
In one embodiment, a feature based registration can be performed on the point clouds using the generated features vector. For example, an ICP algorithm with a RGB cost component is applied to a subset of the RGB point clouds (e.g., of the features vector) to optimize the RGB point clouds for candidate point matches to generate HD poses for the point clouds. Using the feature based registration results, a point clouds map can be generated. In another embodiment, a heuristic algorithm (as part of algorithms/models 313 of
In another embodiment, a second RGB point based registration can be performed on the RGB point clouds. Here, an ICP algorithm with a RGB cost component is applied to all the RGB point clouds to optimize the point clouds for candidate point matches to generate HD poses. For example, a cost component can incorporate an average value of the RGB color information for the pixels to be minimized. In another embodiment, the optimization can be performed on the RGB point clouds having four channels (R, G, B, and depth) of information (e.g., three channels are RGB components). Then, using the RGB points based registration results, a point clouds map can be generated.
In one embodiment, synchronizing the RGB image with the point clouds to obtain RGB point clouds includes for each point cloud, determining a timestamp of the point cloud, locating a RGB image from the number of RGB images that has a timestamp within a temporal threshold of the timestamp 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 clouds includes extracting features based on contextual and spatial information from both the RGB image and the associated point clouds.
In one embodiment, the contextual information includes color pattern and complexity of color pattern of the features, where spatial information includes information about location of points of the features. In one embodiment, registering the point clouds based on the extracted features includes applying an optimization algorithm to the number of cloud points. In one embodiment, the optimization algorithm includes an iterative closest point (ICP) algorithm.
In one embodiment, processing logic further applies a RANSAC algorithm to the extract features for outlier features. In one embodiment, processing logic further registers the point clouds for a points-based registration based on RGB point clouds. In one embodiment, the points-based registration includes applying an RGB-based ICP algorithm to the registered point clouds, where RGB information is integrated into a cost function of the ICP algorithm.
Thereafter, portions of the map may be uploaded, portion-by-portion, on ADVs to be utilized during autonomous driving in real-time by the ADVs. 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, part of perception and planning system 110 of
Road identifier module 2001 can identify a road within a point clouds map. Road markings extraction module 2003 can extract road markings from the identified road. Curb features extraction module 2005 can extract curb features for the identified road. Labeler module 2007 can label the curb points associated with the curb features. Curve generation module 2009 can generate a curve representative of the curb points. Partition module 2011 can partition the map based on the identified road markings and curb curve.
where Ti means the i-th frame transform matrix, Ptij mean the j-th point of the i-th frame, and M indicates the number of points for the i-th frame, and N is the total number of point clouds frames.
Referring to
In some embodiments, a fitting algorithm such as RANSAC is applied to the point clouds to identify planar objects or planes (e.g., the road surface) based on the identified ground points. RANSAC is useful to remove outlier points from consideration. The fitting algorithm such as RANSAC can be applied iteratively, and after each fitting, outlier points are discarded and the remaining points are again applied the fitting algorithm to obtain one or more planes as potential ground planes. The points representing a single plane with a normal direction parallel to a Z axis (vertical axis to the LIDAR sensors unit capturing the point clouds) having the largest area can then be taken as the road surface points.
Based on the road surface points, in one embodiment, process 2105 calculates an intensity gradient, {right arrow over (G)}p=({circumflex over (f)}x,{circumflex over (f)}y), from the road surface points. Intensity gradient is a directional change in the intensity values of an image (e.g., of any two closest points in the image). In one embodiment, calculating an intensity gradient includes applying a filter, such as a median filter, to the road surface points. Median filtering, or median intensity filtering is a filter used to remove noise from a point clouds image to better highlight gradients of an image. A medium filter can be applied to road surface points to remove salt and pepper intensity noise from the road surface points. An example median filtering may apply the following algorithm: 1) For each point, identify neighboring points within a predetermined neighbor size around the point. The neighboring points can be identified using a 2D or 3D or any dimension KD tree. 2) Sort the identified neighboring points by their intensity values. 3) Thereafter, the point is assigned the median intensity value from the sorting as the intensity value.
In one embodiment, calculating the intensity gradient includes determining an intensity direction based on the intensity values of each point and its neighboring points. The intensity direction or direction derivatives of the intensity in the x and y directions can be calculated for each point. Magnitudes and directions of the gradients can then be calculated based on the direction derivatives. In another embodiment, a gradient can be estimated by applying a least square method to neighboring points for each point. An intensity gradient can then be estimate based on the directional derivatives and the estimated gradient.
Next, based on the intensity gradient, e.g., the magnitudes, a clustering algorithm, such as a k-means clustering algorithm, can be used to cluster the gradient points into two categories, where a first cluster is a cluster for road surface points with magnitudes above a predetermined threshold, and a second cluster is a cluster for all other points with magnitudes below the predetermined threshold or a second predetermined threshold. Here, the points in the first cluster are road surface points.
For process 2107, each point in the first cluster can be used as seed points to derive or extract road marking points. An example of a search to extract road markings points can be illustrated by
Referring to
An angle θ (not shown) is then calculate between the NVsmall and NVlarge where angle θ can be a multi-scale direction difference feature for point P. Note that principal component analysis (PCA) is a statistical procedure which uses an orthogonal transformation to convert a set of observations into a set of values of linearly uncorrelated variables called principal components. A normal vector can be calculated as a vector having a direction perpendicular to the principal components. In another embodiment, features can be extracted and road curbs can be identified within a point clouds image by applying a supervised machine learning algorithm to the point clouds.
In one embodiment, elevation related features or elevation values for point clouds can be determined based on a height of the determined ground surface. Furthermore, elevation distribution variances (e.g., Vs and Vl), and differences in elevation between a highest point and a lowest point (e.g., Ds and Dl) of each respective points set Ns and N1 can be calculated. Here, variance is an expectation of a squared deviation of elevations from its mean elevation for a respective points set.
In one embodiment, operation 2305 can extract initial curb points from the point cloud using a Naive Bayes classifier algorithm. For example, for every point, a 5-dimension set of features which includes θ, Vs, Vl, Ds and Dl, can be used by a Naive Bayes classifier algorithm to classify the point into a curb point category and a non-curb point category. The category of curb points can be used as initial curb points.
In one embodiment, directional characteristics or directional features of each initial curb point can be calculated based on the neighboring points of the initial curb points. For example, directional characteristics can be calculated as follows. 1) Generate a KD tree with all the initial curb points. 2) search for k neighborhood points of each initial curb point using the KD tree. 3) Perform principal component analysis (PCA) on the neighborhood points of each initial curb point to obtain a main direction of the neighborhood points, where the main direction is the directional feature for the point.
In one embodiment, clustering or grouping of points can be performed on the initial curb points based on the calculated directional features for curb markings generation. For example, clustering of initial curb points can be performed by the following operations 1-5 according to one embodiment. 1) Initialize a radius r′ for a cluster, a direction angle threshold at, and an elevation difference threshold et; initialize all the curb points to “non-clustering”; initialize an empty seed point queue Qseed and an empty cluster container Vcurb; and construct a KD tree using all the initial curb points. 2) Randomly select a point from the initial curb point of “non-clustering” as an initial seed point Pg to grow, and initialize the label the seed point Pg as Lg (e.g., curb points), insert (or push) the seed point Pg into the cluster container Vcurb, and set it as “clustering”. 3) The KD tree is used to get the set of neighborhood points which are within radius r′ of the seed point Pg, for every point Pn in the neighborhood.
If the angle between Pn and Pg is less than the at and the elevation difference between them is less than the et, then Pn can be inserted (or pushed) to the seed point queue Qseed and the cluster container Vcurb, the label of Pn can be set as a same label of Pg, and Pn can be set as “clustering”. 4) If queue Qseed is not empty, then a point can be popped out from a head of the queue, and the point is taken as a new seed point, and operation resumes from operation 2). If the queue is empty, then the curb point cluster growth ends, and operation resumes from operation 1). 5) Operations 1-4 can be repeated until all points are set as “clustering”. The clusters of curb points can then be used for road block partitioning.
In one embodiment, the clusters of curb points can be refined by calculating cluster features of each cluster. The refined clusters of curb points can then be used for road block partitioning. Examples of cluster features to be calculated can include (a1, a2, a3), length Lc (e.g., a distance of points forming a line from the cluster), and/or a number of points Nc for each cluster. Clusters that do not satisfy predetermined rules set for the cluster features can then be eliminated to refine the clusters. Example of a rule can be: {a1>∂1 &a2>∂2 &a3>∂3 &Lc>l&Nc>n}, where ∂1, ∂2, ∂3, l, n are predetermined dimensional thresholds, a predetermined cluster minimum point length, and a predetermined minimum number, respectively.
In one embodiment, the characteristics (a1, a2, a3) can be calculated by applying a principal component analysis (PCA) algorithm to points in the cluster to obtain eigenvalues (λ1, λ2, λ3) of a covariance matrix of the points. The characteristics (a1, a2, a3) can then be calculated by the follow formulation:
In one embodiment, for operation 2307, one or more Cubic Bezier curves can be generated (by curve generation module 2009 of
where P0, P1, P2, and P3 are constants.
Based on the one or more generated curb curves, curb boundaries of a road can be identified. Based on the identified road curb boundaries, a road can be partitioned (by partition module 2011 of
In one embodiment, a cluster can be categorized as a type based on a distance threshold between each of the clusters, and a length threshold of a line formed by the points in the each cluster. For example, for a zebra crossing type, if a boundary size of a cluster is less than the first predetermined threshold (e.g., a short dashed lines can be one cluster, exhibited by dashed lines in a zebra crossing markings as illustrated in
Other road blocks (e.g., road blocks 1 and 3) can then be partitioned based on the zebra crossing block. For example, referring to
In one embodiment, the point cloud map includes a static point cloud map, where the static point cloud map include is generated by removing one or more dynamic objects in the point cloud map, where the dynamic objects are removed by gathering two or more point cloud observations at different points in time for a same location and detecting a difference between the two or more point cloud observations. In one embodiment, identifying the road includes applying an elevation threshold to the point clouds to extract a number of likely ground points, applying a fitting algorithm to fit one or more planar objects to the likely ground points as an road object, and selecting a planar object with the largest surface area having a normal direction approximating a direction of a vertical axis of the LIDAR sensors as the road object.
In another embodiment, processing logic further identifies point clouds corresponding to the road object as road surface points. In another embodiment, extracting the road markings includes applying a filter to remove noise for road surface points, determining a directional gradient for road surface point clouds, and applying a k-means clustering algorithm to the road surface point clouds based on a predetermined threshold for the directional gradient to divide the road surface point clouds into road markings points and other road surface points. In another embodiment, the road markings include markings for at least a pedestrian crossing and where the road is partitioned based on the markings for the pedestrian crossing.
Referring to
In one embodiment, extracting curbs features for the point clouds includes, for each point in the point clouds, extracting one or more multi-scale directional difference features to identify the road curbs. In another embodiment, identifying curbs boundaries for the road based on the curbs features includes, for each point in the point clouds, 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 characteristics of the initial curb point, generating a point cluster based on the initial curb point, determining one or more characteristics for the point cluster, and identifying the point cluster as a portion of curb boundaries if the one or more characteristics satisfy a predetermined condition. In another embodiment, processing logic further generates a curve to represent each of the point cluster, where the curve includes a Cubic Bezier curve, and where the road is partitioned into the one or more road partitions based on the road markings and the generated Cubic Bezier curve.
Ghosting effects (or ghost effects, shadows) of point clouds can be identified in consecutive point clouds frames if an object in any two consecutive frames abruptly appears or disappears. An object can abruptly appear or disappear due to errors in fusing together portions of point clouds, or low accuracy in capturing of fast moving objects or reflective objects. For example, objects that suddenly appear or disappear in consecutive frames should be regarded as ghost objects. Such ghost objects should be removed from a point cloud map. Because it is critical to ensure a high accuracy for HD maps, it is critical to identify ghost objects in point clouds for purposes of evaluating the accuracy of point clouds for HD map generation and/or HD map validation.
Frame receiver module 2801 can receive a number of frames of point clouds from a map server such as server 104 of
In one embodiment, rays can be projected from a position of the vehicle if the point clouds are of a perspective view. In another embodiment, rays can be casted from atop if the point clouds are of a bird's eye view. The ray casting operation passes rays through a view similar to a view of a LIDAR sensor. The rays may pass through some voxels and may end in some voxels. A voxel has a status of “free” if a ray passes through the voxel. A voxel has a status of “occupied” if a ray stops at the voxel. A voxel has a status of “unknown” if a ray does not pass through the voxel and the ray does not end at the voxel. Each of the “occupied” voxels can include a probability value indicating a probability the voxel is “occupied”.
For operation 2902, as subsequent frames are received, engine 127 updates the 3D occupancy grid map based on the subsequent frames. Similar to the initial frame, a ray cast operation (e.g. a ray tracing algorithm) can be applied to the subsequent frame to cast the subsequent frame onto the 3D occupancy grid map. The probability value of each voxels can then be updated based on the subsequent ray cast using the following Bayesian formula:
where, P(n|zt) represents a probability of occupancy for a voxel at time t from an observation at time t, P(n|z1:t) represents a probability of occupancy for the voxel at time t from an observation at time tin view of all prior observations, and P(n|z1:t-1) represents a probability of occupancy for the voxel at time t−1 in view of all its prior observations.
For operation 2903, engine 127 determines status changes for each voxel in the grid map. Each voxel of the grid map may include one of the following status changes:
A: “free”→“free”
B: “occupied”→“occupied”
C: “unknown”→“unknown”
D: “unknown”→“free”
E: “unknown”→“occupied”
F: “free”→“occupied”
G: “occupied”→“free”.
For operation 2904, engine 127 identifies voxels having problematic status changes. For example, problematic status changes include status changes of F: “free”→“occupied” and G: “occupied”→“free”. The problematic status changes can be identified if a change in the voxel's occupancy probability is greater than a predetermined threshold, e.g., if a difference (e.g., an increase or a decrease) in the occupancy probability is greater than the predetermined threshold.
Furthermore, 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 clouds frame to extract wall voxels or voxels corresponding to wall type objects. The wall objects can include planar objects having a normal direction of the plane perpendicular about a z-axis or the normal direction of the plane parallel about an x-y plane, in a Cartesian coordinate system. Although only planar wall types objects are described, wall objects can be any shapes or sizes. Based on the identified wall objects, corresponding wall voxels can be identified.
Thereafter, voxels with ghosting effects can be identified as the problematic voxels which are of wall voxels. Then, the ghost effects voxels are flagged and the flagged voxels and/or frames can then be considered for removal, in later map generation and/or map validation. For example, in one embodiment, if a count of ghost effects voxel for a frame is greater than a predetermined threshold then the frame is removed from the point clouds map generation.
For operation 2905, engine 127 determines if there is additional frame(s) to be processed. If yes, then operation resumes at operation 2902, otherwise operation ends at operation 2906.
In one embodiment, processing logic further projects the initial frame or the subsequent frames onto the occupancy grid map using a ray tracing algorithm. In another embodiment, projecting the initial frame or the subsequent frames onto the occupancy grid map includes determining an occupancy status for each voxel in the occupancy grid map, where an occupancy status is one of: free, occupied, or unknown. In another embodiment, identifying one or more problematic voxels based on the update includes, for each voxel in the occupancy grid map, detecting a change in an occupancy status of the voxel and identifying the voxel as problematic if the occupancy status changes from free to occupied, or from occupied to free.
In one embodiment, the occupancy grid map is updated based on a subsequent frame by applying a Bayesian algorithm, where the occupancy grid map includes voxels indicating an occupancy probability. In one embodiment, determining whether the problematic voxels belong to a wall object includes identifying problematic voxels belong to objects having an attribute of a planar surface and a normal of the planar surface that is perpendicular to a vertical z-axis. In one embodiment, processing logic further removes a frame from a point cloud map if a number of the ghost effect voxels of the frame is greater than a threshold.
Note that some or all of the components as shown and described above may be implemented in software, hardware, or a combination thereof. For example, such components can be implemented as software installed and stored in a persistent storage device, which can be loaded and executed in a memory by a processor (not shown) to carry out the processes or operations described throughout this application. Alternatively, such components can be implemented as executable code programmed or embedded into dedicated hardware such as an integrated circuit (e.g., an application specific IC 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. Furthermore, such components can be implemented as specific hardware logic in a processor or processor core as part of an instruction set accessible by a software component via one or more specific instructions.
Note also that system 1500 is intended to show a high level view of many components of the computer system. However, it is to be understood that additional components may be present in certain implementations and furthermore, different arrangement of the components shown may occur in other implementations. System 1500 may represent a desktop, a laptop, a tablet, a server, a mobile phone, a media player, a personal digital assistant (PDA), a Smartwatch, a personal communicator, a gaming device, a network router or hub, a wireless access point (AP) or repeater, a set-top box, or a combination thereof. Further, while only a single machine or system is illustrated, the term “machine” or “system” shall also be taken to include any collection of machines or systems that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.
In one embodiment, system 1500 includes processor 1501, memory 1503, and devices 1505-1508 connected via a bus or an interconnect 1510. Processor 1501 may represent a single processor or multiple processors with a single processor core or multiple processor cores included therein. Processor 1501 may represent one or more general-purpose processors such as a microprocessor, a central processing unit (CPU), or the like. More particularly, processor 1501 may be a complex instruction set computing (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor, or processor implementing other instruction sets, or processors 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 communications processor, a cryptographic processor, a co-processor, an embedded processor, or any other type of logic capable of processing instructions.
Processor 1501, which may be a low power multi-core processor socket such as an ultra-low voltage processor, may act as a main processing unit and central hub for communication with the various components of the system. Such processor can be implemented as a system on chip (SoC). Processor 1501 is configured to execute instructions for performing the operations and steps discussed herein. System 1500 may further include a graphics interface that communicates with optional graphics subsystem 1504, which may include a display controller, a graphics processor, and/or a display device.
Processor 1501 may communicate with memory 1503, which in one embodiment can be implemented via multiple memory devices to provide for a given amount of system memory. 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. Memory 1503 may store information including sequences of instructions that are executed by processor 1501, or any other device. For example, executable code and/or data of a variety of operating systems, device drivers, firmware (e.g., input output basic system or BIOS), and/or applications can be loaded in memory 1503 and executed by processor 1501. An operating system can be any kind of operating systems, such as, for example, Robot Operating System (ROS), Windows® operating system from Microsoft®, Mac OS®/iOS® from Apple, Android® from Google®, LINUX, UNIX, or other real-time or embedded operating systems.
System 1500 may further include IO devices such as devices 1505-1508, including network interface device(s) 1505, optional input device(s) 1506, and other optional IO device(s) 1507. 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 telephony transceiver, a satellite transceiver (e.g., a global positioning system (GPS) transceiver), or other radio frequency (RF) transceivers, or a combination thereof. The NIC may be an Ethernet card.
Input device(s) 1506 may include a mouse, a touch pad, 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., 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 can, for example, detect contact and movement or break thereof using any of a number of touch sensitivity 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.
IO devices 1507 may include an audio device. An audio device may include a speaker and/or a microphone to facilitate voice-enabled functions, such as voice recognition, voice replication, digital recording, and/or telephony functions. Other IO devices 1507 may further include universal serial bus (USB) port(s), parallel port(s), serial port(s), a printer, a network interface, a bus bridge (e.g., a PCI-PCI bridge), sensor(s) (e.g., a motion sensor such as an accelerometer, gyroscope, a magnetometer, a light sensor, compass, a proximity sensor, etc.), or a combination thereof. Devices 1507 may further include an imaging processing subsystem (e.g., a camera), which may include an optical sensor, such as a charged coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) optical sensor, utilized to facilitate camera functions, such as recording photographs and video clips. Certain sensors may be coupled 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), dependent upon the specific configuration or design of system 1500.
To provide for persistent storage of information such as data, applications, one or more operating systems and so forth, a mass storage (not shown) may also couple to processor 1501. In various embodiments, to enable a thinner and lighter system design as well as to improve system responsiveness, this mass storage may be implemented via a solid state device (SSD). However in other embodiments, the mass storage may primarily be implemented using a hard disk drive (HDD) with a smaller amount of SSD storage to act as a SSD cache to enable non-volatile storage of context state and other such information during power down events so that a fast power up can occur on re-initiation of system activities. Also a flash device may be coupled to processor 1501, e.g., via a serial peripheral interface (SPI). This flash device may provide for non-volatile storage of system software, including BIOS as well as other firmware of the system.
Storage device 1508 may include computer-accessible storage medium 1509 (also known as a machine-readable storage medium or a computer-readable medium) on which is stored one or more sets of instructions or software (e.g., module, unit, and/or logic 1528) embodying any one or more of the methodologies or functions described herein. Processing module/unit/logic 1528 may represent any of the components described above, such as, for example, HD map generation engine 125 of
Computer-readable storage medium 1509 may also be used to store the some software functionalities described above persistently. While computer-readable storage medium 1509 is shown in an exemplary embodiment to be a single medium, the term “computer-readable storage medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions. The terms “computer-readable storage medium” shall also be taken to include any medium that is capable of storing or encoding a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present disclosure. The term “computer-readable storage medium” shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media, or any other non-transitory machine-readable medium.
Processing module/unit/logic 1528, components and other features described herein can be implemented as discrete hardware components or integrated in the functionality of hardware components such as ASICS, FPGAs, DSPs or similar devices. In addition, processing module/unit/logic 1528 can be implemented as firmware or functional circuitry within hardware devices. Further, processing module/unit/logic 1528 can be implemented in any combination hardware devices and software components.
Note that while system 1500 is illustrated with 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 embodiments of the present disclosure. It will also be appreciated that network computers, handheld computers, mobile phones, servers, and/or other data processing systems which have fewer components or perhaps more components may also be used with embodiments of the disclosure.
Some portions of the preceding detailed descriptions 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 ways 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 here, and generally, conceived to be a self-consistent sequence of operations leading to a desired result. The operations are those requiring physical manipulations of physical quantities.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the above discussion, it is appreciated that throughout the description, discussions utilizing terms such as those set forth in the claims below, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
Embodiments of the disclosure also relate to an apparatus 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., a computer) readable storage medium (e.g., read only memory (“ROM”), random access memory (“RAM”), magnetic disk storage media, optical storage media, flash memory devices).
The processes or methods depicted in the preceding figures may be performed by processing logic that comprises hardware (e.g. circuitry, 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 appreciated that some of the operations described may be performed in a different order. Moreover, some operations may be performed in parallel rather than sequentially.
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 embodiments of the disclosure as described herein.
In the foregoing specification, embodiments of the disclosure have been described with reference to specific exemplary embodiments thereof. It will be evident that various modifications may be made thereto without departing from the broader spirit and scope of the disclosure as set forth in the following claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2019/073970 | 1/30/2019 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2020/154966 | 8/6/2020 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
8363930 | Francis, Jr. | Jan 2013 | B1 |
9869754 | Campbell | Jan 2018 | B1 |
9972067 | Kwon | May 2018 | B2 |
10713841 | Poyhtari | Jul 2020 | B1 |
20050067568 | Harding | Mar 2005 | A1 |
20110115812 | Minear | May 2011 | A1 |
20130083964 | Morris | Apr 2013 | A1 |
20170039436 | Chen | Feb 2017 | A1 |
20180204338 | Narang | Jul 2018 | A1 |
20180232947 | Nehmadi | Aug 2018 | A1 |
20180307915 | Olson | Oct 2018 | A1 |
20180329066 | Pacala | Nov 2018 | A1 |
20190073744 | Agarwal | Mar 2019 | A1 |
20190242711 | Ingersoll | Aug 2019 | A1 |
20190323844 | Yendluri | Oct 2019 | A1 |
20200089251 | Golestan Irani | Mar 2020 | A1 |
20200118331 | Georgiou | Apr 2020 | A1 |
20200151512 | Corral-Soto | May 2020 | A1 |
20200160542 | Kanzawa | May 2020 | A1 |
20200172014 | Takhirov | Jun 2020 | A1 |
20200209009 | Zhang | Jul 2020 | A1 |
20200209848 | Mercep | Jul 2020 | A1 |
20200388004 | Zhang | Dec 2020 | A1 |
Number | Date | Country |
---|---|---|
2016212824 | Dec 2016 | JP |
2018110568 | Jun 2018 | WO |
Entry |
---|
Redhwan Jamiruddin et al, RGB-Depth SLAM Review, Journal of Latex Class Files, May 20, 2015, vol. 14, No. 8, 19 pages. |
Pengfei Dong, et al. “A RGB-D SLAM Algorithm Combining ORB Features and BOW”, CSAE 2018 Hohhot, China (2018). |
Number | Date | Country | |
---|---|---|---|
20210334988 A1 | Oct 2021 | US |