Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeferguson committed Jun 10, 2024
1 parent 562accb commit 2825f4d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions image_publisher/src/image_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,8 @@ ImagePublisher::ImagePublisher(const rclcpp::NodeOptions & options)
auto param_change_callback =
[this](std::vector<rclcpp::Parameter> parameters) -> rcl_interfaces::msg::SetParametersResult
{
<<<<<<< HEAD
RCLCPP_INFO(get_logger(), "param_change_callback");
=======
bool call_init = false;
bool call_reconfigure = false;
>>>>>>> 847920b ([rolling] image_publisher: Fix loading of the camera info parameters on startup (#983))

auto result = rcl_interfaces::msg::SetParametersResult();
result.successful = true;
Expand Down Expand Up @@ -103,11 +99,8 @@ ImagePublisher::ImagePublisher(const rclcpp::NodeOptions & options)
call_reconfigure = true;
} else if (parameter.get_name() == "camera_info_url") {
camera_info_url_ = parameter.as_string();
RCLCPP_INFO(get_logger(), "Reset camera_info_rul as '%s'", camera_info_url_.c_str());
<<<<<<< HEAD
=======
RCLCPP_INFO(get_logger(), "Reset camera_info_url as '%s'", camera_info_url_.c_str());
call_reconfigure = true;
>>>>>>> 847920b ([rolling] image_publisher: Fix loading of the camera info parameters on startup (#983))
}
}
// reconfigureCallback() is called within onInit() so there is no need to call it twice
Expand Down

0 comments on commit 2825f4d

Please sign in to comment.