Skip to content
Snippets Groups Projects
Commit 3a8846f9 authored by Steven Macenski's avatar Steven Macenski
Browse files

update navfn to specify itself

parent 53e1a31d
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,8 @@ NavfnPlanner::NavfnPlanner()
NavfnPlanner::~NavfnPlanner()
{
RCLCPP_INFO(node_->get_logger(), "Destroying plugin %s", name_.c_str());
RCLCPP_INFO(node_->get_logger(), "Destroying plugin %s of type NavfnPlanner",
name_.c_str());
}
void
......@@ -64,7 +65,8 @@ NavfnPlanner::configure(
costmap_ = costmap_ros->getCostmap();
global_frame_ = costmap_ros->getGlobalFrameID();
RCLCPP_INFO(node_->get_logger(), "Configuring plugin %s", name_.c_str());
RCLCPP_INFO(node_->get_logger(), "Configuring plugin %s of type NavfnPlanner",
name_.c_str());
// Initialize parameters
// Declare this plugin's parameters
......@@ -83,19 +85,22 @@ NavfnPlanner::configure(
void
NavfnPlanner::activate()
{
RCLCPP_INFO(node_->get_logger(), "Activating plugin %s", name_.c_str());
RCLCPP_INFO(node_->get_logger(), "Activating plugin %s of type NavfnPlanner",
name_.c_str());
}
void
NavfnPlanner::deactivate()
{
RCLCPP_INFO(node_->get_logger(), "Deactivating plugin %s", name_.c_str());
RCLCPP_INFO(node_->get_logger(), "Deactivating plugin %s of type NavfnPlanner",
name_.c_str());
}
void
NavfnPlanner::cleanup()
{
RCLCPP_INFO(node_->get_logger(), "Cleaning up plugin %s", name_.c_str());
RCLCPP_INFO(node_->get_logger(), "Cleaning up plugin %s of type NavfnPlanner",
name_.c_str());
planner_.reset();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment