Optimization-Based Planning Systems

The planning system addresses the challenge of determining vehicle trajectories in complex environments by aggregating costs and providing metadata, enhancing safety and efficiency in autonomous vehicles.

JP2024538541AInactive Publication Date: 2024-10-23ZOOX INC
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2024518283
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-24
Filing Date
2022-09-07
Publication Date
2024-10-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing planning systems in autonomous and semi-autonomous vehicles lack the ability to efficiently and accurately determine vehicle trajectories while providing interpretability and reducing computational load, especially in complex environments with multiple objects.

Method used

A planning system that aggregates costs using heatmaps and applies heuristics and tree searches to determine vehicle trajectories, incorporating metadata for interpretability and reducing computational complexity by considering multiple environmental features and object interactions.

Benefits of technology

Improves the safety and efficiency of autonomous vehicle navigation by reducing computational resources and providing clear reasons for trajectory decisions, enhancing passenger understanding and system verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024538541000001_ABST
    Figure 2024538541000001_ABST
Patent Text Reader

Abstract

This application describes techniques for aggregating costs associated with one or more heat maps to control a vehicle in an environment. The vehicle computing device can implement a model to determine heat maps and respective cost information for various features of the environment based on sensor data. The vehicle computing device can output a planned trajectory for the vehicle based on a combination of the heat maps. The techniques can also include rationalization or root cause identification that details why the planned trajectory was determined.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to optimization-based planning systems. [Background technology]

[0002] [Related Applications] This application claims priority to U.S. patent application Ser. No. 17 / 485,041, filed Sep. 24, 2021, and entitled “Optimization-Based Planning System,” the entirety of which is incorporated herein by reference.

[0003] [background] Planning systems in autonomous and semi-autonomous vehicles determine the actions that the vehicle should take in the operating environment. Actions for the vehicle may be determined based in part on avoiding objects present in the environment. For example, actions such as yielding to pedestrians or changing lanes to avoid other vehicles on the road may be generated by the planning system. A perception system utilizes sensor data from sensors to "see" the environment, enabling the planning system to determine the influence of detected objects on potential actions for the vehicle. [Brief description of the drawings]

[0004] The detailed description will now be described with reference to the accompanying drawings, in which the leftmost digit(s) of a reference number identifies the drawing in which the reference number first appears. Use of the same reference number in different drawings indicates similar or identical components or features.

[0005] [Figure 1] FIG. 1 illustrates an example environment in which an example vehicle applies a planning component to predict vehicle trajectory. [Diagram 2] FIG. 2 is an illustration showing another example environment in which an example vehicle applies a planning component to predict vehicle trajectory. [Diagram 3]FIG. 2 is an illustration showing another example environment in which an example vehicle applies a planning component to predict vehicle trajectory. [Figure 4] FIG. 1 is a block diagram illustrating an example system for implementing the techniques described herein. [Figure 5A] 1 is a first portion of a flowchart depicting an example process for determining vehicle trajectory and metadata using one or more example models. [Figure 5B] 11 is a second portion of a flowchart depicting an example process for determining vehicle trajectory and metadata using one or more example models. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0006] [Detailed Description] The present application describes techniques for aggregating costs associated with one or more heat maps to control a vehicle in an environment. For example, a vehicle computing device can implement a model for determining heat maps and respective cost information for various features of the environment based on sensor data. The vehicle computing device can combine the heat maps and associated costs to output a planned trajectory for the vehicle and metadata indicative of information about the vehicle and / or the environment (e.g., conditions related to the planned trajectory, etc.). The model can receive feature information describing vehicle safety, vehicle status, object status, and / or control policy, and generate a heat map for each feature included in the future information. The model can use heuristics, tree searches, and / or mathematical algorithms to aggregate costs associated with the various features. Using the techniques described herein, a vehicle can receive the planned trajectory and metadata usable by the vehicle to quickly and / or preemptively avoid objects, thereby improving vehicle safety. Additionally, the techniques can include determining rationales or root causes detailing why the planned trajectory was determined.

[0007] In general, the techniques described herein enable an autonomous vehicle to safely plan for scenarios such as potential interactions with objects (e.g., vehicles, pedestrians, bicycles, etc.), interactions with traffic signs, etc. The model can determine an action (e.g., braking action, acceleration action, trajectory, etc.) for the autonomous vehicle based on applying heuristics to the composite cost of the heat map. The model outputs metadata to provide why the action was determined (e.g., providing an indication of what the vehicle is doing at the time the action was determined). In other words, the model determines metadata (also referred to as interpretability data) to provide the context of the environment and the autonomous vehicle at the time the trajectory was determined. In this manner, the model can provide "situational awareness" for safely navigating the autonomous vehicle in the environment.

[0008] In some examples, the planning component of the vehicle computing device can implement a model to combine costs associated with various features in various ways. For example, the model can receive sensor data describing an environment and feature data associated with areas in the environment and / or control strategies for the vehicle (e.g., stay in lane, change lanes, activate blinkers, apply brakes, accelerate, etc.). The model can determine heat maps for some or all of the features in the feature data based on the sensor data in some examples. Each heat map can be associated with a cost set, and the model can combine the cost sets of the heat maps using heuristics and / or algorithms. For example, the model can perform a combined cost tree search to determine a planned trajectory for the vehicle into the future. In some examples, the model can apply heuristics to the tree search to trigger different amounts of processing for branches associated with various features and / or potential trajectories. In various embodiments, the model may perform a tree search of costs (e.g., following costs, lane change costs, turn signal costs, advancement costs, safety costs, obstacle costs, interaction costs, etc.) to select or otherwise determine a planned trajectory from a set of trajectories.

[0009] The vehicle computing device may control the vehicle within the environment based at least in part on output from the model (e.g., planned trajectory, metadata, etc.). For example, the vehicle computing device may detect objects within the environment and use the combined heat map to determine a trajectory for the vehicle or otherwise control an action for the vehicle, such as moving the vehicle through the environment. For example, controlling the vehicle may include stopping the vehicle and / or controlling at least one of a braking system, an acceleration system, or a drive system of the vehicle.

[0010] As described above, the model can output metadata that represents the vehicle's intent and / or characteristics of the environment (e.g., what the vehicle is doing relative to a selected trajectory, etc.). The metadata can indicate an action or behavior by the vehicle along the planned trajectory (e.g., "keep following vehicle", "stay in lane", etc.). In some examples, the metadata can describe vehicle position, object position, vehicle state data, object state data, road rule data (e.g., clearance rules, etc.) during the time the model determines the vehicle trajectory. In some examples, determining the metadata by the model can include annotating cost information (e.g., costs associated with a heat map, etc.) with the metadata. Outputting the metadata allows the vehicle to predict potential interactions with objects in the environment, similar to how a human operator interprets the surroundings when determining actions while driving.

[0011] In some examples, the model can output metadata for presentation on a display device, such as a user interface inside the vehicle (e.g., to show or explain actions by the vehicle to a passenger in the vehicle). For example, outputting metadata by the model can include presenting an indication of the route, trajectory, and / or characteristics of the environment to a passenger in the autonomous vehicle. In this manner, the passenger (or other observer) can see why the vehicle computing device is taking a current action with respect to one or more objects. For example, the vehicle can present images of other vehicles, pedestrians, etc., detected in the vicinity of the autonomous vehicle to give the passenger context regarding current and future vehicle operations.

[0012] The model may also output metadata for training the model, or may not. For example, the computing device may train the model based at least in part on metadata describing why a vehicle trajectory was or was not selected for the vehicle to follow. For example, the metadata may describe details about the vehicle, the environment, and other objects for various candidate trajectories determined by the model. The model may determine not to use a first candidate trajectory based on the model determining that the cost of taking the first candidate trajectory is higher (safety cost too high, trailing object cost too high, etc.) than a second candidate trajectory that can be used as a planned trajectory. The computing device may use the metadata during training of the model to "understand" why the first candidate trajectory was not used as a planned trajectory and why the second candidate trajectory was selected by the model as a planned trajectory. Additionally, the metadata may be logged and presented on a display device to communicate the vehicle's operation to a passenger, and / or used for debugging to improve decisions made during planning operations. Additional details regarding reporting of vehicle actions are described in U.S. patent application Ser. No. 15 / 600,258, filed May 19, 2017, entitled “Communicating Reasons for Vehicle Actions,” which is incorporated by reference herein for all purposes.

[0013] As described herein, a model may represent a machine learning model, a statistical model, or a combination thereof. That is, a model may refer to a machine learning model that learns from a training dataset to improve the accuracy of an output (e.g., a prediction, etc.). Additionally or alternatively, a model may refer to a statistical model that represents a logical and / or mathematical function that generates an approximation that can be used to make a prediction.

[0014] The techniques described herein can improve the functionality of the vehicle computing device in many ways. During planning studies (e.g., trajectory determination, trajectory calculation, etc.), performing multiple predictions on potential vehicle trajectories can be extremely computationally expensive, especially when there are multiple objects in the environment that may behave in infinitely unpredictable ways. Utilizing trajectory data and metadata by the vehicle computing device as described herein can improve the accuracy and / or reduce the latency for the vehicle to respond to potential collisions in the environment. By considering multiple features and associated costs, the computational load for predicting potential interactions between objects and the vehicle is reduced, thereby improving the functionality of the vehicle computing device. Thus, the techniques described herein can improve the functionality of the vehicle computing device by reducing the computational resources used to predict potential actions for objects in the vehicle's environment (e.g., reusing available computational resources).

[0015] The techniques described herein may also improve the functionality of the vehicle computing device by receiving predictions from the planning component indicating reasons for determining a trajectory or other vehicle behavior. For example, presenting reasons for the trajectory determined by the planning component may improve passenger comfort and safety by allowing the passenger to see how the vehicle computing device is operating as a "safe driver." Furthermore, such techniques may be used, for example, to verify the safe operation of the vehicle. As one such non-limiting example, highly complex optimizations may not provide insight into why a particular output was created. However, by performing the techniques herein, the safety of the system in response to various scenarios may be verified. Furthermore, the reasons for various vehicle actions output by the planning component may be used to improve the accuracy of future predictions (e.g., improve debugging by identifying areas of cost that contributed to the output trajectory that should be corrected, etc.). In some examples, the planning component may improve the functionality and safety of the vehicle by preventing the vehicle from taking additional actions that are not required (e.g., avoiding hard braking or steering when not required) based on evaluating certain reasons or conditions in the environment around the vehicle that led to the prediction.

[0016] The techniques described herein can be implemented in many ways. Example implementations are described below with reference to the following figures. Although described in the context of an autonomous vehicle, the methods, apparatus, and systems described herein can be applied to a variety of systems and are not limited to autonomous vehicles. In another example, the techniques can be utilized in the context of aviation or nautical navigation, or in any system that uses sensor data. Furthermore, although described in the context of lidar data, the techniques can be applicable to any type of sensor data, not limited to the specific examples described herein. Furthermore, the techniques described herein can be used on real data (e.g., data captured using a sensor, etc.), simulated data (e.g., data generated by a simulator, etc.), or any combination of the two.

[0017] 1 is a diagram illustrating an example environment 100 in which an example autonomous vehicle (vehicle 102) applies a planning component 104 to predict a vehicle trajectory. As shown, the planning component 104 receives input data 106 associated with the vehicle, the environment, and one or more objects that can be used to determine output data 108. The output data 108 can represent a vehicle trajectory (e.g., a candidate trajectory, a planned trajectory, etc.) and / or metadata associated with the vehicle trajectory. In some examples, the planning techniques described herein can be implemented at least in part by or in association with a vehicle computing device (e.g., vehicle computing device 404 of FIG. 4) and / or a remote computing device (e.g., computing device 436 of FIG. 4).

[0018] In various examples, a vehicle computing device associated with the vehicle 102 may be configured to detect one or more objects (e.g., objects 110 and 112) in the environment 100, such as through a perception component. In some examples, the vehicle computing device may detect the objects based on sensor data received from one or more sensors (e.g., lidar sensors, radar sensors, cameras, etc.). In some examples, the sensors may include sensors onboard the vehicle 102, including, but not limited to, ultrasonic sensors, radar sensors, light detection and ranging (lidar) sensors, cameras, microphones, inertial sensors (e.g., inertial measurement units, accelerometers, gyros, etc.), and global positioning satellite (GPS) sensors, etc.

[0019] In some examples, the sensors may include one or more remote sensors, such as, for example, a sensor mounted on another autonomous vehicle and / or a sensor mounted on the environment 100. In various examples, the vehicle 102 may be configured to transmit and / or receive data from other autonomous vehicles (e.g., one or more autonomous vehicles in a fleet) and / or sensors. This data may include sensor data, such as data regarding objects detected in the environment 100. In some examples, sensors may be mounted in the environment 100 to provide additional visibility in areas of reduced visibility.

[0020] In various examples, the vehicle computing device can receive sensor data and semantically classify (e.g., determine object type) detected objects, such as whether the object is a vehicle, like objects 110 and 112, a pedestrian, a building, a truck, a motorcycle, or a moped. The objects can include static objects (e.g., buildings, bridges, signs, etc.) and dynamic objects, such as other vehicles, pedestrians, or bicyclists. In some examples, the classification can include another vehicle (e.g., a car, a pickup truck, a semi-trailer truck, a tractor, a bus, a train, etc.), a pedestrian, a child, a bicyclist, a skateboarder, a horse rider, or an animal, etc. In various examples, the classification of the object can be used by the model to determine the characteristics of the object (e.g., top speed, acceleration, maneuverability, etc.). In this manner, potential actions by the object are considered based on the characteristics of the object (e.g., how the object could potentially move in the environment).

[0021] In addition to sensor data, the input data 106 may also include one or more of the following: feature data, map data, vehicle state data, and object state data. The input data 106 may represent, for example, feature information describing vehicle safety, vehicle state, object state, and / or control strategies (e.g., lane change function, turn signal operation function, etc.) associated with the vehicle 102. One or more features in the feature information may include information associated with an area (e.g., an area adjacent to an object, etc.), a vehicle state (position, speed, acceleration, trajectory, etc.), an object state (position, speed, acceleration, trajectory, etc.), and / or a control strategy (e.g., a strategy for controlling the vehicle to stay in a lane or maintain a distance between the vehicle 102 and another object). The input data 106 may include environmental features based on map data, and / or safety thresholds (e.g., safety ranges, etc.) for speed, acceleration, steering, and / or braking actions.

[0022] The planning component 104 can implement one or a model to process the input data 106 to determine one or more vehicle trajectories, such as a first candidate trajectory 114(1) and a second candidate trajectory 114(2). The planning component 104 can determine one of the candidate trajectories as a planned trajectory to be followed by the vehicle 102 within the environment 100 relative to the objects 110 and 112. For example, the planning component 104 can identify or otherwise determine one of the first candidate trajectory 114(1) or the second candidate trajectory 114(2) to be used by the vehicle 102 at a future time point based at least in part on performing a tree search or other decision tree technique.

[0023] In some examples, the planning component 104 may include determining one or more discretized representations, including a first discretized representation 116 and a second discretized representation 118, based at least in part on the input data 106. For example, the planning component 104 may generate the first discretized representation 116 and the second discretized representation 118 based at least in part on sensor data and feature data representing areas behind objects (e.g., a first area behind the object 110 and a second area behind the object 112, etc.). As shown in FIG. 1, the first discretized representation 116 and the second discretized representation 118 represent respective heat maps for different areas of the environment. In various examples, the planning component 104 may determine discretized representations, or heat maps, for different features of the feature data.

[0024] In the illustrated example, planning component 104 may determine whether vehicle 102 uses a first candidate trajectory 114(1) to follow object 110 in lane 120(1) or a second candidate trajectory 114(2) to follow object 112 in lane 120(2). In some examples, planning component 104 may implement a tree search to determine the first candidate trajectory 114(1) or the second candidate trajectory 114(2) as a planned trajectory for vehicle 102 to follow into the future. For example, planning component 104 may determine a first set of costs for first candidate trajectory 114(1) and a second set of costs for second candidate trajectory 114(2). In this example, costs may be associated with branches of the tree, and planning component 104 may output a planned trajectory based on selecting, identifying, or otherwise determining a branch of the tree that has a combined cost that is less than a cost threshold, a minimum cost, and / or any other metric. For example, planning component 104 may select first candidate trajectory 114(1) or second candidate trajectory 114(2) (or a portion thereof) as the planned trajectory based at least in part on whether the first cost set or the second cost set is below a cost threshold and / or which of the trajectories is associated with the lowest overall cost.

[0025] 1, the feature data represents features of the area or the area behind the object. That is, the planning component 104 can generate a first heat map for following the object 110 and a second heat map for following the object 112 based on the feature data (e.g., identifying areas for the heat map based on feature type, etc.). While the objects 110 and 112 represent additional vehicles, in other examples, the vehicle 102 can use the planning component 104 to determine whether to follow a pedestrian, a bicyclist, a moped, a motorcycle, etc. As described elsewhere herein, the planning component 104 can also determine when to initiate a turn signal, whether to change lanes, or whether to perform a stopping maneuver, a turning maneuver, an accelerating maneuver, or not, to name a few.

[0026] As shown in FIG. 1, the first discretized representation 116 and the second discretized representation 118 may be composed of one or more cells (e.g., cell 122, etc.), each representing a cost for the vehicle 102 to occupy the respective cell. For example, each heat map may be associated with a respective set of costs. The costs associated with the heat map may represent weights for the vehicle 102 to occupy the cell for features (e.g., feature data used to generate the heat map, etc.). In some examples, the heat maps may be associated with individual costs (e.g., baseline costs, obstacle costs, proceeding costs, lane change costs, etc.), and the heat maps for the various individual costs may be aggregated to determine a “final” heat map of costs for a point in time. By way of example and not limitation, the baseline cost for the vehicle 102 to occupy the lane 120(2) may be lowest in the center of the lane and increase from the center of the lane outward. Additionally, an obstacle cost may be associated with the object 112 (e.g., the obstacle cost may increase as the distance between the vehicle 102 and the object 112 decreases). In various examples, the planning component 104 can aggregate costs (e.g., baseline costs, obstacle costs, and other costs) to determine a “final” heat map that can be used to determine vehicle operation.

[0027] FIG. 1 illustrates shading in the first discretized representation 116 and the second discretized representation 118 to convey a cost value for each cell. For example, a darker shade may indicate a lower cost for the vehicle 102 to occupy the cell 122. In some examples, the shaded areas in FIG. 1 represent different costs associated with the cells, which may change from time T1 to T2, depending at least in part on the location of the vehicle 102 (and the new location of the associated sensor). In some examples, the costs associated with the cells may be based at least in part on the accessibility of the cell to the vehicle, the size of the cell, and other factors, as described herein. Additional details for determining the costs are described throughout this disclosure, including in FIGs. 2 and 3.

[0028] In addition to the vehicle trajectory and metadata, the planning component 104 may also output the state of the vehicle 102, the state of the object 110, and / or the state of the object 112 at one or more future times. That is, the future vehicle states and the future object states may be output to represent potential actions by the respective vehicles and objects, such as by running a simulation. In some examples, the vehicle computing device may control the operation of the vehicle 102 based on the output data 108, while in other examples, the planning component 104 may transmit the output data 108 to another component or model in the vehicle computing device or to a remote computing device to train the model of the planning component 104 to improve predictions. Training may include using the output data 108 as weak learner data (e.g., weak classifier labels, etc.) and / or ground truth. For example, the weak classifier labels may classify aspects of vehicle behavior (e.g., operations associated with one or more trajectories) as good or bad, and a machine learning model may be trained based at least in part on the weak classifier labels to determine whether subsequent vehicle behavior associated with a subsequent trajectory is good or bad.

[0029] The planning component 104 may determine the output data 108 using one or more models. For example, a first model may identify metadata and a second model may determine a vehicle trajectory. Alternatively, the first model may determine the vehicle trajectory and metadata based on receiving the input data 106 from the second model. In such an example, the second model may provide the first model with the intent of the vehicle 102, the object 110, and / or the object 112 (e.g., predicted behavior of the vehicle and / or object, etc.). For example, the first model may determine a planned trajectory from among multiple candidate trajectories based on the second model transmitting data indicative of discrete movements or known behaviors of the vehicle 102, the object 110, and / or the object 112.

[0030] In some examples, training the model of the planning component 104 can include comparing the intent of the metadata output by a first model with the intent or action output by a second model. For example, the first model can be trained to improve the metadata description by comparing the difference between the intent indicated by the metadata and the intent or action output by the second model. In such examples, the planning component 104 can implement the first model and the second model in parallel and use the output of the second model as ground truth for training the output of the first model. For example, the output of the second model can be used to verify the accuracy of the intent output by the first model.

[0031] FIG. 2 is a diagram illustrating another example environment 200 in which an example vehicle (vehicle 102) applies a planning component (planning component 104) to predict vehicle trajectory.

[0032] As shown, the computing device 202 is comprised of the planning component 104, which includes the map generation component 204, the cost determination component 206, the aggregation component 208, and the streamlining component 210. In some examples, the computing device 202 may include a vehicle computing device (e.g., the vehicle computing device 404, etc.) and / or a remote computing device (e.g., the computing device 436, etc.). The planning component 104 may implement one or more of the map generation component 204, the cost determination component 206, the aggregation component 208, and the streamlining component 210 to control the vehicle 102 with respect to the object 212 having a flashing light (e.g., the light indicator 214, etc.). For example, the computing device 202 may determine a first candidate trajectory 216, a second candidate trajectory 218, or a third candidate trajectory 220 to control when and where the vehicle 102 will cross a lane boundary 222 in the future.

[0033] In some examples, the computing device 202 may select one of the determined trajectories as the planned trajectory, for example, based on processing of the input data 106 associated with the environment 200, the object 212, or the vehicle 102. To understand the reasons for selecting the first candidate trajectory 216, the second candidate trajectory 218, or the third candidate trajectory 220 as the planned trajectory, the computing device 202 may also determine metadata describing the environment 200, the object 212, or the vehicle 102.

[0034] In various examples, the planning component 104 can implement a map generation component 204 to generate a discretized representation (e.g., one or more heat maps, vector maps, etc.) based on the sensor data and the feature data. In the example depicted in FIG. 2, the feature data can include data associated with a lane change to cross a lane boundary 222. In some examples, the map generator 204 can determine one or more heat maps using techniques similar to those described in connection with FIG. 1, such as associating cells of the heat map to represent the cost of crossing a lane boundary 222.

[0035] The cost determination component 206 can determine one or more costs for the heat map or other discretized representation. In the example of FIG. 2, the cost determination component 206 can determine a lane change cost for the vehicle 102 to change lanes and pass the lane boundary 222. The one or more costs are assigned to or otherwise associated with cells of the heat map. For example, a cost value may be higher as the vehicle 102 approaches the lane boundary and lower as the vehicle 102 moves away from the lane boundary 222. In this manner, the lane change cost can be considered by the planning component 104 in determining the output data 108 for passing the lane boundary 222. In general, the one or more heat maps can represent one or more costs, taking into account statics, dynamics, kinematics, and the like, associated with a potential interaction between the vehicle 102 and a moving or non-moving object.

[0036] Some example costs include: following cost, lane change cost, blinker cost, proceeding cost, safety cost, obstacle cost, interaction cost, active object cost (e.g., the cost for an object to avoid the vehicle 102, etc.), inactive object cost, pedestrian cost, previous vehicle state cost, sensor error cost (e.g., error in pose and / or localization, etc.), animal cost, bicyclist cost, light indicator cost (e.g., tail light or other light of the vehicle or another object, etc.), road network cost, and road network cost. As such, any of the above example costs may be encoded into one or more heat maps (e.g., the heat map may take into account sensor errors, inactive objects such as traffic cones, road signs, buildings, etc., as well as how much effort it takes for an active object to avoid the vehicle 102).

[0037] The aggregation component 208 can aggregate or combine the discretized representations and / or their associated costs. For example, the aggregation component 208 can aggregate the costs of the first candidate trajectory 216, the second candidate trajectory 218, or the third candidate trajectory 220 as in a decision tree having a branch for the cost of each respective trajectory. In some examples, the decoded discretized representations (e.g., heat maps, etc.) and / or costs can be used to determine a planned trajectory. For example, the aggregation component 208 can apply heuristics to the costs of the decision tree to determine how to search the tree for a candidate trajectory with the highest safety margin (e.g., lowest overall cost, etc.). In some examples, the aggregation component 208 can determine the second candidate trajectory 218 as the planned trajectory for the vehicle 102 to follow into the future based on the branch of the tree associated with the second candidate trajectory 218 having the lowest overall cost or being below a cost threshold. In some examples, the aggregation component 208 can modify the branches of the tree search based at least in part on a cost threshold.

[0038] In various examples, the aggregation component 208 can aggregate the costs by performing a tree search that represents the subspace or trajectory space. The root node can represent the current location of the vehicle 102, and the branches can be associated with potential candidate actions, such as the candidate trajectories described above. The number of branches can be determined by the aggregation component 208 based at least in part on configurable parameters (e.g., an input indicating the amount of branches to include in the tree, such as four branches, constraints based on the scenario type (e.g., excluding actions to turn at a junction where the destination requires traversing the junction), etc.). The branches are associated with costs from one or more discretized representations and / or costs not related to the discretized representations. In this manner, the tree represents a searchable space to predict actions that can be used to control the vehicle 102.

[0039] In some examples, candidate references (e.g., candidate trajectories of FIG. 2, etc.) may be generated by the planning component 104 (or other components) for association with the branches. In such examples, a predetermined number of candidate references may be generated based on the number of branches that will be part of the tree, which may depend on the configurable parameters described above and / or available computational resources (to maximize the efficiency of resources used during the tree search). In at least some such examples, different numbers of discretization regions may be determined according to the amount of computation available.

[0040] Performing the tree search may include aggregating costs for the branches (e.g., following costs, lane change costs, turn signal costs, proceeding costs, safety costs, obstacle costs, interaction costs, object costs, etc.) over time (e.g., by discretizing the branches into a series of time steps and evaluating aggregated or instantaneous costs at such time steps) and determining whether to change to another branch based on the aggregated cost values ​​for the respective branches relative to a cost threshold. For example, if the cost for the first candidate trajectory 216 exceeds a cost threshold, the tree search may change from searching a branch associated with the first candidate trajectory 216 to searching another branch associated with the second candidate trajectory 218 or the third candidate trajectory 220. Changing the branch may or may not be based on comparing the costs of various branches to each other and identifying a branch with a lower cost to explore. The tree search may, for example, compare the aggregated cost values ​​for each respective branch to each other and / or to a cost threshold and determine a trajectory for the vehicle to follow based on the branch with the lowest overall cost relative to the costs of the other branches. For simplicity, exploring the branches may correspond to tracking candidate trajectories over time into the future, so performing a tree search may include predicting a trajectory for the vehicle by tracking the operations and costs associated with following potential trajectories over a period of time.

[0041] In some examples, the tree search may determine a trajectory for the vehicle by combining portions of candidate trajectories (e.g., piecemeal sums of different potential trajectories, etc.) associated with various times over the future. For example, for a first time period, a first candidate trajectory 216 may represent the lowest overall cost and therefore the safest trajectory for the vehicle 102, while for a second time period, a second candidate trajectory 218 may represent the lowest overall cost. In such examples, the aggregation component 208 may apply local optimization techniques (e.g., algorithmically induced optimization operations, etc.) to smooth transitions between branches and combine portions of different candidate trajectories to form a planned trajectory that can be used to control the vehicle over the future. A transition between candidate trajectories at a time may correspond, for example, to a time at which the tree search changes branches. Thus, the tree search may determine costs associated with multiple potential trajectories at different times over a predetermined time period and determine a vehicle trajectory based on the amount of time each branch was processed, the time at which the branch change occurred, and / or the cost associated with each branch.

[0042] In some examples, the aggregation component 208 can aggregate costs (e.g., obstacle costs, lane change costs, etc.) for each moment in time over a period of time (e.g., predicting future costs 8 seconds into the future, or other time periods into the future). For example, the aggregation component 208 can generate a heat map for 4 different costs (or other number of costs) for every 0.5 seconds in an 8 second period, such that 64 (4 costs x 16 time moments) heat maps are evaluated to determine vehicle behavior.

[0043] The streamline component 210 represents a function that determines metadata or interpretability data that can be used to interpret why the aggregation component 208 determined or used or did not use some of the candidate trajectories to control the vehicle 102 relative to the object 212. For example, the streamline component 210 can identify data describing the environment 200, the vehicle 102, and the object 212 based on sensor data, map data, vehicle state data, object state data, road rule data describing right of way, historical data related to changes in vehicle state or object state over time, etc. In general, the metadata can be associated with one or more regions of a 2D map. In some examples, the streamline component 210 can annotate the metadata with costs of a heat map in various examples. By annotating the metadata and costs, the streamline component 210 can provide one or more reasons for determining the candidate trajectories of the vehicle 102. In one specific example, the streamline component 210 can use annotations of metadata with different costs to identify why branches of a tree search are abandoned or selected. In other words, if the cost associated with a branch exceeds a cost threshold, the metadata can provide the reason why the branch was abandoned.

[0044] In general, the streamlining component 210 outputs metadata that represents the vehicle's intent and / or characteristics of the environment (e.g., what the vehicle is doing relative to the candidate trajectories). The metadata can indicate actions or behaviors by the vehicle along each trajectory (e.g., "keep following vehicle", "stay in lane", etc.). The metadata can also associate weather, intersection information, and / or object behaviors (e.g., irregular objects or aggressive objects, etc.) with costs. In various examples, the metadata can include time information (e.g., time or time period, etc.), such that vehicle behavior, object behavior, and / or trajectories are associated with time. For example, the planning component 104 can associate metadata with the planned trajectory and / or the candidate trajectories based on the time information.

[0045] The rationalization component 210, in some examples, can compare costs of cells of the discretized representation. For example, the root cause for selecting or not selecting a candidate trajectory (or a portion thereof) as a planned trajectory can be based at least in part on the difference between the cost associated with the selected trajectory and the cost associated with the non-selected trajectory. Thus, the root cause for selecting a trajectory can be based at least in part on comparing the costs between different trajectories and determining the difference between the costs, and, in at least some examples, which cost in the aggregate was the largest contributing factor to the final candidate trajectory.

[0046] In various examples, the streamline component 210 can output a certainty or confidence associated with the metadata (e.g., 50% confidence that the vehicle is stopped or following another vehicle based on pedestrians at a crosswalk). For example, the streamline component 210 can determine a confidence value indicating the degree of certainty in the metadata decisions (e.g., reasons for selecting and / or not selecting trajectories, etc.). The confidence values ​​associated with the metadata can be used to improve future predictions by the streamline component 210 during training or can be compared to each other to identify overall reasons for vehicle behavior.

[0047] The metadata output by the streamline component 210 may, in some examples, be determined based at least in part on data from another model or component. For example, a machine learning model may provide input data to the streamline component 210 that indicates why the vehicle 102 is behaving in a particular manner within the environment. In some examples, the machine learning model may represent another planning component operating in parallel with the planning component 104, and data from the machine learning model may be processed by the streamline component 210 to output metadata based on the decisions or predictions from the machine learning model.

[0048] The streamlining component 210 may output the metadata for presentation on a display device, such as a user interface in the vehicle, to present how and / or why the vehicle 102 is moving relative to characteristics of the environment (e.g., showing a planned trajectory relative to objects in the environment). Outputting the metadata for presentation on a display device may or may not include causing presentation of the metadata on a mobile device associated with the user who hired the vehicle 102. For example, the display device may present images of other vehicles, pedestrians, etc. detected in the vicinity of the vehicle to give the user a context of current and future vehicle operations. Outputting the metadata for presentation may also include outputting audio on a device in the vehicle 102 and / or a device associated with the user.

[0049] The streamlining component 210 may or may not output metadata for training one or more components of the vehicle computing device. For example, the computing device may train the streamlining component 210 based at least in part on metadata describing why a candidate trajectory was or was not selected (e.g., why a branch of a tree search was changed, etc.). The computing device may use the metadata during model training to "understand" why a particular candidate trajectory (or part thereof) was or was not determined as a planned trajectory. In some examples, human-labeled training data (e.g., scene descriptions in a 3-second cut scene, etc.) may be used to improve future metadata decisions by the streamlining component 210.

[0050] The metadata output by the rationalization component 210 may or may not be used to improve trajectory determination by changing (e.g., increasing or decreasing) the amount of branches used in the tree search (e.g., adjusting configurable parameters). For example, metadata indicating trajectories previously used in areas with multiple pedestrians can be used to increase the number of candidate trajectories considered during future tree searches.

[0051] Additionally or alternatively, the metadata output by the streamlining component 210 may be used to modify one or more costs associated with one or more candidate trajectories. For example, the cost determination component 206 may increase or decrease one or more costs based on metadata explaining why a previous trajectory was or was not used. In one specific example, pedestrian costs and / or travel costs may be adjusted higher based on metadata indicating that an area is typically associated with multiple pedestrians. Thus, the cost determination component 206 may improve cost determinations (e.g., provide more accurate costs) over time based on being trained using the metadata, thereby improving vehicle safety as the vehicle navigates.

[0052] In some examples, the computing device 202 can store the metadata in a database, memory, or other storage location. For example, the streamlining component 210 can record the metadata for later use (e.g., record data over time). The metadata describing various scenarios in the environment can include time information to associate the metadata with actions by the vehicle 102 or other objects. In various examples, recording the metadata can occur as the vehicle 102 navigates through the environment.

[0053] In some examples, the streamlining component 210 can output the metadata to one or more components in the vehicle computing device, including a planning component of the vehicle 102 (e.g., planning component 426 of FIG. 4 ), to enable the planning component to improve, verify, or enhance the decision or decisions. For example, if the planning component decides to turn left and activate the blinker, the planning component can use the metadata to cause consistent future planning decisions in similar left turns (or other vehicle operations). Of course, other components of the vehicle computing device may or may not use the metadata to improve decisions (e.g., improve sensor calibration, vehicle localization, etc.).

[0054] 3 is an illustration of another example environment 300 in which an example vehicle (vehicle 102) applies a planning component (planning component 104) to predict vehicle trajectory. Environment 300 includes computing device 202, although in other examples, the techniques described in environment 300 may be performed by vehicle computing device 404 and / or computing device 436.

[0055] As depicted in FIG. 3 , the planning component 104 is comprised of a map generation component 204, a cost determination component 206, an aggregation component 208, and a rationalization component 210, and predicts a vehicle trajectory 302 to enable the vehicle 102 to turn (e.g., an unprotected left turn, etc.) at an intersection. For example, the planning component 104 can receive the input data 106 and determine whether the vehicle should stop at a stop point 304 along the vehicle trajectory 302 to enable safe passage of an object 306 (a pedestrian) and / or an object 308 (another vehicle). For example, the planning component 104 can predict whether to stop at or near the stop point 304 based on determining an object trajectory 310 for the pedestrian 306 and a first object trajectory 312 and a second object trajectory 314 for the vehicle 308. The first object trajectory 312 (for a right turn) and the second object trajectory 314 (for going straight) represent two possible trajectories that the vehicle 308 may follow at a future time. In other examples, the planning component 104 can determine any number of object trajectories for each object in the environment 300.

[0056] The planning component 104 can implement a map generation component 204 to determine heat maps for various regions along the vehicle trajectory 302, including an area ahead of the pedestrian 306 and another area ahead of the vehicle 308. In some examples, the map generation component 204 determines the heat maps based on sensor data, map data, state data, and / or feature data. In the environment 300, the map generation component 204 can generate heat maps based on feature data associated with intersections, left turns, crosswalks, oncoming objects, and the like. The cost determination component 206 can determine a cost for each of the heat maps, and the aggregation component 208 can combine the costs to determine whether to brake, slow down and not stop, stop, or accelerate at the stopping point 304.

[0057] The streamlining component 210 can generate metadata describing the environment 200 as an uncontrolled intersection, an intersection with a traffic signal, etc. The metadata can also describe the vehicle 102 as making a left turn with a potential intersection for the pedestrian 306 and the vehicle 308 depending on the speed associated with the object trajectory 310, the speed associated with the first object trajectory 312, and the speed associated with the second object trajectory 314.

[0058] 4 is a block diagram illustrating an example system 400 for implementing the techniques described herein. In at least one example, the system 400 may include a vehicle 402, which may be the same vehicle as the vehicle 102 described above with reference to FIG.

[0059] The vehicle 402 may include vehicle computing equipment 404 (e.g., one or more equipment), one or more sensor systems 406, one or more emitters 408, one or more communication connections 410, at least one direct connection 412, and one or more drive systems 414.

[0060] The vehicle computing device 404 may include one or more processors 416 and a memory 418 communicatively coupled to the one or more processors 416. In the illustrated example, the vehicle 402 is an autonomous vehicle, but the vehicle 402 may be any other type of vehicle, such as a semi-autonomous vehicle, or any other system having at least an image capture device (e.g., a camera-enabled smartphone, etc.). In some instances, the autonomous vehicle 402 may be an autonomous vehicle configured to operate according to a Level 5 classification issued by the National Highway Traffic Safety Administration, which describes a vehicle capable of performing all safety-critical functions for the entire journey without the driver (or passenger) being expected to control the vehicle at any time. However, in other examples, the autonomous vehicle 402 may be a fully or partially autonomous vehicle having any other level or classification.

[0061] In various examples, the vehicle computing device 404 may store sensor data associated with the actual position of the object at the end of the set of estimation states (e.g., at the end of a time period, etc.) and may use this data as training data to train one or more models. In some examples, the vehicle computing device 404 may provide the data to a remote computing device (i.e., a computing device separate from the vehicle computing device, such as computing device 436) for data analysis. In such examples, the remote computing device may analyze the sensor data to determine the actual position, speed, or heading, etc., for the object at the end of the set of estimation states. Additional details of training machine learning models based on stored sensor data by minimizing the difference between actual and predicted positions and / or predicted trajectories are described in U.S. Patent Application No. 16 / 282,201, filed March 12, 2019, entitled “Appearance-Based Motion Prediction,” which is incorporated herein by reference for all purposes.

[0062] In the illustrated example, memory 418 of vehicle computing device 404 stores a localization component 420, a recognition component 422, a prediction component 424, a planning component 426, one or more system controllers 428, one or more maps 430, and a model component 432 including one or more models, such as a first model 434A, a second model 434B, up to an Nth model 434N (collectively "models 434"), where N is an integer. While depicted in FIG. 4 as residing in memory 418 for illustrative purposes, it is contemplated that localization component 420, recognition component 422, prediction component 424, planning component 426, one or more system controllers 428, one or more maps 430, and / or model component 432 including models 434 may additionally or alternatively be accessible to vehicle 402 (e.g., stored on or otherwise accessible by memory remote from vehicle 402, such as on memory 440 of remote computing device 436).

[0063] In at least one example, the localization component 420 may receive data from the sensor system 406 to determine a position and / or orientation of the vehicle 402 (e.g., one or more of an x ​​position, a y position, a z position, a roll, a pitch, or a yaw). For example, the localization component 420 may include and / or request / receive a map of the environment, such as from the map 430 and / or the map component 446, and may continually determine the position and / or orientation of the autonomous vehicle within the map. In some examples, the localization component 420 may receive image data, LIDAR data, radar data, IMU data, GPS data, wheel encoder data, and the like, using SLAM (simultaneous localization and mapping), CLAMS (simultaneous calibration, localization, and mapping), relative SLAM, bundle adjustment, or nonlinear least squares optimization, and the like, to precisely determine the position of the autonomous vehicle. In some instances, the localization component 420 may provide data to various components in the vehicle 402 to determine an initial position of the autonomous vehicle for determining the relevance of objects to the vehicle 402, as described herein.

[0064] In some instances, the recognition component 422 may perform object detection, segmentation, and / or classification. In some examples, the recognition component 422 may provide processed sensor data indicating the presence of an object (e.g., an entity, etc.) in proximity to the vehicle 402 and / or a classification of the object as a type of object (e.g., automobile, pedestrian, bicyclist, animal, building, tree, road surface, curb, sidewalk, unknown, etc.). In some examples, the recognition component 422 can provide processed sensor data indicating the presence of a stationary entity in proximity to the vehicle 402 and / or a classification of the stationary entity as a type (e.g., building, tree, road surface, curb, sidewalk, unknown, etc.). In additional or alternative examples, the recognition component 422 may provide processed sensor data indicating one or more features associated with a detected object (e.g., a tracked object, etc.) and / or an environment in which the object is located. In an implementation, the recognition component 422 can specifically identify an articulated object such as an articulated vehicle. In some examples, features associated with an object may include, but are not limited to, x-position (global and / or local), y-position (global and / or local), z-position (global and / or local), orientation (e.g., roll, pitch, yaw, etc.), object type (e.g., classification, etc.), object velocity, object acceleration, object range (size), etc. Features associated with an environment include, but are not limited to, the presence of other objects in the environment, the state of other objects in the environment, time of day, day of the week, season, weather conditions, darkness / lightness indication, etc.

[0065] The prediction component 424 can generate one or more probability maps that represent predicted probabilities of possible positions of one or more objects in the environment. For example, the prediction component 424 can generate one or more probability maps for articulated objects, vehicles, pedestrians, animals, and the like that are within a threshold distance from the vehicle 402. In some instances, the prediction component 424 can measure the trajectory of the object and generate a discrete predicted probability map, heat map, probability distribution, discrete probability distribution, and / or trajectory for the object based on the observed behavior and the predicted behavior. In some instances, the one or more probability maps can represent the intent of one or more objects in the environment.

[0066] In some examples, the prediction component 424 may generate predicted trajectories for objects in the environment (e.g., articulated objects, etc.) and / or generate predicted candidate trajectories for the vehicle 402. For example, the prediction component 424 may generate one or more predicted trajectories for objects within a threshold distance from the vehicle 402. In some examples, the prediction component 424 may measure the signature of the object and generate a trajectory for the object based on the observed and predicted behavior.

[0067] In general, the planning component 426 may determine a path for the vehicle 402 to follow through an environment. For example, the planning component 426 may determine various routes and trajectories, as well as various levels of detail. For example, the planning component 426 may determine a route for traveling from a first location (e.g., a current location, etc.) to a second location (e.g., a target location, etc.). For purposes of this description, the route may include a series of waypoints for traveling between the two locations. As non-limiting examples, the waypoints include streets, intersections, Global Positioning System (GPS) coordinates, etc. Additionally, the planning component 426 may generate instructions for guiding the autonomous vehicle along at least a portion of the route from the first location to the second location. In at least one example, the planning component 426 may determine how to guide the autonomous vehicle from a first waypoint in the series of waypoints to a second waypoint in the series of waypoints. In some examples, the instructions may be a candidate trajectory, or a portion of a trajectory. In some examples, multiple trajectories may be generated substantially simultaneously (e.g., within technical tolerances) according to a receding horizon method. A single path of the multiple paths in the receding data horizon having the highest confidence level may be selected for operating the vehicle. In various examples, the planning component 426 may determine a trajectory (e.g., a planned trajectory, etc.) for the vehicle 402 based at least in part on receiving data representing the output of the model component 432.

[0068] In other examples, the planning component 426 can alternatively or additionally use data from the localization component 420, the recognition component 422, and / or the prediction component 424 to determine a path for the vehicle 402 to follow through the environment. For example, the planning component 426 can receive data from the localization component 420, the recognition component 422, and / or the prediction component 424 regarding objects associated with the environment. Using this data, the planning component 426 can determine a path for traveling from a first location (e.g., a current location, etc.) to a second location (e.g., a target location, etc.) to avoid objects in the environment. In at least some examples, such a planning component 426 can determine that such a collision-free path does not exist and, as a result, provide a path that avoids all collisions and / or otherwise mitigates damage and brings the vehicle 402 to a safe stop. Additionally or alternatively, the planning component 426 can determine a route for the vehicle 402 to follow based at least in part on data received from the planning component 104, as described in Figures 1-3 and elsewhere.

[0069] In at least one example, vehicle computing equipment 404 may include one or more system controllers 428, which may be configured to control steering, propulsion, braking, safety, emitter, communication, and other systems in vehicle 402. System controller 428 may communicate with and / or control corresponding systems of drive system 414 and / or other components of vehicle 402.

[0070] The memory 418 may further include one or more maps 430 that may be used by the vehicle 402 to navigate within the environment. For purposes of this description, a map may be any number of data structures modeled in two, three, or N dimensions that may provide information about the environment, such as, but not limited to, topology (such as intersections), streets, mountain ranges, roads, terrain, and the general environment. In some instances, the map may include, but is not limited to, texture information (e.g., color information (e.g., RGB color information, Lab color information, HSV / HSL color information), etc.), intensity information (e.g., LIDAR information, radar information, etc.), spatial information (e.g., image data projected onto a mesh, individual "surfels" (e.g., polygons associated with individual colors and / or intensities), reflectance information (e.g., specular reflectance information, retroreflectance information, BRDF information, BSSRDF information, etc.). In one example, the map may include a three-dimensional mesh of the environment. In some examples, the vehicle 402 may be controlled based at least in part on the map 430. That is, the map 430 may be used in conjunction with the localization component 420, the perception component 422, the prediction component 424, and / or the planning component 426 to determine the position of the vehicle 402, detect objects in the environment, generate routes, determine movements and trajectories, and navigate within the environment.

[0071] In some examples, one or more maps 430 may be stored on a remote computing device (such as computing device 436) accessible via network 442. In some examples, multiple maps 430 may be stored, for example, based on characteristics (e.g., type of entity, time of day, day of the week, season, etc.). Storing multiple maps 430 may have similar memory requirements but increase the speed at which data in the maps can be accessed.

[0072] 4, the vehicle computing device 404 may include a model component 432. The model component 432 may be configured to perform the functions of the planning component 104, including trajectory prediction for the vehicle 402, objects (objects 110, 112, 212, 306, and 308), and metadata. In various examples, the model component 432 may receive one or more features associated with the detected objects from the perception component 422 and / or from the sensor system 406. For example, the model component 432 may receive data associated with the vehicle 402, the environment, and / or objects within the environment, e.g., sensor data, feature data, etc. The feature data may represent an area within the environment and / or a control strategy for the vehicle (e.g., stay in lane, change lanes, activate a turn signal, apply the brakes, accelerate, etc.). In some examples, the model component 432 may receive environmental characteristics (e.g., environmental factors, etc.) and / or weather characteristics (e.g., weather factors, such as snow, rain, ice, etc.) from the perception component 422 and / or the sensor system 406. Although shown separately in FIG. 4, the model component 432 may be part of the prediction component 424, the planning component 426, or other components of the vehicle 402.

[0073] In various examples, the model component 432 may transmit predictions from one or more models 434 that may be used by the prediction component 424 and / or the planning component 426 to generate one or more predicted trajectories (e.g., heading, speed, etc.) of the vehicle and / or one or more predicted trajectories (e.g., heading, speed, etc.) of the object, such as from the prediction components. In some examples, the planning component 426 may determine one or more actions (e.g., reference actions and / or sub-actions, etc.) for the vehicle 402, such as candidate vehicle trajectories. In some examples, the model component 432 may be configured to determine whether an object intersects with the vehicle 402 based at least in part on the one or more actions for the vehicle 402. In some examples, the model component 432 may be configured to determine actions that are applicable to the environment, such as based on environmental characteristics, weather characteristics, etc.

[0074] The model component 432 may generate a set of estimated states of the vehicle and one or more detected objects ahead in the environment over a period of time. The model component 432 may generate a set of estimated states for each action (e.g., a reference action and / or a sub-action, etc.) applicable to the environment. The set of estimated states may include one or more estimated states, each of which includes an estimated position of the vehicle and an estimated position of the detected object. In some examples, the estimated states may include an estimated position of the detected object at an initial time (T=0) (e.g., a current time, etc.).

[0075] The model component 432 may determine the estimated position based on a detected trajectory and / or a predicted trajectory associated with the object. In some examples, determining the estimated position may be based on assumptions of a substantially constant speed and / or a substantially constant trajectory (e.g., little to no lateral movement of the object). In some examples, the estimated position (and / or potential trajectory) may be based on passive prediction and / or active prediction. In some examples, the model component 432 may utilize physics and / or geometry based techniques, machine learning, linear temporal logic, tree search methods, heat maps, and / or other techniques to determine the predicted trajectory and / or estimated position of the object.

[0076] In various examples, the estimated states may be generated periodically throughout a time period. For example, the model component 432 may generate estimated states at 0.1 second intervals throughout a time period. As another example, the model component 432 may generate estimated states at 0.05 second intervals. The estimated states may be used by the planning component 426 in determining the action the vehicle 402 should take in the environment.

[0077] In various examples, the model component 432 may utilize machine learning techniques to predict a risk associated with an evaluated trajectory. In such examples, a machine learning algorithm may be trained to determine that an object is likely to behave in a particular manner relative to the vehicle 402 at a particular time during a set of estimated states (e.g., a time period, etc.) based on sensor data and / or previous predictions by the model. In such examples, one or more of the vehicle 402 states (position, velocity, acceleration, trajectory, etc.) and / or the object states, classifications, etc. may be input into such a machine learning model, which may result in a behavior prediction being output by the model.

[0078] In various examples, the characteristics associated with each object type may be used by the model component 432 to determine object velocity or acceleration to predict potential intersections between objects and / or between the vehicle 402 and one or more objects. Examples of object type characteristics may include, but are not limited to, the following: maximum longitudinal acceleration, maximum lateral acceleration, maximum vertical acceleration, maximum speed, and maximum directional change for a given speed.

[0079] As can be appreciated, the components described herein (e.g., localization component 420, recognition component 422, prediction component 424, planning component 426, one or more system controllers 428, one or more maps 430, model component 432 including model 434) are described as separate for illustrative purposes, however, operations performed by various components may be combined or performed in any other component.

[0080] Although examples are provided in which the techniques described herein are implemented by a planning component and / or a model component of the vehicle, in some examples, some or all of the techniques described herein may be implemented by another system of the vehicle, such as a secondary safety system. In general, such an architecture may include a first computing device for controlling the vehicle 402 and a second safety system operating on the vehicle 402 to verify operation of the primary systems and control the vehicle 402 to avoid a collision.

[0081] In some implementations, some or all aspects of the components described herein may include any models, techniques, and / or machine learning techniques. For example, in some instances, the components in memory 418 (and memory 440, described below) may be implemented as neural networks.

[0082] As described herein, an exemplary neural network is a technology that passes input data through a series of connected layers to generate an output. Each layer in a neural network may include another neural network or may include any number of layers (whether convolutional or not). As can be understood in the context of this disclosure, a neural network may utilize machine learning, which may refer to a broad class of such technologies in which an output is generated based on learned parameters.

[0083] Although described in the context of neural networks, any type of machine learning may be used consistent with this disclosure. For example, machine learning techniques include, but are not limited to, the following: Namely, regression techniques (e.g., ordinary least squares regression (OLSR), linear regression, logistic regression, stepwise regression, multivariate adaptive regression splines (MARS), locally estimated scatterplot smoothing (LOESS), etc.), instance-based techniques (e.g., ridge regression, least absolute shrinkage and selection operator (LASSO), elastic net, least angle regression (LARS), etc.), decision tree techniques (e.g., classification and regression trees (CART), iterative dichotomy 3 (ID3), chi-squared automated interaction detection (CHAID), decision stumps, conditional decision trees, etc.), Bayesian techniques (e.g., naive Bayes, Gaussian naive Bayes, multinomial naive Bayes, average-one dependent estimator (AODE), Bayesian belief network (BNN), Bayesian network, etc.), clustering techniques (e.g., k-means, k-median, expectation maximization (EM), hierarchical clustering, etc.), association rule learning techniques (e.g., perceptron, inverse Deep learning techniques (e.g., Deep Boltzmann Machines (DBM), Deep Belief Networks (DBN), Convolutional Neural Networks (CNN), Stacked Autoencoders, etc.), dimensionality reduction techniques (e.g., Principal Component Analysis (PCA), Principal Component Regression (PCR), Partial Least Squares Regression (PLSR), Sammon Mapping, Multidimensional Scaling (MDS), Projection Pursuit, Linear Discriminant Analysis (LDA), Mixture Discriminant Analysis (MDA), Quadratic Discriminant Analysis (QDA), Flexible Discriminant Analysis (FDA), etc.), ensemble techniques (e.g., Boosting, Bootstrap Aggregation (Bagging), Adaptive Boosting, Stacked Generalization (Blending), Gradient Boosting Machines (GBM), Gradient Boosted Regression Trees (GBRT), Random Forests, etc.), Support Vector Machines (SVM), Supervised Learning, Unsupervised Learning, Semi-supervised Learning, etc. Additional examples of architectures include neural networks, such as ResNet50, ResNet101, VGG, DenseNet, and PointNet.

[0084] In at least one example, the sensor system 406 includes: LIDAR sensors, radar sensors, ultrasonic transducers, sonar sensors, position sensors (e.g., GPS, compass, etc.), inertial sensors (e.g., inertial measurement units (IMUs), accelerometers, magnetometers, gyroscopes, etc.), cameras (e.g., RGB, IR, intensity, depth, time of flight, etc.), microphones, wheel encoders, environmental sensors (e.g., temperature sensors, humidity sensors, light sensors, pressure sensors, etc.), etc. The sensor system 406 may include multiple instances of each of these sensors, or other types of sensors. For example, the LIDAR sensors may include individual LIDAR sensors positioned at the corners, front, back, sides, and / or top of the vehicle 402. As another example, the camera sensors may include multiple cameras positioned at various locations on the exterior and / or interior of the vehicle 402. The sensor system 406 may provide input to the vehicle computing device 404. Additionally or alternatively, the sensor system 406 may transmit sensor data over one or more networks 442 to one or more computing devices 436 at a particular frequency, after a predetermined period of time, in near real-time, etc.

[0085] The vehicle 402 may also include one or more emitters 408 for emitting light and / or sound. The emitters 408 may include interior audio and visual emitters for communicating with passengers of the vehicle 402. By way of example and not limitation, the interior emitters may include speakers, lights, signs, display screens, touch screens, haptic emitters (e.g., vibration and / or force feedback, etc.), and mechanical actuators (e.g., seat belt tensioners, seat positioners, head rest positioners, etc.). The emitters 408 may also include exterior emitters. By way of example and not limitation, the exterior emitters may include lights for indicating direction of travel or other indicators of vehicle operation (e.g., indicator lights, signs, light arrays, etc.), and one or more audio emitters (e.g., speakers, speaker arrays, horns, etc.) for audibly communicating with pedestrians or other nearby vehicles, one or more of which may include acoustic beam steering technology.

[0086] Vehicle 402 may also include one or more communications connections 410 that enable communication between vehicle 402 and one or more other local or remote computing devices. For example, communications connections 410 may facilitate communication to other local computing devices on vehicle 402 and / or drive system 414. Communications connections 410 may also enable the vehicle to communicate with other nearby computing devices (e.g., remote computing device 436, other nearby vehicles, etc.) and / or one or more remote sensor systems 444 for receiving sensor data. Communications connections 410 also enable vehicle 402 to communicate with remote teleoperated computing devices or other remote services.

[0087] The communication connections 410 may include physical and / or logical interfaces for connecting the vehicle computing device 404 to another computing device or to a network, such as network 442. For example, the communication connections 410 may enable Wi-Fi based communications, such as over frequencies defined by the IEEE 802.11 standard, short-range wireless frequencies such as Bluetooth, cellular communications (e.g., 2G, 3G, 4G, 4G LTE, 5G, etc.), or any suitable wired or wireless communication protocol that enables each computing device to interface with other computing devices.

[0088] In at least one example, the vehicle 402 may include one or more drive systems 414. In some examples, the vehicle 402 may have a single drive system 414. In at least one embodiment, when the vehicle 402 has multiple drive systems 414, the individual drive systems 414 may be located at opposite ends of the vehicle 402 (e.g., the front and the rear, etc.). In at least one example, the drive system 414 may include one or more sensor systems for detecting conditions surrounding the drive system 414 and / or the vehicle 402. By way of example and not limitation, the sensor systems may include one or more wheel encoders (e.g., rotary encoders, etc.) for sensing the rotation of the wheels of the drive module, inertial sensors (e.g., inertial measurement units, accelerometers, gyroscopes, magnetometers, etc.) for measuring the orientation and acceleration of the drive module, cameras or other imaging sensors, ultrasonic sensors for acoustically detecting objects in the vicinity of the drive module, LIDAR sensors, radar sensors, etc. Some sensors, such as wheel encoders, may be specific to the drive system 414. In some cases, sensor systems on drive system 414 may overlap or complement corresponding systems on vehicle 402 (eg, sensor system 406, etc.).

[0089] The drive system 414 may include a number of vehicle systems, including: a high voltage battery, a motor for propelling the vehicle, an inverter for converting direct current from the battery to alternating current for use by other vehicle systems, a steering system including a steering motor and a steering rack (which may be electric), a braking system including hydraulic or electric actuators, a suspension system including hydraulic and / or pneumatic components, a stability control system for distributing braking forces to mitigate loss of traction and maintain control, an HVAC system, lighting (e.g., lighting such as headlights / taillights for illuminating the exterior surroundings of the vehicle), and one or more other systems (e.g., cooling systems, safety systems, on-board charging systems, other electrical components such as DC / DC converters, high voltage junctions, high voltage cables, charging systems, charging ports, etc.). Additionally, the drive system 414 may include a drive module controller for receiving and pre-processing data from the sensor systems and controlling the operation of various vehicle systems. In some examples, the drive module controller may include one or more processors and a memory communicatively coupled to the one or more processors. The memory may store one or more modules for performing various functionality of drive system 414. Additionally, drive system 414 may include one or more communication connections that enable communication by each drive module to one or more other local or remote computing devices.

[0090] In at least one example, direct connection 412 may provide a physical interface for coupling one or more drive systems 414 with the body of vehicle 402. For example, direct connection 412 may enable the transfer of energy, fluid, air, data, etc. between drive system 414 and the vehicle. In some examples, direct connection 412 may also releasably secure drive system 414 to the body of vehicle 402.

[0091] In at least one example, the localization component 420, the recognition component 422, the prediction component 424, the planning component 426, the one or more system controllers 428, the one or more maps 430, and the model component 432 may process the sensor data as described above and transmit their respective outputs to a computing device 436 via one or more networks 442. In at least one example, the localization component 420, the recognition component 422, the prediction component 424, the planning component 426, the one or more system controllers 428, the one or more maps 430, and the model component 432 may transmit their respective outputs to a remote computing device 436 at a particular frequency, after a predetermined period of time, in near real-time, etc.

[0092] In some examples, the vehicle 402 may transmit sensor data to the computing device 436 via the network 442. In some examples, the vehicle 402 may receive sensor data from the computing device 436 and / or remote sensor system 444 via the network 442. The sensor data may include raw sensor data, and / or processed sensor data, and / or representations of the sensor data. In some examples, the sensor data (raw or processed) may be transmitted and / or received as one or more log files.

[0093] The computing device 436 may include a processor 438 and a memory 440 that stores a map component 446, a sensor data processing component 448, and a training component 450. In some examples, the map component 446 may generate maps of various resolutions. In such examples, the map component 446 may transmit one or more maps to the vehicle computing device 404 for navigation purposes. In various examples, the sensor data processing component 448 may be configured to receive data from one or more remote sensors, such as the sensor system 406 and / or the remote sensor system 444. In some examples, the sensor data processing component 448 may be configured to process the data and transmit processed sensor data to the vehicle computing device 404, such as for use by the model component 432 (e.g., model 434, etc.). In some examples, the sensor data processing component 448 may be configured to transmit raw sensor data to the vehicle computing device 404.

[0094] In some instances, the training component 450 can train a machine learning model to output a trajectory of an articulated object. For example, the training component 450 can receive sensor data representing an object passing through an environment for a period of time, such as 0.1 milliseconds, 1 second, 3 seconds, 5 seconds, and 7 seconds. At least a portion of the sensor data can be used as an input to train the machine learning model.

[0095] In some instances, the training component 450 may be executed by the processor 438 to train a machine learning model based on training data. The training data may include a wide variety of data, such as sensor data, audio data, image data, map data, inertial data, vehicle state data, historical data (log data), or combinations thereof, that are associated with a value (e.g., a desired classification, inference, prediction, etc.). Such values ​​may be generally referred to as "ground truth." To illustrate, the training data may include data representing an environment that may be used to determine a risk associated with an evaluated trajectory and, as such, is captured by an autonomous vehicle and associated with one or more classifications or determinations. In some instances, such classifications may be based on user input (e.g., a user input indicating that the data portrays a particular risk) or may be based on the output of another machine learning model. In some instances, such labeled classifications (or more generally, labeled outputs associated with the training data) may be referred to as ground truth.

[0096] In some instances, the training component 450 can train a machine learning model to output trajectory values, metadata, and the like. For example, the training component 450 can receive data representing labeled crash data (e.g., publicly available data, sensor data, and / or a combination thereof, etc.), trajectory data, metadata, and the like. At least a portion of the data can be used as input to train the machine learning model. Thus, by providing data of a vehicle passing through an environment, as described herein, the training component 450 can be trained to output a vehicle trajectory to avoid a potential intersection associated with an object.

[0097] In some examples, training component 450 can include training data being generated by a simulator. For example, the simulated training data can represent instances in which a vehicle crashes into or nearly crashes into objects in the environment to provide additional training examples.

[0098] The processor 416 of the vehicle 402 and the processor 438 of the computing device 436 may be any suitable processor capable of processing data and executing instructions to perform operations as described herein. By way of example and not limitation, the processors 416 and 438 may include one or more central processing units (CPUs), graphic processing units (GPUs), or any other device or portion of a device that processes electronic data and converts it into registers and / or other electronic data that may be stored in memory. In some examples, integrated circuits (e.g., ASICs, etc.), gate arrays (e.g., FPGAs, etc.), and other hardware devices may also be considered processors to the extent that they are configured to implement coded instructions.

[0099] Memory 418 and memory 440 are examples of non-transitory computer-readable media. Memory 418 and memory 440 may store an operating system and one or more software applications, instructions, programs, and / or data for implementing the methods and functions attributed to the various systems described herein. In various implementations, memory may be implemented using any suitable memory technology, such as static random access memory (SRAM), synchronous dynamic RAM (SDRAM), non-volatile / flash type memory, or any other type of memory capable of storing information. The architectures, systems, and individual elements described herein may include many other logical, programmatic, and physical components, and those shown in the accompanying figures are merely examples relevant to the description herein.

[0100] 4 is illustrated as a distributed system, it should be noted that in alternative examples, components of the vehicle 402 may be associated with the computing device 436 and / or components of the computing device 436 may be associated with the vehicle 402. That is, the vehicle 402 may perform one or more of the functions associated with the computing device 436, and vice versa.

[0101] 5A and 5B show exemplary processes according to examples of the present disclosure. These processes are illustrated as logical flow graphs, each operation of which represents a sequence of operations that can be implemented in hardware, software, or a combination thereof. In the context of software, the operations represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the described operations. In general, computer-executable instructions include routines, programs, objects, components, data structures, and the like that perform particular functions or implement particular abstract data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations can be omitted and / or combined in any order and / or in parallel to perform the process.

[0102] 5A is a first portion of a flowchart illustrating an example process 500 for determining a vehicle's trajectory and metadata using one or more example models. For example, some or all of process 500 may be performed by one or more components in FIGS. 1-4 as described herein. For example, some or all of process 500 may be performed by vehicle computing device 404, computing device 436, or computing device 202. However, process 500 is not limited to being performed by these components, and components are not limited to performing process 500.

[0103] At operation 502, process 500 may include receiving sensor data from sensors associated with the autonomous vehicle. In some examples, operation 502 may include the vehicle computing device planning component 104 receiving sensor data from a lidar sensor, a radar sensor, etc. associated with the vehicle 402. In some examples, the sensor data is indicative of objects detected from the environment, such as object 110 and object 112. The sensor data may be received from one or more sensors on the vehicle and / or from one or more remote sensors (e.g., sensors in the environment and / or sensors on another vehicle, etc.).

[0104] At operation 504, the process may include determining a first heat map representing a first set of costs for the autonomous vehicle to traverse the environment based at least in part on the sensor data and the first feature. In some examples, operation 504 may include the vehicle computing device generating, estimating, or otherwise determining a heat map (e.g., a two-dimensional data representation of the environment composed of cells representing the set of costs, such as the discretized representation 116). In various examples, the map generation component 204 may receive feature data representing an area behind the object 110. The first set of costs may include a following cost, a lane change cost, a signal cost, and / or a braking cost, to name a few.

[0105] At operation 506, the process may include determining a second heatmap representing a second set of costs for the autonomous vehicle to traverse the environment based at least in part on the sensor data and the second features. In some examples, operation 506 may include the map generation component 204 generating, estimating, or otherwise determining an additional heatmap for an area behind the object 112 (e.g., the discretized representation 118, etc.) based on feature data associated with the object 112. Operation 506 may include, for example, the vehicle computing device implementing the cost determination component 206 to determine a cost associated with one or more heatmaps.

[0106] At operation 508, the process may include aggregating the first heatmap and the second heatmap by the model as a combined map. In some examples, operation 508 may include the aggregation component 208 combining the first heatmap and the second heatmap (and the costs associated therewith). For example, the aggregation component 208 may combine the discretized representation 116 and the discretized representation 118 as a combined heatmap for use by the vehicle computing device. Operation 508 may include, for example, implementing the aggregation component 208 to aggregate the costs of the first heatmap and the second heatmap based at least in part on the vehicle computing device performing a tree search.

[0107] FIG. 5B is a second portion of a flowchart depicting an example process 500 for determining a vehicle's trajectory and metadata using one or more example models.

[0108] At operation 510, the process may include determining, by the model, first output data representing a planned trajectory usable for controlling the autonomous vehicle within the environment at a future time based at least in part on the combined map. In some examples, operation 510 may include the vehicle computing device implementing the cost determination component 206 and / or the aggregation component 208 to determine the planned trajectory based at least in part on an aggregated cost associated with the combined map. In such examples, the vehicle computing device may determine, at least in part on a cost associated with the heat map, It may be determined which portions of first candidate trajectory 114(1) or second candidate trajectory 114(2) to include as the planned trajectory. For example, the costs of cells intersecting with first candidate trajectory 114(1) or the costs of cells intersecting with second candidate trajectory 114(2) may be combined and compared to a cost threshold or to each other to identify which cells have a lower overall cost. In some examples, the planned trajectory may be based at least in part on heuristics.

[0109] At operation 512, the process may include determining, by the model, second output data indicative of reasons for determining the planned trajectory based at least in part on the combined map. In some examples, operation 512 may include the vehicle computing device implementing the streamlining component 210 to determine metadata describing the environment, the vehicle 402, and the objects 110 and 112. For example, the streamlining component 210 may determine what is occurring to cause the selection of a candidate trajectory as the planned trajectory. Although a cost is used to determine the planned trajectory, the cost may not indicate why a candidate trajectory is safer (e.g., more likely to avoid crossings against the objects 110 and 112) than another trajectory. Additionally, because heuristics may be used to determine the planned trajectory as part of the tree search, the planned trajectory may be based on data that is not correlated with the vehicle's behavior. As such, the metadata may provide guidance for the selection of the planned trajectory.

[0110] At operation 514, the process may include controlling the autonomous vehicle within the environment relative to the first characteristic and the second characteristic based at least in part on the first output data. In some examples, operation 514 may include controlling the vehicle 402 based on the planned trajectory. In some examples, operation 512 may include controlling a braking system, an acceleration system, a steering system, a drive system, etc. of the vehicle 402 to conform to (e.g., follow) the planned trajectory.

[0111] In operation 516, the process may include one or more of the following: transmitting the second output data to a remote computing device for training a model, logging the second output data, or displaying the second output data on a display device. The operation 516 may include outputting the metadata for presentation on a user interface in a passenger area of ​​the vehicle 402 to provide directions for travel or operation by the vehicle 402. The metadata may or may not be displayed on a computing device associated with the passenger. In some examples, the operation 516 may or may not send the second output data to the computing device 436 to train one or more models implemented by the planning component 104. For example, the metadata may be used to improve future predictions by the one or more models. Additionally or alternatively, the operation 516 may include recording the second output data for debugging, training, or other purposes. For example, the metadata may be recorded in a database or memory for analysis by a human and / or a computing device.

[0112] The methods described herein represent a sequence of operations that may be implemented in hardware, software, or a combination thereof. In the context of software, the blocks represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the described operations. In general, computer-executable instructions include routines, programs, objects, components, data structures, and the like that perform particular functions or implement particular abstract data types. The order in which the operations are described is not intended to be construed as limiting, and any number of the operations described may be combined in any order and / or in parallel to implement a process. In some embodiments, one or more operations of a method may be omitted entirely. Additionally, the methods described herein may be combined in whole or in part with each other or with other methods.

[0113] The various techniques described herein may be implemented in the context of computer-executable instructions or software, such as program modules, that are stored in a computer-readable storage device and executed by processors of one or more computing devices, such as those illustrated in the figures. Generally, program modules include routines, programs, objects, components, data structures, etc., that define operational logic for performing particular tasks or implement particular abstract data types.

[0114] Other architectures may be used to implement the described functionality and are intended to be within the scope of the present disclosure. Additionally, although a specific distribution of responsibilities is defined above for purposes of explanation, the various functions and responsibilities may be distributed and divided in various manners, depending on the circumstances.

[0115] Similarly, software may be stored and distributed using a variety of means in a variety of embodiments, and the storage and execution configurations of the particular software described above may vary in many different embodiments. Thus, software implementing the techniques described above may be distributed on various types of computer-readable media, without being limited to the specifically described forms of memory.

[0116] [Example clauses] Any of the example clauses in this section may be used with any other of the example clauses and / or any of the other examples or embodiments described herein.

[0117] A: A system comprising one or more processors and one or more non-transitory computer readable media storing instructions executable by the one or more processors, the instructions which, when executed, cause the system to perform operations including receiving sensor data from a sensor associated with an autonomous vehicle, determining a first heat map representing a first set of costs for the autonomous vehicle to pass through an environment based at least in part on the sensor data and the first feature, determining a second heat map representing a second set of costs for the autonomous vehicle to pass through the environment based at least in part on the sensor data and the second feature, aggregating the first heat map and the second heat map by a model as a combined map, determining by the model first output data representing a planned trajectory usable for controlling the autonomous vehicle within the environment at a future time based at least in part on the combined map, determining by the model second output data indicative of reasons for determining the planned trajectory based at least in part on the combination, controlling the autonomous vehicle within the environment relative to the first feature and the second feature based at least in part on the first output data, and performing one or more of the following: That is, transmitting the second output data to a remote computing device to train a model, logging the second output data, or displaying the second output data on a display device.

[0118] B: The system of paragraph A, wherein the first feature or the second feature includes one of a vehicle state, a vehicle safety, a feature for following another object, a lane change feature, and a turn signal operation feature associated with the autonomous vehicle.

[0119] C: The system of either paragraph A or paragraph B, wherein the second output data includes a confidence value associated with the first feature or the second feature.

[0120] D: The system of any one of paragraphs A to C, wherein the operations further include determining that a cost of the first cost set exceeds a cost threshold and modifying a branch of the tree search based at least in part on the cost exceeding the cost threshold, and determining first output data representing the planned trajectory is further based at least in part on modifying the branch of the tree search.

[0121] E: The system of any one of paragraphs A-D, wherein the model is a first model and the operations further include inputting the sensor data to a second model, determining, via the second model, third output data representative of a behavior of the autonomous vehicle in the environment at a future time, and at least one of: training the first model based at least in part on a comparison between the third output data and the second output data, or validating accuracy of the reason associated with the second output data based at least in part on the third output data.

[0122] F: A method comprising: receiving sensor data from a sensor associated with the autonomous vehicle, determining a discretized representation of a set of costs for the autonomous vehicle to traverse an environment based at least in part on the sensor data and the features, determining first output data representing a planned trajectory usable for controlling the autonomous vehicle within the environment at a future time based at least in part on the discretized representation, determining second output data representing a reason for determining the planned trajectory, controlling the autonomous vehicle within the environment relative to the features based at least in part on the first output data, and performing one or more of the following: outputting the second output data for display on a display device, transmitting the second output data to a computing device for training, or recording the second output data.

[0123] G: The method of paragraph F, wherein the feature includes one of the following associated with the autonomous vehicle: vehicle state, vehicle safety, ability to follow another vehicle, ability to change lanes, or ability to operate a turn signal.

[0124] H: The method of paragraph G, wherein the second output data includes a confidence value indicating the certainty of why the planned trajectory was determined.

[0125] I: The method of any one of paragraphs F-H, further comprising: determining that a cost of the cost set exceeds a cost threshold; and altering a branch of the tree search based at least in part on the cost exceeding the cost threshold, wherein determining first output data representing the planned trajectory is further based at least in part on altering the branch of the tree search.

[0126] J: The method of any one of paragraphs F-I, wherein the first model determines the first output data, further comprising: inputting the sensor data into a second model, determining, with the second model, third output data representative of a behavior of the autonomous vehicle in the environment at a future time, and performing at least one of: training the first model based at least in part on a comparison between the third output data and the second output data, or validating accuracy of the second output data based at least in part on the third output data.

[0127] K: The method of any one of paragraphs F to J, further comprising: determining a weak classifier label based at least in part on the first output data to train a machine learning model, the weak classifier label classifying an aspect of the vehicle behavior as good or bad, and training a machine learning model based at least in part on the weak classifier label to determine whether the vehicle behavior associated with the planned trajectory is good or bad.

[0128] L: Any one of the methods of paragraphs F to K, further comprising the step of applying a heuristic to combine the cost sets, and wherein the step of controlling the autonomous vehicle within the environment is further based at least in part on the heuristic.

[0129] M: Any one of the methods of paragraphs F to L, wherein the cost set includes one or more of a proceeding cost, a following cost, a lane change cost, a turn signal cost, an intersection cost, a safety cost, an active object cost, or an inactive object cost.

[0130] N: The method of any one of paragraphs F to M, comprising performing a tree search by associating a first candidate motion with a first branch and associating a second candidate motion with a second branch, determining a first composite cost of a cost set associated with the first candidate motion and a second composite cost of a cost set associated with the second candidate motion, and changing from the first branch to the second branch based at least in part on a difference between the first composite cost and the second composite cost, wherein determining first output data representing the planned trajectory is further based at least in part on the tree search.

[0131] O:Any one of the methods of paragraphs F to N, wherein the first candidate motion includes a first candidate trajectory and the second candidate motion includes a second candidate trajectory, and the step of determining first output data representing the planned trajectory is further based at least in part on the first candidate trajectory and the second candidate trajectory.

[0132] P: The method of any one of paragraphs F-O, further comprising performing a tree search by: associating a first branch with a first candidate trajectory and associating a second branch with a second candidate trajectory, processing the first branch and the second branch over a period of time to track the first candidate trajectory and the second candidate trajectory into the future, determining a first amount of time to process the first branch and a second amount of time to process the second branch, and determining a first overall cost for costs associated with the first branch and a second overall cost for costs associated with the second branch, wherein determining first output data representative of the planned trajectory is further based at least in part on the first amount of time, the second amount of time, the first overall cost, and the second overall cost.

[0133] Q: One or more non-transitory computer-readable media storing instructions executable by one or more processors, the instructions, when executed, causing the one or more processors to perform operations including receiving sensor data from a sensor associated with an autonomous vehicle, determining a discretized representation of a set of costs for the autonomous vehicle to traverse an environment based at least in part on the sensor data and the features, determining first output data representing a planned trajectory that can be used to control the autonomous vehicle within the environment at a future time based at least in part on the discretized representation, determining second output data representing a reason for determining the planned trajectory, controlling the autonomous vehicle within the environment relative to the features based at least in part on the first output data, and performing one or more of the following: outputting the second output data for display on a display device, transmitting the second output data to a computing device for training, or recording the second output data.

[0134] R:The one or more non-transitory computer-readable media of Q, wherein the feature includes one of a vehicle state, a vehicle safety, a function of following another vehicle, a function of changing lanes, or a function of operating a turn signal associated with the autonomous vehicle.

[0135] S: One or more non-transitory computer readable media of either the Q term or the R term, where the second output data includes a confidence value indicating the certainty of why the planned trajectory was determined.

[0136] The one or more non-transitory computer readable media of any one of terms T:Q through S, further comprising: determining that a cost of the cost set exceeds a cost threshold; and altering a branch of the tree search based at least in part on the cost exceeding the cost threshold, where determining first output data representing the planned trajectory is further based at least in part on altering the branch of the tree search.

[0137] Although the exemplary provisions described above are described with respect to one particular implementation, it should be understood in the context of this specification that the contents of the exemplary provisions can also be implemented via a method, an apparatus, a system, a computer-readable medium, and / or another implementation. Furthermore, any of the examples A-T may be implemented alone or in combination with any one or more of the other examples A-T.

[0138] [Conclusion] One or more examples of the techniques described herein have been described, although various modifications, additions, permutations, and equivalents thereof fall within the scope of the techniques described herein.

[0139] In describing the examples, reference is made to the accompanying drawings, which form a part of this specification, and which show, by way of illustration, specific examples of the claimed subject matter. It should be understood that other examples can be used and that changes or modifications, such as structural changes, can be made. Such examples, changes, or modifications do not necessarily depart from the intended scope of the claimed subject matter. Although the procedures herein may be presented in a particular order, in some cases the order can be changed such that certain inputs are provided at various times or in different orders without changing the functionality of the systems and methods described. The disclosed procedures can also be performed in various orders. Furthermore, the various calculations described herein do not have to be performed in the order disclosed, and other examples using alternative orders of calculations can be easily implemented. In addition to changing the order, they can also be decomposed into sub-calculations that have the same results.

Claims

1. 1. A system comprising: one or more processors; one or more non-transitory computer-readable media storing instructions executable by the one or more processors, the instructions, when executed, causing the system to: receiving sensor data from a sensor associated with the autonomous vehicle; determining a discretized representation for a set of costs for the autonomous vehicle to traverse an environment based at least in part on the sensor data and features; and determining, based at least in part on the discretized representation, first output data representative of a planned trajectory usable for controlling the autonomous vehicle within the environment at a future time; determining second output data indicative of reasons for determining the planned trajectory; controlling the autonomous vehicle within the environment relative to the feature based at least in part on the first output data; and outputting the second output data for display on a display device, transmitting the second output data to a computing device for training, or logging the second output data. A non-transitory computer-readable medium for performing operations including: A system comprising:

2. the discretized representation comprises a heat map; the second output data includes a confidence value associated with the feature; or the characteristics include any of a vehicle state, a vehicle safety, a following another object characteristic, a lane change characteristic, or a turn signal operation characteristic associated with the autonomous vehicle; The system of claim 1 .

3. If the cost set is a first cost set, the feature is a first feature and the operation is determining a second representation of a second set of costs for the autonomous vehicle to traverse the environment based at least in part on the sensor data and second features; and aggregating the discretized representation and the second representation as a composite representation by a model; Including, determining the first output data or the second output data based at least in part on the composite representation; 3. A system according to claim 1 or 2.

4. The operation is determining that a cost of the cost set exceeds a cost threshold; modifying a branch of a tree search based at least in part on the cost exceeding the cost threshold; Further comprising: determining the first output data representative of the planned trajectory is further based at least in part on modifying a branch of the tree search. A system according to any one of claims 1 to 3.

5. The determining of the first output data is performed by a first model, and the operation comprises: inputting the sensor data into a second model; determining third output data representative of a behavior of the autonomous vehicle within the environment at a future time with the second model; and training the first model based at least in part on a comparison of the third output data and the second output data; or verifying accuracy of the reason associated with the second output data based at least in part on the third output data. At least one of Further comprising: A system according to any one of claims 1 to 4.

6. 1. A method comprising: receiving sensor data from a sensor associated with the autonomous vehicle; determining a discretized representation of a set of costs for the autonomous vehicle to traverse an environment based at least in part on the sensor data and features; determining first output data representing a planned trajectory usable for controlling the autonomous vehicle within an environment at a future time based at least in part on the discretized representation; determining second output data representative of reasons for determining the planned trajectory; controlling the autonomous vehicle within the environment relative to the feature based at least in part on the first output data; one or more of outputting the second output data for display on the display device, transmitting the second output data to a computing device for training, or logging the second output data. A method comprising:

7. the characteristics include one of a vehicle state, a vehicle safety, a following characteristic, a lane change characteristic, or a turn signal operation characteristic associated with the autonomous vehicle; The method according to claim 6.

8. the second output data includes a confidence value to indicate the certainty of the reason why the planned trajectory was determined; or the set of costs includes one or more of a proceeding cost, a following cost, a lane change cost, a turn signal cost, an intersection cost, a safety cost, an active object cost, or an inactive object cost; The method according to claim 6 or 7.

9. determining that a cost of the cost set exceeds a cost threshold; modifying a branch of a tree search based at least in part on the cost exceeding the cost threshold; Further equipped with determining the first output data representative of the planned trajectory is further based at least in part on modifying a branch of the tree search; 9. A method according to any one of claims 6 to 8.

10. a first model determines the first output data; inputting the sensor data into a second model; determining third output data representative of a behavior of the autonomous vehicle within the environment at a future time with the second model; training the first model based at least in part on a comparison of the third output data and the second output data; or verifying accuracy of the second output data based at least in part on the third output data. At least one of Further comprising:

10. A method according to any one of claims 6 to 9.

11. determining a weak classifier label for training a machine learning model based at least in part on the first output data, the weak classifier label classifying an aspect of vehicle behavior as good or bad; training the machine learning model to determine whether a vehicle behavior associated with the planned trajectory is good or bad based at least in part on the weak classifier labels; The method of any one of claims 6 to 10, further comprising:

12. applying heuristics to combine the cost sets; Further equipped with controlling the autonomous vehicle within the environment is further based at least in part on the heuristics.

12. A method according to any one of claims 6 to 11.

13. associating a first branch with a first candidate trajectory and a second branch with a second candidate trajectory; processing the first branch and the second branch over a period of time to track the first candidate trajectory and the second candidate trajectory into the future; determining a first amount of time to process the first branch and a second amount of time to process the second branch; determining a first overall cost for costs associated with the first branch and a second overall cost for costs associated with the second branch; Step 2: Perform a tree search by Further equipped with determining the first output data representative of the planned trajectory is further based at least in part on the first amount of time, the second amount of time, the first overall cost, and the second overall cost; 13. A method according to any one of claims 6 to 12.

14. associating a first candidate trajectory with a first branch and a second candidate trajectory with a second branch; determining a first composite cost of the cost set associated with the first candidate trajectory and a second composite cost of the cost set associated with the second candidate trajectory; changing from the first branch to the second branch based at least in part on a difference between the first composite cost and the second composite cost; Step 2: Perform a tree search by Further equipped with determining the first output data representative of the planned trajectory is further based at least in part on the tree search.

14. A method according to any one of claims 6 to 13.

15. A computer program product comprising coded instructions which, when executed on a computer, implements a method according to any one of claims 6 to 14.

Citation Information

Patent Citations

  • Route search system, method, and program

    JP2017009513A

  • Driving control device

    JP2019137321A

  • Automatic driving control system

    JP2020055526A

  • System and method for determining a driving route in autonomous driving

    JP2021514883A

  • Trajectory prediction of third-party objects using temporal logic and tree search

    US10671076B1