Skip to content
Snippets Groups Projects
Commit 568ba4de authored by Carl Delsey's avatar Carl Delsey
Browse files

Fixing linter failures in nav2_controller_dwb

parent 822ea0e5
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
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