Hi, I used the global planner to plan the route for the scenarios from NuPlan Graph Dataset: Boston, but an error occurred as
File "/home/jidan/irl_planner/src/commonroad_interface/global_planner.py", line 50, in plan_global_route
route = candidate_holder.retrieve_best_route_by_orientation()
File "/home/jidan/anaconda3/envs/cr/lib/python3.10/site-packages/commonroad_route_planner/route.py", line 394, in retrieve_best_route_by_orientation
list_ids_lanelets_goal_sorted = sort_lanelet_ids_by_goal(self.lanelet_network, self.goal_region)
File "/home/jidan/anaconda3/envs/cr/lib/python3.10/site-packages/commonroad_route_planner/utility/route.py", line 193, in sort_lanelet_ids_by_goal
return sort_lanelet_ids_by_orientation(lanelet_network.find_lanelet_by_shape(goal_shape), goal_orientation,
File "/home/jidan/anaconda3/envs/cr/lib/python3.10/site-packages/commonroad/scenario/lanelet.py", line 1566, in find_lanelet_by_shape
return [self._get_lanelet_id_by_shapely_polygon(lanelet_shapely_polygon) for lanelet_shapely_polygon in
File "/home/jidan/anaconda3/envs/cr/lib/python3.10/site-packages/commonroad/scenario/lanelet.py", line 1567, in <listcomp>
self._strtee.query(shape.shapely_object) if lanelet_shapely_polygon.intersects(shape.shapely_object)]
AttributeError: 'numpy.int64' object has no attribute 'intersects'
But this planner worked well with scenarios like those begin with ‘DEU’. Can someone help with this? Thank you!