Skip to content

Instantly share code, notes, and snippets.

View arshadlab's full-sized avatar

Arshad Mehmood arshadlab

View GitHub Profile
@arshadlab
arshadlab / gist:fe6321824ca8a25a4d69cf522f3d094f
Created June 6, 2022 09:47
Fix for lifecycle cli status for global & local costmap nodes
diff --git a/nav2_controller/src/nav2_controller.cpp b/nav2_controller/src/nav2_controller.cpp
index dd938c4d..e72ed3ef 100644
--- a/nav2_controller/src/nav2_controller.cpp
+++ b/nav2_controller/src/nav2_controller.cpp
@@ -67,7 +67,7 @@ ControllerServer::~ControllerServer()
}
nav2_util::CallbackReturn
-ControllerServer::on_configure(const rclcpp_lifecycle::State & state)
+ControllerServer::on_configure(const rclcpp_lifecycle::State & /*state*/)