Skip to content

Commit 03843fd

Browse files
committed
Revert "feat(behavior_path_planner_common): update RTC state to SUCCEEDED (autowarefoundation#7119)"
This reverts commit cb905cc.
1 parent 049e9dc commit 03843fd

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

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

-16
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747

4848
#include <algorithm>
4949
#include <any>
50-
#include <limits>
5150
#include <memory>
5251
#include <string>
5352
#include <unordered_map>
@@ -187,10 +186,6 @@ class SceneModuleInterface
187186
{
188187
RCLCPP_DEBUG(getLogger(), "%s %s", name_.c_str(), __func__);
189188

190-
if (getCurrentStatus() == ModuleStatus::SUCCESS) {
191-
updateRTCStatusForSuccess();
192-
}
193-
194189
clearWaitingApproval();
195190
removeRTCStatus();
196191
publishRTCStatus();
@@ -518,17 +513,6 @@ class SceneModuleInterface
518513
}
519514
}
520515

521-
void updateRTCStatusForSuccess()
522-
{
523-
for (const auto & [module_name, ptr] : rtc_interface_ptr_map_) {
524-
if (ptr) {
525-
ptr->updateCooperateStatus(
526-
uuid_map_.at(module_name), true, State::SUCCEEDED, std::numeric_limits<double>::lowest(),
527-
std::numeric_limits<double>::lowest(), clock_->now());
528-
}
529-
}
530-
}
531-
532516
void setObjectsOfInterestData(
533517
const geometry_msgs::msg::Pose & obj_pose,
534518
const autoware_auto_perception_msgs::msg::Shape & obj_shape, const ColorName & color_name)

0 commit comments

Comments
 (0)