From 5b25708669b97aa5c6912528d10818d25cc3d0e7 Mon Sep 17 00:00:00 2001 From: robertik10 Date: Thu, 25 Jan 2024 19:06:31 +0100 Subject: [PATCH] fix: test --- code/planning/src/behavior_agent/behaviours/lane_change.py | 2 +- code/planning/src/local_planner/collision_check.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/planning/src/behavior_agent/behaviours/lane_change.py b/code/planning/src/behavior_agent/behaviours/lane_change.py index 4433cc2e..1a3b7015 100755 --- a/code/planning/src/behavior_agent/behaviours/lane_change.py +++ b/code/planning/src/behavior_agent/behaviours/lane_change.py @@ -70,7 +70,7 @@ def initialise(self): self.change_detected = False self.change_distance = np.inf self.virtual_change_distance = np.inf - self.curr_behavior_pub.publish(bs.lc_init.name) + self.curr_behavior_pub.publish(bs.lc_app_init.name) def update(self): """ diff --git a/code/planning/src/local_planner/collision_check.py b/code/planning/src/local_planner/collision_check.py index 7091bdcd..53146d2d 100755 --- a/code/planning/src/local_planner/collision_check.py +++ b/code/planning/src/local_planner/collision_check.py @@ -41,7 +41,7 @@ def __init__(self): # Publisher for emergency stop self.emergency_pub = self.new_publisher( Bool, - f"/paf/{self.role_name}/emergency_deactivated", + f"/paf/{self.role_name}/emergency", qos_profile=1) # Publisher for distance to collision self.collision_pub = self.new_publisher(