Random displacement-based path centering system for autonomous vehicles
By using a random displacement-based path centering system in autonomous vehicles to generate random trajectories, the problem of road surface damage caused by autonomous vehicles is solved and more uniform road usage is achieved.
Patent Information
- Application Number
- CN202110378846.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-07-13
- Filing Date
- 2021-04-08
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-04-08
AI Technical Summary
Autonomous vehicles can cause damage to road surfaces during repetitive tasks because the vehicles always run along the same road sections, causing uneven wear of the road surface.
A path centering system based on random displacement is used to generate random trajectories by generating reference lines and using a random number algorithm to determine lateral displacement distance values to avoid vehicles operating on the same road sections.
It effectively avoids vehicles running on the same road sections, reduces damage to the road surface, and achieves more uniform vehicle route planning.
Smart Images

Figure CN113928334B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure generally relate to operating an autonomous vehicle. More particularly, embodiments of the present disclosure relate to a random displacement based path centering system for an autonomous vehicle (ADV). Background Art
[0002] A vehicle operating in an autonomous mode (e.g., without human control) can relieve occupants, particularly the driver, of some driving-related responsibilities. When operating in an autonomous mode, the vehicle can navigate to various locations using onboard sensors, allowing the vehicle to travel with minimal human interaction or in some cases without any passengers.
[0003] The control module of an autonomous vehicle can be more deterministic than a human driver in its repetitive tasks. For example, a vehicle route from the same source location to a destination location can result in the same path planning. However, this can result in the vehicle always operating on the exact same part of the road, which can cause problems with damage to the road surface. Summary of the invention
[0004] In a first aspect, there is provided a method of operating an autonomous vehicle (ADV), the method comprising:
[0005] generating a reference line for navigating the ADV from a starting location to a destination location;
[0006] Determine a lateral displacement distance value that causes the lane center of the reference line to be displaced, and use a random number generation algorithm to determine the lateral displacement distance value;
[0007] generating a trajectory of displacement based on the lateral displacement distance values using the reference line; and
[0008] The ADV is controlled based on the displacement trajectory to navigate the ADV.
[0009] In a second aspect, a non-transitory machine-readable medium having instructions stored therein is provided, which when executed by a processor causes the processor to perform the method of the first aspect.
[0010] In a third aspect, there is provided a data processing system comprising:
[0011] Processor; and
[0012] A memory coupled to the processor is used to store instructions, which, when executed by the processor, cause the processor to execute the method according to the first aspect.
[0013] In a fourth aspect, a computer program product is provided, comprising a computer program, wherein the computer program implements the method according to the first aspect when executed by a processor.
[0014] According to the present disclosure, it is possible to avoid a vehicle always running on exactly the same portion of a road, thereby avoiding a problem of causing damage to the road surface. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Embodiments of the present disclosure are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like references indicate similar elements.
[0016] Figure 1 is a block diagram illustrating a networking system according to one embodiment.
[0017] Figure 2 is a block diagram illustrating an example of an autonomous driving vehicle according to one embodiment.
[0018] Figure 3A-3B is a block diagram illustrating an example of an autonomous driving system for use with an autonomous driving vehicle according to one embodiment.
[0019] Figure 4 is a block diagram illustrating a lane center displacement module according to one embodiment.
[0020] Figure 5 A top-down view of a lane segment for an ADV with a laterally displaced trajectory is shown according to one embodiment.
[0021] Figure 6 is a block diagram illustrating generating lateral displacement distance values according to one embodiment.
[0022] Figure 7 is a flow chart illustrating a method according to one embodiment. DETAILED DESCRIPTION
[0023] Various embodiments and aspects of the present disclosure will be described with reference to the details discussed below, and the accompanying drawings will illustrate various embodiments. The following description and the accompanying drawings are illustrative of the present disclosure and should not be construed as limiting the present disclosure. Many specific details are described to provide a comprehensive understanding of various embodiments of the present disclosure. However, in some cases, in order to provide a brief discussion of embodiments of the present disclosure, known or conventional details are not described.
[0024] References in the specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present disclosure. The phrase "in one embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment.
[0025] Embodiments of the present disclosure disclose a method and system for generating a path planning trajectory with random lateral displacement for an autonomous driving vehicle (ADV). In one embodiment, the system generates a reference line that navigates the ADV from a starting location to a destination location. The system randomly determines a lateral displacement distance value that displaces the reference line to the left or right of the reference line. The system generates a trajectory of the displacement based on the lateral displacement distance value using the reference line. The system controls the ADV based on the displacement trajectory to navigate the ADV.
[0026] Figure 1 is a block diagram showing an autonomous driving network configuration according to one embodiment of the present disclosure. Figure 1 , network configuration 100 includes an autonomous driving vehicle (ADV) 101 that can be communicatively coupled to one or more servers 103-104 via a network 102. Although one ADV is shown, multiple ADVs can be coupled to each other and / or to servers 103-104 via network 102. Network 102 can be any type of wired or wireless network, such as a local area network (LAN), a wide area network (WAN) (e.g., the Internet), a cellular network, a satellite network, or a combination thereof. Servers 103-104 can be any kind of server or server cluster, such as a web or cloud server, an application server, a back-end server, or a combination thereof. Servers 103-104 can be data analysis servers, content servers, traffic information servers, maps and points of interest (MPOI) servers, or location servers, etc.
[0027] An ADV refers to a vehicle that can be configured to be in an autonomous mode, in which the vehicle navigates an environment with little or no driving by a driver. Such an ADV may include a sensor system having one or more sensors configured to detect information about the environment in which the vehicle operates. The vehicle and its associated controller use the detected information to navigate the environment. The ADV 101 can operate in a manual mode, a fully autonomous mode, or a partially autonomous mode.
[0028] In one embodiment, ADV 101 includes, but is not limited to, autonomous driving system (ADS) 110, vehicle control system 111, wireless communication system 112, user interface system 113, and sensor system 115. ADV 101 may also include certain common components included in ordinary vehicles, such as an engine, wheels, a steering wheel, a transmission, etc., which may be controlled by vehicle control system 111 and / or ADS 110 using various communication signals and / or commands, such as acceleration signals or commands, deceleration signals or commands, steering signals or commands, braking signals or commands, etc.
[0029] The components 110-115 may be communicatively coupled to each other via an interconnect, a bus, a network, or a combination thereof. For example, the components 110-115 may be communicatively coupled to each other via a controller area network (CAN) bus. The CAN bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other in applications without a host computer. It is a message-based protocol originally designed for multi-way electrical wiring within a vehicle, but is also used in many other situations.
[0030] Reference now Figure 2 In one embodiment, the sensor system 115 includes, but is not limited to, one or more cameras 211, a global positioning system (GPS) unit 212, an inertial measurement unit (IMU) 213, a radar unit 214, and a light detection and ranging (LIDAR) unit 215. The GPS system 212 may include a transceiver that is operable to provide information about the location of the ADV. The IMU unit 213 may sense the position and direction changes of the ADV based on inertial acceleration. The radar unit 214 may represent a system that uses radio signals to sense objects within the local environment of the ADV. In some embodiments, in addition to sensing objects, the radar unit 214 may also sense the speed and / or heading of the object. The LIDAR unit 215 may use lasers to sense objects in the environment in which the ADV is located. The LIDAR unit 215 may include one or more laser sources, a laser scanner, and one or more detectors and other system components. The camera 211 may include one or more devices to capture images of the environment around the ADV. The camera 211 may be a still camera and / or a video camera. The camera may be mechanically movable, for example by mounting the camera on a rotating and / or tilting platform.
[0031] The sensor system 115 may also include other sensors, such as a sonar sensor, an infrared sensor, a steering sensor, a throttle sensor, a brake sensor, and an audio sensor (e.g., a microphone). The audio sensor may be configured to capture sound from the environment surrounding the ADV. The steering sensor may be configured to sense the steering angle of the steering wheel, wheels, or a combination thereof of the vehicle. The throttle sensor and the brake sensor sense the throttle position and the brake position of the vehicle, respectively. In some cases, the throttle sensor and the brake sensor may be integrated into an integrated throttle / brake sensor.
[0032] In one embodiment, the vehicle control system 111 includes but is not limited to a steering unit 201, a throttle unit 202 (also referred to as an acceleration unit), and a brake unit 203. The steering unit 201 is used to adjust the direction or driving direction of the vehicle. The throttle unit 202 is used to control the speed of the motor or engine, thereby controlling the speed and acceleration of the vehicle. The brake unit 203 decelerates the vehicle by providing friction to decelerate the wheels or tires of the vehicle. Note that Figure 2The components shown in may be implemented in hardware, software, or a combination thereof.
[0033] Reference again Figure 1 , the wireless communication system 112 allows communication between the ADV 101 and external systems (e.g., devices, sensors, other vehicles, etc.). For example, the wireless communication system 112 can wirelessly communicate with one or more devices directly or through a communication network, for example, communicating with servers 103-104 through the network 102. The wireless communication system 112 can use any cellular communication network or wireless local area network (WLAN), such as using WiFi to communicate with another component or system. The wireless communication system 112 can communicate directly with devices (e.g., a passenger's mobile device, a display device, a speaker in the vehicle 101) using, for example, an infrared link, Bluetooth, etc. The user interface system 113 can be part of a peripheral device implemented within the vehicle 101, including, for example, a keyboard, a touch screen display device, a microphone, and a speaker.
[0034] Some or all functions of ADV 101 may be controlled or managed by ADS 110, particularly when operating in autonomous driving mode. ADS 110 includes necessary hardware (e.g., processor, memory, storage) and software (e.g., operating system, planning and routing programs) to receive information from sensor system 115, control system 111, wireless communication system 112, and / or user interface system 113, process the received information, plan a route or path from a starting point to a destination point, and then drive vehicle 101 based on the planning and control information. Alternatively, ADS 110 may be integrated with vehicle control system 111.
[0035] For example, a user as a passenger may specify a starting location and a destination of a trip, for example, via a user interface. ADS 110 obtains trip-related data. For example, ADS 110 may obtain location and route data from an MPOI server, which may be part of servers 103-104. The location server provides location services, and the MPOI server provides map services and POIs of certain locations. Alternatively, such location and MPOI information may be cached locally in a permanent storage device of ADS 110.
[0036] When ADV 101 travels along the route, ADS 110 can also obtain real-time traffic information from a traffic information system or server (TIS). Note that servers 103-104 can be operated by third-party entities. Alternatively, the functions of servers 103-104 can be integrated with ADS 110. Based on real-time traffic information, MPOI information and location information, and real-time local environmental data (e.g., obstacles, objects, nearby vehicles) detected or sensed by the sensor system, ADS 110 can plan the best route and drive vehicle 101 according to the planned route, for example, via control system 111, to reach the designated destination safely and efficiently.
[0037] The server 103 may be a data analysis system for performing data analysis services for various clients. In one embodiment, the data analysis system 103 includes a data collector 121 and a machine learning engine 122. The data collector 121 collects driving statistics 123 from various vehicles, which are ADVs or conventional vehicles driven by human drivers. The driving statistics 123 include information indicating the driving commands issued (e.g., throttle, brake, steering commands) and the responses of the vehicle captured by the vehicle's sensors at different time points (e.g., speed, acceleration, deceleration, direction). The driving statistics 123 may further include information describing the driving environment at different time points, such as routes (including starting and destination locations), MPOI, weather conditions, road conditions, etc.
[0038] Based on the driving statistics 123, the machine learning engine 122 generates or trains a set of rules, algorithms, and / or predictive models 124 for various purposes. In one embodiment, the algorithms 124 may include algorithms that apply lateral displacements / offsets to the path planning trajectory of the ADV. The algorithms 124 may then be uploaded to the ADV to be utilized in real time during autonomous driving.
[0039] Figure 3A and 3B is a block diagram illustrating an example of an autonomous driving system for use with an ADV according to one embodiment. System 300 may be implemented as Figure 1 A portion of the ADV 101 includes, but is not limited to, the ADS 110, the control system 111, and the sensor system 115. Figure 3A-3B The ADS 110 includes but is not limited to a positioning module 301 , a perception module 302 , a prediction module 303 , a decision module 304 , a planning module 305 , a control module 306 , a routing module 307 , and a lane center module 308 .
[0040] Some or all of the modules 301-308 may be implemented in software, hardware, or a combination thereof. For example, these modules may be installed in permanent storage device 352, loaded into memory 351, and executed by one or more processors (not shown). Note that some or all of these modules may be communicatively coupled to Figure 2 Some modules of the vehicle control system 111 may be integrated with or integrated therewith. Some of the modules 301-308 may be integrated together as integrated modules.
[0041] The positioning module 301 determines the current location of the ADV 300 (e.g., using the GPS unit 212) and manages any data related to the user's itinerary or route. The positioning module 301 (also known as the map and route module) manages any data related to the user's itinerary or route. The user can log in and specify the starting location and destination of the trip, for example, through a user interface. The positioning module 301 communicates with other components of the ADV 300, such as communicating with the map and route data 311, to obtain data related to the trip. For example, the positioning module 301 can obtain location and route data from a location server and a map and POI (MPOI) server. The location server provides location services, and the MPOI server provides map services and POIs at certain locations, which can be cached as part of the map and route data 311. When the ADV 300 travels along the route, the positioning module 301 can also obtain real-time traffic information from a traffic information system or server.
[0042] Based on the sensor data provided by the sensor system 115 and the positioning information obtained by the positioning module 301, the perception module 302 determines the perception of the surrounding environment. The perception information can represent the same information as the perception of surrounding vehicles by an ordinary driver when driving the vehicle. The perception may include, for example, lane configuration, traffic lights, the relative position of another vehicle, pedestrians, buildings, crosswalks or other traffic-related signs (e.g., no-entry signs, give way signs), etc., for example in the form of objects. The lane configuration includes information describing one or more lanes, such as the shape of the lane (e.g., straight or curved), the width of the lane, how many lanes there are in the road, one-way or two-way lanes, merging or splitting lanes, and exit lanes, etc.
[0043] The perception module 302 may include a computer vision system or functionality of a computer vision system to process and analyze images captured by one or more cameras in order to identify objects and / or features in the environment of the ADV. Objects may include traffic signals, road boundaries, other vehicles, pedestrians, and / or obstacles, etc. The computer vision system may use object recognition algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system may map the environment, track objects, and estimate the speed of objects, etc. The perception module 302 may also detect objects based on other sensor data provided by other sensors such as radar and / or LIDAR.
[0044] For each object, the prediction module 303 predicts what the object will behave in the current situation. The prediction is made based on the perception data according to a set of map / route information 311 and traffic rules 312, and the perception data perceives the driving environment at a point in time. For example, if the object is a vehicle traveling in the opposite direction and the current driving environment includes an intersection, the prediction module 303 will predict whether the vehicle will likely go straight or turn. If the perception data indicates that there is no traffic light at the intersection, the prediction module 303 can predict that the vehicle may have to come to a complete stop before entering the intersection. If the perception data indicates that the vehicle is currently in a left-turn-only lane or a right-turn-only lane, the prediction module 303 can predict that the vehicle will be more likely to turn left or right, respectively.
[0045] For each object, decision module 304 makes a decision about how to handle the object. For example, for a particular object (e.g., another vehicle in an intersection) and its metadata describing the object (e.g., speed, direction, turn angle), decision module 304 decides how to handle encountering the object (e.g., overtake, yield, stop, pass). Decision module 304 can make such a decision based on a set of rules (such as traffic rules or driving rules 312) that can be stored in persistent storage device 352.
[0046] The routing module 307 is configured to provide one or more routes or paths from the starting point to the destination. For a given trip from the starting location to the destination location, for example, received from a user, the routing module 307 obtains route and map information 311 and determines all possible routes or paths from the starting location to the destination location. The routing module 307 can generate a reference line in the form of a topographic map for each route from the starting location to the destination location determined by it. The reference line refers to an ideal route or path that is not interfered by other factors such as other vehicles, obstacles, or traffic conditions. That is, if there are no other vehicles, pedestrians, or obstacles on the road, the ADV should accurately or closely follow the reference line. The topographic map is then provided to the decision module 304 and / or the planning module 305. The decision module 304 and / or the planning module 305 detects all possible routes to select and modify one of the best routes based on other data provided by other modules, such as traffic conditions from the positioning module 301, the driving environment perceived by the perception module 302, and the traffic conditions predicted by the prediction module 303. Depending on the particular driving environment at a point in time, the actual path or route used to control the ADV may be close to or different from the reference line provided by the routing module 307 .
[0047] Based on the decision for each perceived object, the planning module 305 plans the path or route of the ADV and driving parameters (such as distance, speed and / or turning angle) using the reference line provided by the routing module 307 as a basis. That is, for a given object, the decision module 304 decides how to handle the object, and the planning module 305 determines how to do it. For example, for a given object, the decision module 304 may decide to pass through the object, and the planning module 305 may determine whether to pass on the left or right side of the object. Planning and control data are generated by the planning module 305, and the planning and control data include information describing how the vehicle 300 will move in the next motion cycle (such as the next route / path segment). For example, the planning and control data may instruct the vehicle 300 to move 10 meters at a speed of 30 miles per hour (mph) and then change to the right lane at a speed of 25mph.
[0048] Based on the planning and control data, the control module 306 controls and drives the ADV according to the route or path defined by the planning and control data by sending appropriate commands or signals to the vehicle control system 111. The planning and control data includes sufficient information to drive the vehicle from a first point on the route or path to a second point using appropriate vehicle settings or driving parameters (e.g., throttle, brake, steering commands) at different points in time along the route or path.
[0049] In one embodiment, the planning phase is performed in multiple planning cycles (also referred to as driving cycles), for example, in each 100 millisecond (ms) time interval. For each planning cycle or driving cycle, one or more control commands will be issued based on the planning and control data. That is, for every 100 milliseconds, the planning module 305 plans the next route segment or path segment, for example, including the target position and the time required for the ADV to reach the target position. Alternatively, the planning module 305 can further specify a specific speed, direction and / or steering angle, etc. In one embodiment, the planning module 305 plans the route segment or path segment for the next predetermined time period (e.g., 5 seconds). For each planning cycle, the planning module 305 plans the target position of the current cycle (e.g., the next 5 seconds) based on the target position planned in the previous cycle. Then, the control module 306 generates one or more control commands (e.g., throttle, brake, steering control commands) based on the planning and control data of the current cycle.
[0050] Note that the decision module 304 and the planning module 305 can be integrated as an integrated module. The decision module 304 / planning module 305 can include a navigation system or the functionality of a navigation system to determine a driving path for the ADV. For example, the navigation system can determine a range of speeds and directions of travel to affect the ADV moving along a path that substantially avoids perceived obstacles while driving the ADV along a road-based path to a final destination. The destination can be set based on user input via the user interface system 113. The navigation system can dynamically update the driving path while the ADV is running. The navigation system can incorporate data from a GPS system and one or more maps to determine the driving path of the ADV.
[0051] Figure 4 is a block diagram illustrating an example of a lane center displacement module according to one embodiment. The lane center module 308 may be implemented as Figure 3A When the ADV requests a route, the lane center module 308 can generate a path planning trajectory with random lateral displacements. Figure 4 , the lane center module 308 may include submodules such as a reference line generator 401, a lateral displacement distance determiner 402, a trajectory generator 403, a hash map determiner 404, a route request receiver 405, a timestamp generator 406, a lane boundary determiner 407, and a target / cost function determiner 408. Some or all of the modules 401-408 may be integrated into fewer modules or a single module.
[0052] Reference line generator 401 can generate reference lines for path planning in response to route requests. Reference lines can route ADVs from source locations to destination locations. Reference lines can correspond to the center of lanes taken by the route / reference line. Lateral displacement distance determiner 402 can determine distance values to laterally displace the center of the lane relative to part or all of the route by the distance value. Trajectory generator 403 can generate a path planning trajectory for controlling ADV. Hash map determiner 404 can determine a hash map that generates random values to laterally displace the trajectory by random values. Route request receiver 405 can receive a route request for routing ADVs from a starting location to a destination. Route requests can be received from an operator of the ADV, the ADV, or a server communicating with the ADV. Timestamp generator 406 can generate a timestamp for the route. For example, timestamp generator 406 can generate a timestamp based on the time when module 308 receives the route request. Lane boundary determiner 407 can determine lane boundaries (left and / or right) of a segment of the current route. Objective / cost function determination 408 can determine an objective / cost function for generating a path planning trajectory.
[0053] Figure 5 A top-down view of a lane segment for an ADV with a lateral displacement trajectory is shown according to one embodiment. Figure 4 The module 308 performs lateral displacement of the trajectory for the ADV 101. Figure 5 For one embodiment, an operator (not shown) of ADV 101 submits a route request to ADV 101 to plan a route to navigate ADV 101 from a current location to a destination location (not shown). Based on the route request, ADV 101 uses map and route data, such as Figure 3A The map and route data 311 are used to generate a reference line 501. The reference line 501 can connect the segments of the lanes for the planned route. The reference line 501 can be a smooth reference line generated by the routing module 307 or can be calculated based on the map geometry information of the side curbs and / or lane dividers / markers (such as the midpoint value traced along the lane) for the driving trajectory.
[0054] In one embodiment, the driving trajectory is represented by multiple segments or piecewise polynomials. In one embodiment, the piecewise polynomial is as follows:
[0055] l(s)=a i +b i ×s+c i ×s 2 +d i ×s 3 +e i ×s 4 +f i ×s 5 (0≤s≤si )
[0056] Where (s,l) is the station and lateral coordinates, a i ,…,f i are the coefficients of a fifth order piecewise polynomial, and i=0...n are used to represent the n piecewise polynomials of the spline. Note that the piecewise polynomial can be of any order depending on the route or road conditions.
[0057] In one embodiment, the ADV 101 determines the left lane boundary 502 and the right lane boundary 503 of the road / lane 500 for each lane segment along the planned route. Based on a set of constraints for the left and right lane boundaries 502-503 (e.g., when navigating along the lane, the ADV should not be within a threshold distance such as 10 cm from the boundary), the ADV can generate one or more driving trajectories constrained by the boundary conditions. The optimal trajectory is then selected as the driving trajectory.
[0058] In one embodiment, ADV 101 defines an objective / cost function for trajectory optimization. The constraints and objective function may be solved iteratively by an optimization algorithm, such as dynamic programming (DP) or quadratic programming (QP) or any other type of optimization algorithm.
[0059] In some embodiments, the objective function for path optimization includes a path cost function with multiple kernels, such as a smoothing cost kernel and a guidance cost kernel. In one embodiment, the centering cost is part of the guidance cost, and the centering cost can be linearly, exponentially, and / or quadratically proportional to the lateral shift / offset. An example objective / cost function with four kernels can be as follows:
[0060]
[0061] The kernels are in the order of first derivative smoothing, second derivative smoothing, third derivative smoothing, and guidance kernel, where (s, l) are the site and lateral coordinates, w1…w3 are weight factors for smoothing cost, w4 is a weight factor for guidance cost, l i (s) is the i-th piecewise polynomial, l ref (s) may be a reference line, and offset(s) is the lateral displacement / offset / shift applied to the track.
[0062] Here, the smoothing cost ensures piecewise polynomial smoothing up to the third order derivative. An additional guidance cost can apply a lateral displacement (or new lane center) to the generated trajectory.
[0063] refer to Figure 5In one embodiment, when no lateral displacement / offset is applied, the optimization of the objective function / constraint generates trajectory 511. In one embodiment, when a lateral displacement / offset is applied (for this example, a displacement / offset / shift of 16 centimeters is applied), the optimization of the objective function / constraint generates trajectory 512. Figure 5 , track 512 is displaced / offset to the right of track 511 by approximately 16 centimeters.
[0064] Figure 6 600 illustrates the generation of a random distance offset value based on a timestamp using a hash map. In one embodiment, ADV 101 timestamps a route request for a planned route when requested or when module 308 receives the route request. In one embodiment, the granularity of timestamp 601 is nanoseconds. Note that although nanosecond granularity is shown, other granularities are possible (microseconds, milliseconds, etc.).
[0065] In one embodiment, ADV 101 applies hashing 602 to timestamp 601. In one embodiment, hashing 602 includes hashing timestamp 601 using a hash function and distributing the hashed timestamp on a predetermined hash map 603. In one embodiment, the hash function may include a cyclic redundancy check (CRC), a message digest (MD), a secure hash algorithm, or any other type of hash function. The distribution of the hashed timestamp may include applying a remainder or mod function to the hashed timestamp.
[0066] refer to Figure 6 , an example of hash map 603 may include slots -20 to 20. A slot may represent a lateral offset distance in centimeters. In this case, an example timestamp in nanosecond format of 1593713461536968492 may be hashed and distributed to slot 16 of a possible range of -20 to 20 slots. Here, in this example, slot 16 represents a lateral displacement of 16 centimeters to the right of the center of the lane. The nature of the hash function will evenly distribute the lateral displacement values within the range of the hash map (e.g., -20 to 20 centimeter offset) over time. Evenly distributed lateral displacements allow for distributed tire damage caused to the road surface by ADV 101 and other ADVs. Although a -20 to 20 centimeter offset is shown as an example, other offset values are possible.
[0067] Figure 7 is a flow chart illustrating a method according to one embodiment. Process 700 may be performed by processing logic, which may include software, hardware, or a combination thereof. For example, process 700 may be performed by Figure 3A The lane center module 308 is executed. Figure 7At box 701, processing logic generates a reference line to navigate the ADV from a starting location (e.g., a current location) to a destination location. At box 702, processing logic determines a lateral displacement distance value that displaces the lane center of the reference line. At box 703, processing logic generates a displacement trajectory based on the lateral displacement distance value using the reference line. At box 704, processing logic controls the ADV based on the displacement trajectory to navigate the ADV.
[0068] In one embodiment, the processing logic also sends a route request to request a route from the starting location to the destination location, wherein the lateral displacement distance value is randomly determined based on a timestamp of the route request. In one embodiment, the processing logic also hashes the route request timestamp using a hash function and distributes the hashed route request timestamp across a hash map to determine the lateral displacement distance value.
[0069] In one embodiment, distributing includes applying a modulo operation to the hashed routing request timestamps to distribute the hashed routing request timestamps across the hash map. In one embodiment, the hash map includes a predetermined number of slots representing a range of distance displacement values, wherein each slot represents a distance displacement value within the range of distance displacement values.
[0070] In one embodiment, a trajectory of displacements is generated based on a path planning objective function, wherein the path planning objective function includes a cost for centering the trajectory on a reference line. In one embodiment, the processing logic further determines a first distance from the reference line to a left lane boundary and a second distance from the reference line to a right lane boundary, wherein the path planning objective function is constrained by the first and second distances to keep the ADV a threshold distance from the left lane boundary and the right lane boundary.
[0071] Note that some or all of the components shown and described above may be implemented in software, hardware, or a combination thereof. For example, these components may be implemented as software installed and stored in a permanent storage device, which may be loaded and executed in a memory by a processor (not shown) to perform the processes or operations described throughout the present application. Alternatively, these components may be implemented as executable code programmed or embedded into dedicated hardware, such as an integrated circuit (e.g., a dedicated IC or ASIC), a digital signal processor (DSP), or a field programmable gate array (FPGA), which may be accessed via a corresponding driver and / or operating system from an application. In addition, these components may be implemented as specific hardware logic in a processor or processor core as part of an instruction set accessible via one or more specific instruction software components.
[0072] Some portions of the foregoing detailed description have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of operations leading to a desired result. The operations are those requiring physical manipulations of physical quantities.
[0073] It should be remembered, however, that all of these and similar terms are associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless otherwise stated, as will be apparent from the above discussion, it should be understood that throughout the specification, discussions using terms such as those set forth in the appended claims refer to the actions and processes of a computer system or similar electronic computing device that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system's memories or registers or other such information storage, transmission or display devices.
[0074] Embodiments of the present disclosure also relate to devices for performing the operations herein. Such a computer program is stored in a non-transitory computer-readable medium. A machine-readable medium includes any medium for storing information in a form readable by a machine (e.g., a computer). For example, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., computer) readable storage medium (e.g., a read-only memory ("ROM"), a random access memory ("RAM"), a disk storage medium, an optical storage medium, a flash memory device).
[0075] The processes or methods described in the foregoing figures may be performed by processing logic including hardware (e.g., circuits, dedicated logic, etc.), software (e.g., embodied on a non-transitory computer-readable medium), or a combination of both. Although the processes or methods are described above in terms of some sequential operations, it should be understood that some of the operations described may be performed in a different order. In addition, some operations may be performed in parallel rather than sequentially.
[0076] The embodiments of the present disclosure are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the embodiments of the present disclosure as described herein.
[0077] In the foregoing description, embodiments of the present disclosure have been described with reference to specific exemplary embodiments of the present disclosure. Obviously, various modifications may be made thereto without departing from the broader spirit and scope of the present disclosure as set forth in the appended claims. Therefore, the description and the accompanying drawings should be considered illustrative rather than restrictive.
Claims
1. A method of operating an autonomous vehicle (ADV), the method comprising: generating a routing request requesting a route from the originating location to the destination location, and recording a timestamp indicating a time when the routing request was generated; generating a reference line for navigating the ADV from a starting location to a destination location; Use a hash function to hash the timestamp of the routing request; distributing the hashed route request timestamps across a hash map to determine a lateral displacement distance value that displaces a lane center of a reference line, wherein the hash map includes a predetermined number of slots representing a range of distance displacement values, wherein each slot represents a range of distance displacement values within the range of distance displacement values, and wherein a property of the hash function will evenly distribute the lateral displacement distance values over time within the range of the hash map; Generate a displacement trajectory based on the lateral displacement distance value using a reference line; as well as The ADV is controlled based on the displacement trajectory to navigate the ADV.
2. The method according to claim 1, wherein: The distribution includes applying a modulo operation to the hashed timestamps to distribute the hashed timestamps across the hash map.
3. The method according to claim 1, wherein: A trajectory of displacements is generated based on a path planning objective function, wherein the path planning objective function includes a cost for adjusting the trajectory with respect to a reference line.
4. The method according to claim 1, further comprising: determining a first distance from the reference line to the left lane boundary and a second distance from the reference line to the right lane boundary, The path planning objective function is constrained by the first distance and the second distance to keep the ADV at a threshold distance from the left lane boundary and the right lane boundary.
5. A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor cause the processor to perform the method of any one of claims 1-4.
6. A data processing system comprising: processor; as well as A memory coupled to the processor, for storing instructions, wherein when the instructions are executed by the processor, the processor is caused to perform the method according to any one of claims 1 to 4.
7. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method according to any one of claims 1 to 4.
