-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port IdmPlannerParameters to use named_vector defaults
- Loading branch information
1 parent
0e15548
commit 0219cd8
Showing
3 changed files
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,51 @@ | ||
# The default values contained below are from: | ||
# https://en.wikipedia.org/wiki/Intelligent_driver_model | ||
element { | ||
name: "v_ref" | ||
doc: "desired velocity in free traffic" | ||
doc_units: "m/s" | ||
default_value: "10.0" | ||
} | ||
element { | ||
name: "a" | ||
doc: "max acceleration" | ||
doc_units: "m/s^2" | ||
default_value: "1.0" | ||
} | ||
element { | ||
name: "b" | ||
doc: "comfortable braking deceleration" | ||
doc_units: "m/s^2" | ||
default_value: "3.0" | ||
} | ||
element { | ||
name: "s_0" | ||
doc: "minimum desired net distance" | ||
doc_units: "m" | ||
default_value: "1.0" | ||
} | ||
element { | ||
name: "time_headway" | ||
doc: "desired time headway to vehicle in front" | ||
doc_units: "s" | ||
default_value: "0.1" | ||
} | ||
element { | ||
name: "delta" | ||
doc: "free-road exponent" | ||
doc_units: "dimensionless" | ||
default_value: "4.0" | ||
} | ||
element { | ||
name: "bloat_diameter" | ||
doc: "diameter of circle about the vehicle's pose that encloses its physical footprint" | ||
doc_units: "m" | ||
default_value: "4.5" | ||
# TODO(jadecastro): replace with vehicle geometry. | ||
} | ||
element { | ||
name: "distance_lower_limit" | ||
doc: "lower saturation bound on net distance to prevent near-singular IDM solutions" | ||
doc_units: "m" | ||
default_value: "1e-2" | ||
} |