Skip to content

Commit 93243e0

Browse files
authored
fix(bpp, bvp): keep rtc cooperate status even after manager stops module execution (autowarefoundation#7032)
* feat(rtc_interface): add new function to remove old status Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(bpp): don't remove rtc cooperate status Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(bvp): don't remove rtc cooperate status Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1 parent e594514 commit 93243e0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

planning/behavior_path_planner_common/include/behavior_path_planner_common/interface/scene_module_interface.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ class SceneModuleInterface
187187
RCLCPP_DEBUG(getLogger(), "%s %s", name_.c_str(), __func__);
188188

189189
clearWaitingApproval();
190-
removeRTCStatus();
191190
unlockNewModuleLaunch();
192191
unlockOutputPath();
193192
steering_factor_interface_ptr_->clearSteeringFactors();

planning/behavior_path_planner_common/include/behavior_path_planner_common/interface/scene_module_manager_interface.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ class SceneModuleManagerInterface
103103
{
104104
for (const auto & [module_name, ptr] : rtc_interface_ptr_map_) {
105105
if (ptr) {
106+
ptr->removeExpiredCooperateStatus();
106107
ptr->publishCooperateStatus(rclcpp::Clock(RCL_ROS_TIME).now());
107108
}
108109
}

0 commit comments

Comments
 (0)