File tree Expand file tree Collapse file tree
GEMstack/onboard/interface Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 'bicyclist' : (1.8 ,0.5 ,1.6 ),
2020 'car' : (4.0 ,2.5 ,1.4 ),
2121 'medium_truck' : (6.0 ,2.5 ,3.0 ),
22- 'large_truck' : (10.0 ,2.5 ,3.5 )
22+ 'large_truck' : (10.0 ,2.5 ,3.5 ),
23+ 'cone' : (0.5 ,0.5 ,1.0 )
2324}
2425
2526AGENT_TYPE_TO_ENUM = {
2627 'pedestrian' : AgentEnum .PEDESTRIAN ,
2728 'bicyclist' : AgentEnum .BICYCLIST ,
2829 'car' : AgentEnum .CAR ,
2930 'medium_truck' : AgentEnum .MEDIUM_TRUCK ,
30- 'large_truck' : AgentEnum .LARGE_TRUCK
31+ 'large_truck' : AgentEnum .LARGE_TRUCK ,
32+ 'cone' : AgentEnum .CONE
3133}
3234
3335AGENT_NOMINAL_VELOCITY = {
3436 'pedestrian' : 1.5 ,
3537 'bicyclist' : 5.0 ,
3638 'car' : 20.0 ,
3739 'medium_truck' : 15.0 ,
38- 'large_truck' : 10.0
40+ 'large_truck' : 10.0 ,
41+ 'cone' : 0.0
3942}
4043
4144AGENT_NOMINAL_ACCELERATION = {
4245 'pedestrian' : 2.0 ,
4346 'bicyclist' : 2.0 ,
4447 'car' : 5.0 ,
4548 'medium_truck' : 3.0 ,
46- 'large_truck' : 2.0
49+ 'large_truck' : 2.0 ,
50+ 'cone' : 0.0
4751}
4852
4953class AgentSimulation :
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ variants:
9292 type : gem_simulator.GEMDoubleIntegratorSimulationInterface
9393 args :
9494 scene : !relative_path '../scenes/parking_demo.yaml'
95- # visualization: !include "klampt_visualization.yaml"
95+ visualization : !include "klampt_visualization.yaml"
9696
9797 drive :
9898 perception :
@@ -114,6 +114,31 @@ variants:
114114 parking_detection : parking_detection.ParkingSpotsDetector3D
115115 perception_normalization : StandardPerceptionNormalizer
116116
117+ planning :
118+ parking_component :
119+ type : ParkingSim
120+ route_planning_component :
121+ type : RoutePlanningComponent
122+
123+ trajectory_tracking :
124+ type : pure_pursuit.PurePursuitTrajectoryTracker
125+ print : True
126+
127+ fake_sim : # full pipeline w/ fake perception
128+ run :
129+ mode : simulation
130+ vehicle_interface :
131+ type : gem_simulator.GEMDoubleIntegratorSimulationInterface
132+ args :
133+ scene : !relative_path '../scenes/parking_demo.yaml'
134+ visualization : !include "klampt_visualization.yaml"
135+
136+ drive :
137+ perception :
138+ state_estimation : OmniscientStateEstimator
139+ agent_detection : OmniscientAgentDetector
140+
141+
117142 planning :
118143 parking_component :
119144 type : ParkingSim
You can’t perform that action at this time.
0 commit comments