Skip to content
Prev Previous commit
Next Next commit
Remove new_goal_received from blackboard
  • Loading branch information
naiveHobo committed May 19, 2020
commit 363f97403e444b7d7208d78ba7b0167a9945e50f
4 changes: 0 additions & 4 deletions nav2_bt_navigator/src/bt_navigator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,6 @@ BtNavigator::navigateToPose()
RCLCPP_INFO(get_logger(), "Received goal preemption request");
action_server_->accept_pending_goal();
initializeGoalPose();
blackboard_->set<bool>("new_goal_received", true);
} else {
blackboard_->set<bool>("new_goal_received", false);
}
topic_logger.flush();

Expand Down Expand Up @@ -301,7 +298,6 @@ BtNavigator::initializeGoalPose()

// Update the goal pose on the blackboard
blackboard_->set("goal", goal->pose);
blackboard_->set<bool>("new_goal_received", true);
}

void
Expand Down