You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(map_based_prediction): prediction with acc constraints (#5960)
* WIP add acc constraints to discard paths
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* Add lat acc constraints to predicted paths
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* Delete debug print
Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
* delete unused var
Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
* delete unused var
Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
* WIP
Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
* make lat acc calculation with yaw rate
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* eliminate debug prints
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* delete unused variable
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* refactor rename function
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* keep a copy of the straightest path in case all paths are cleared
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* refactor and add constraints check parameter
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* update documentation
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* add braces for readability (style guide)
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
* fix review issues
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
---------
Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
Copy file name to clipboardexpand all lines: perception/map_based_prediction/README.md
+19-1
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ Lane change logics is illustrated in the figure below.An example of how to tune
66
66
67
67
### Tuning lane change detection logic
68
68
69
-
Currently we provide two parameters to tune lane change detection:
69
+
Currently we provide three parameters to tune lane change detection:
70
70
71
71
-`dist_threshold_to_bound_`: maximum distance from lane boundary allowed for lane changing vehicle
72
72
-`time_threshold_to_bound_`: maximum time allowed for lane change vehicle to reach the boundary
@@ -124,6 +124,24 @@ See paper [2] for more details.
124
124
125
125
`lateral_control_time_horizon` parameter supports the tuning of the lateral path shape. This parameter is used to calculate the time to reach the reference path. The smaller the value, the more the path will be generated to reach the reference path quickly. (Mostly the center of the lane.)
126
126
127
+
#### Pruning predicted paths with lateral acceleration constraint
128
+
129
+
It is possible to apply a maximum lateral acceleration constraint to generated vehicle paths. This check verifies if it is possible for the vehicle to perform the predicted path without surpassing a lateral acceleration threshold `max_lateral_accel` when taking a curve. If it is not possible, it checks if the vehicle can slow down on time to take the curve with a deceleration of `min_acceleration_before_curve` and comply with the constraint. If that is also not possible, the path is eliminated.
130
+
131
+
Currently we provide three parameters to tune the lateral acceleration constraint:
132
+
133
+
-`check_lateral_acceleration_constraints_`: to enable the constraint check.
134
+
-`max_lateral_accel_`: max acceptable lateral acceleration for predicted paths (absolute value).
135
+
-`min_acceleration_before_curve_`: the minimum acceleration the vehicle would theoretically use to slow down before a curve is taken (must be negative).
136
+
137
+
You can change these parameters in rosparam in the table below.
This module treats **Pedestrians** and **Bicycles** as objects using the crosswalk, and outputs prediction path based on map and estimated object's velocity, assuming the object has intention to cross the crosswalk, if the objects satisfies at least one of the following conditions:
0 commit comments