diff --git a/code/planning/launch/planning.launch b/code/planning/launch/planning.launch index 354b8d65..7437344e 100644 --- a/code/planning/launch/planning.launch +++ b/code/planning/launch/planning.launch @@ -16,13 +16,13 @@ - + diff --git a/code/planning/src/global_planner/global_planner.py b/code/planning/src/global_planner/global_planner.py index 361ab5b5..10cf33ed 100755 --- a/code/planning/src/global_planner/global_planner.py +++ b/code/planning/src/global_planner/global_planner.py @@ -78,7 +78,7 @@ def __init__(self): self.logdebug('PrePlanner-Node started') # uncomment for self.dev_load_world_info() for dev_launch - self.dev_load_world_info() + # self.dev_load_world_info() def global_route_callback(self, data: CarlaRoute) -> None: """ diff --git a/code/planning/src/local_planner/motion_planning.py b/code/planning/src/local_planner/motion_planning.py index deeb9b84..e54ba208 100755 --- a/code/planning/src/local_planner/motion_planning.py +++ b/code/planning/src/local_planner/motion_planning.py @@ -132,6 +132,7 @@ def __init__(self): Int16, f"/paf/{self.role_name}/Center/traffic_light_y_distance", self.__set_traffic_y_distance, + qos_profile=1) self.unstuck_distance_sub: Subscriber = self.new_subscription( Float32, f"/paf/{self.role_name}/unstuck_distance",