Skip to content

Commit 0a0e571

Browse files
committed
fix(bpp): don't remove rtc cooperate status
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1 parent 96920b5 commit 0a0e571

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

planning/behavior_path_avoidance_module/include/behavior_path_avoidance_module/scene.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ class AvoidanceModule : public SceneModuleInterface
365365
if (!path_shifter_.getShiftLines().empty()) {
366366
left_shift_array_.clear();
367367
right_shift_array_.clear();
368-
removeRTCStatus();
369368
}
370369

371370
generator_.reset();

planning/behavior_path_avoidance_module/src/scene.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,6 @@ void AvoidanceModule::updateData()
12831283
void AvoidanceModule::processOnEntry()
12841284
{
12851285
initVariables();
1286-
removeRTCStatus();
12871286
}
12881287

12891288
void AvoidanceModule::processOnExit()

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)