Hey,
I am trying to test my implementation on survival scenarios.
To do this, I use the tutorial notebooks and switch out the scenario. (e.g. to ‘ZAM_Tutorial-1_2_T-2’)
When I try to initialize the MoitionPlanner, I get an IndexError:
~/Desktop/commonroad-search/tutorials/1_search_algorithms/../../SMP/motion_planner/search_algorithms/base_class.py in parse_planning_problem(self)
118 # get lanelet id of the goal region, which can be of different types
119 self.list_ids_lanelets_goal = None
--> 120 if hasattr(self.planningProblem.goal.state_list[0], 'position'):
121 if hasattr(self.planningProblem.goal.state_list[0].position, 'center'):
122 self.list_ids_lanelets_goal = self.scenario.lanelet_network.find_lanelet_by_position(
IndexError: list index out of range
Do I have to change something to test survival scenarios? The error does not seem to have anything to do with my implementation in student.py. Also, how many of the 500 scenarios are survival scenarios?
Thanks in advance.