From 568ba4de769cad2cf866b06e99a16afa1af1a8a4 Mon Sep 17 00:00:00 2001 From: Carl Delsey <carl.r.delsey@intel.com> Date: Fri, 19 Oct 2018 11:11:29 -0700 Subject: [PATCH] Fixing linter failures in nav2_controller_dwb --- nav2_controller/nav2_controller_dwb/src/dwb_controller.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nav2_controller/nav2_controller_dwb/src/dwb_controller.cpp b/nav2_controller/nav2_controller_dwb/src/dwb_controller.cpp index 66b0f099..451b02ea 100644 --- a/nav2_controller/nav2_controller_dwb/src/dwb_controller.cpp +++ b/nav2_controller/nav2_controller_dwb/src/dwb_controller.cpp @@ -46,7 +46,8 @@ DwbController::execute(const nav2_tasks::FollowPathCommand::SharedPtr command) cm_ = std::make_shared<nav2_costmap_2d::Costmap2DROS>("local_costmap", tfBuffer_); auto nh = shared_from_this(); odom_sub_ = std::make_shared<nav_2d_utils::OdomSubscriber>(*this); - vel_pub_ = this->create_publisher<geometry_msgs::msg::Twist>("/mobile_base/commands/velocity", 1); + vel_pub_ = + this->create_publisher<geometry_msgs::msg::Twist>("/mobile_base/commands/velocity", 1); planner_.initialize(nh, shared_ptr<tf2_ros::Buffer>(&tfBuffer_), cm_); planner_.setPlan(path); RCLCPP_INFO(get_logger(), "Initialized"); -- GitLab