Skip to content

Commit

Permalink
fix typo (#2481)
Browse files Browse the repository at this point in the history
  • Loading branch information
MishkaMN authored Jan 10, 2025
1 parent 1317881 commit 86e5732
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions carma_wm_ctrl/src/WMBroadcasterNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ void WMBroadcasterNode::initializeWorker(std::weak_ptr<carma_ros2_utils::CarmaLi

carma_ros2_utils::CallbackReturn WMBroadcasterNode::handle_on_configure(const rclcpp_lifecycle::State &)
{
RCLCPP_INFO_STREAM(rclcpp::get_logger("carma_mw_ctrl"),"Starting configuration!");
RCLCPP_INFO_STREAM(rclcpp::get_logger("carma_wm_ctrl"),"Starting configuration!");

// Reset config
config_ = Config();

initializeWorker(shared_from_this());

RCLCPP_INFO_STREAM(rclcpp::get_logger("carma_mw_ctrl"),"Done initializing worker!");
RCLCPP_INFO_STREAM(rclcpp::get_logger("carma_wm_ctrl"),"Done initializing worker!");

get_parameter<int>("ack_pub_times", config_.ack_pub_times);
get_parameter<double>("max_lane_width", config_.max_lane_width);
Expand All @@ -106,7 +106,7 @@ carma_ros2_utils::CallbackReturn WMBroadcasterNode::handle_on_configure(const rc

wmb_->setIntersectionCoordCorrection(config_.intersection_ids_for_correction, config_.intersection_coord_correction);

RCLCPP_INFO_STREAM(rclcpp::get_logger("carma_mw_ctrl"),"Done loading parameters: " << config_);
RCLCPP_INFO_STREAM(rclcpp::get_logger("carma_wm_ctrl"),"Done loading parameters: " << config_);

/////////////
// PUBLISHERS
Expand Down Expand Up @@ -212,4 +212,4 @@ bool WMBroadcasterNode::spin_callback()
#include "rclcpp_components/register_node_macro.hpp"

// Register the component with class_loader
RCLCPP_COMPONENTS_REGISTER_NODE(carma_wm_ctrl::WMBroadcasterNode)
RCLCPP_COMPONENTS_REGISTER_NODE(carma_wm_ctrl::WMBroadcasterNode)

0 comments on commit 86e5732

Please sign in to comment.