Skip to content

Commit c2493b1

Browse files
missed
1 parent 6ec4a93 commit c2493b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nav2_planner/src/planner_server.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ PlannerServer::on_configure(const rclcpp_lifecycle::State & state)
9090
RCLCPP_INFO(get_logger(), "Configuring");
9191

9292
costmap_ros_->configure();
93+
no_waiting_costmap_ros_->configure();
9394
costmap_ = costmap_ros_->getCostmap();
9495

9596
if (!costmap_ros_->getUseRadius()) {
@@ -192,6 +193,7 @@ PlannerServer::on_activate(const rclcpp_lifecycle::State & /*state*/)
192193
plan_publisher_->on_activate();
193194
action_server_pose_->activate();
194195
action_server_poses_->activate();
196+
no_waiting_costmap_ros_->activate();
195197
const auto costmap_ros_state = costmap_ros_->activate();
196198
if (costmap_ros_state.id() != lifecycle_msgs::msg::State::PRIMARY_STATE_ACTIVE) {
197199
return nav2_util::CallbackReturn::FAILURE;

0 commit comments

Comments
 (0)