Skip to content
Snippets Groups Projects
Commit 96df8e27 authored by sacardoz's avatar sacardoz
Browse files

comments

parent fad8b173
No related branches found
No related tags found
2 merge requests!21Major changes. convert nuplan devkit to handle occlusions for project,!8Shea multiagent rules
......@@ -7,6 +7,7 @@ occlusions: false # Boolean to determine whether occlusions should be enabled
planner_type: "ml" # String to determine planner type (one of "ml", "idm", "pdm_closed", "pdm_hybrid")
pdm_hybrid_ckpt: null # Path to trained PDM hybrid model checkpoint
# These defaults are taken from two_stage_controller.yaml
tracker:
_target_: nuplan.planning.simulation.controller.tracker.lqr.LQRTracker
_convert_: 'all'
......
......@@ -46,6 +46,8 @@ OPEN_LOOP_DETECTION_TYPES = [TrackedObjectType.PEDESTRIAN, TrackedObjectType.BIC
TrackedObjectType.CZONE_SIGN, TrackedObjectType.BARRIER, \
TrackedObjectType.TRAFFIC_CONE, TrackedObjectType.GENERIC_OBJECT]
# Taken from idm_planner.yaml
IDM_AGENT_CONFIG = {
"target_velocity": 10, # Desired velocity in free traffic [m/s]
"min_gap_to_lead_agent": 1.0, # Minimum relative distance to lead vehicle [m]
......@@ -57,7 +59,7 @@ IDM_AGENT_CONFIG = {
"occupancy_map_radius": 40, # The range around the ego to add objects to be considered [m]
}
# Taken from pdm_closed_planner.yaml in the TuPlan code
PDM_CLOSED_AGENT_CONFIG = {
"trajectory_sampling": TrajectorySampling(num_poses=80, interval_length= 0.1),
"proposal_sampling": TrajectorySampling(num_poses=40, interval_length= 0.1),
......@@ -74,6 +76,7 @@ PDM_BATCH_IDM_CONFIG = {
"decel_max":3.0
}
# Taken from pdm_hybrid_planner.yaml in the TuPlan code
PDM_OFFSET_MODEL_CONFIG = {
"trajectory_sampling": TrajectorySampling(num_poses=16, interval_length=0.5),
"history_sampling": TrajectorySampling(num_poses=10, interval_length=0.2),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment