Skip to content

Commit

Permalink
refactor(behavior_path_planner): align processing time topic name (au…
Browse files Browse the repository at this point in the history
…towarefoundation#5281)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
  • Loading branch information
satoshi-ota authored and TakaHoribe committed Oct 13, 2023
1 parent 8de1b13 commit 9a116ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions planning/behavior_path_planner/src/planner_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ PlannerManager::PlannerManager(rclcpp::Node & node, const bool verbose)
verbose_{verbose}
{
processing_time_.emplace("total_time", 0.0);
debug_publisher_ptr_ = std::make_unique<DebugPublisher>(&node, "behavior_planner_manager/debug");
debug_publisher_ptr_ = std::make_unique<DebugPublisher>(&node, "~/debug");
}

BehaviorModuleOutput PlannerManager::run(const std::shared_ptr<PlannerData> & data)
Expand Down Expand Up @@ -894,7 +894,7 @@ void PlannerManager::print() const
void PlannerManager::publishProcessingTime() const
{
for (const auto & t : processing_time_) {
std::string name = std::string("processing_time/") + t.first;
std::string name = t.first + std::string("/processing_time_ms");
debug_publisher_ptr_->publish<DebugDoubleMsg>(name, t.second);
}
}
Expand Down

0 comments on commit 9a116ba

Please sign in to comment.