@@ -36,12 +36,12 @@ def __init__(self, vehicle=None, obstacles=None, actions=None):
3636 self ._vehicle = None
3737
3838 # settings
39- self .T = settings .get ("run.drive.planning.route_planning_component .dubins.integrator.time_step" , 1.5 )
40- self .dt = settings .get ("run.drive.planning.route_planning_component .dubins.integrator.dt" , .25 )
41- self .max_v = settings .get ("run.drive.planning.route_planning_component .dubins.actions.max_velocity" , 0.75 )
42- self .max_turn_rate = settings .get ("run.drive.planning.route_planning_component .dubins.actions.max_turn_rate" , 0.3 )
43- self .tolerance = settings .get ("run.drive.planning.route_planning_component .dubins.tolerance" , 0.5 )
44- self .heuristic_string = settings .get ("run.drive.planning.route_planning_component .astar.heuristic" , "reeds_shepp" )
39+ self .T = settings .get ("run.drive.planning._route_planner .dubins.integrator.time_step" , 1.5 )
40+ self .dt = settings .get ("run.drive.planning._route_planner .dubins.integrator.dt" , .25 )
41+ self .max_v = settings .get ("run.drive.planning._route_planner .dubins.actions.max_velocity" , 0.75 )
42+ self .max_turn_rate = settings .get ("run.drive.planning._route_planner .dubins.actions.max_turn_rate" , 0.3 )
43+ self .tolerance = settings .get ("run.drive.planning._route_planner .dubins.tolerance" , 0.5 )
44+ self .heuristic_string = settings .get ("run.drive.planning._route_planner .astar.heuristic" , "reeds_shepp" )
4545
4646 self .vehicle = DubinsCar () #x = (tx,ty,theta) and u = (fwd_velocity,turnRate).
4747 self .vehicle_sim = DubinsCarIntegrator (self .vehicle , self .T , self .dt )
@@ -255,7 +255,7 @@ def __init__(self):
255255 # self.planner = ParkingSolverSecondOrderDubins()
256256 self .planner = ParkingSolverFirstOrderDubins ()
257257
258- self .iterations = settings .get ("run.drive.planning.route_planning_component .astar.iterations" , 200 )
258+ self .iterations = settings .get ("run.drive.planning._route_planner .astar.iterations" , 200 )
259259
260260 def state_inputs (self ):
261261 return ['all' ]
@@ -335,7 +335,7 @@ def update(self, state : AllState) -> Route:
335335 all_obstacles = {** agents , ** obstacles }
336336 # print(f"Obstacles {obstacles}")
337337 print (f"Agents { agents } " )
338- goal_pose = state .goal
338+ goal_pose = state .parking_goal
339339 assert goal_pose .frame == ObjectFrameEnum .CURRENT
340340 print ("Checking VALUE: " , state .start_vehicle_pose )
341341 print ("Checking VALUE: " , state .vehicle )
0 commit comments