Skip to content

Commit

Permalink
Small name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dat-Bois committed Jul 19, 2024
1 parent 3aa0798 commit a44cabb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/combine_lidar/combine_livox.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CombineLivox : public rclcpp::Node
rclcpp::TimerBase::SharedPtr timer_;
rclcpp::CallbackGroup::SharedPtr left_group;
rclcpp::CallbackGroup::SharedPtr right_group;
rclcpp::Subscription<PointCloud2>::SharedPtr left_cloud_sub;
rclcpp::Subscription<PointCloud2>::SharedPtr left_cloud_sub_;
rclcpp::Subscription<PointCloud2>::SharedPtr right_cloud_sub_;
rclcpp::Publisher<PointCloud2>::SharedPtr combined_cloud_pub_;
rclcpp::Publisher<std_msgs::msg::String>::SharedPtr comb_lidar_status_pub_;
Expand Down
2 changes: 1 addition & 1 deletion src/combine_livox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ CombineLivox::CombineLivox()
auto rightopts = rclcpp::SubscriptionOptions();
rightopts.callback_group = right_group;

left_cloud_sub = this->create_subscription<PointCloud2>(left_cloud_topic, 10, left_PointCloud2Callback, leftopts);
left_cloud_sub_ = this->create_subscription<PointCloud2>(left_cloud_topic, 10, left_PointCloud2Callback, leftopts);
right_cloud_sub_ = this->create_subscription<PointCloud2>(right_cloud_topic, 10, right_PointCloud2Callback, rightopts);
combined_cloud_pub_ = this->create_publisher<PointCloud2>(combined_cloud_topic, 10);
comb_lidar_status_pub_ = this->create_publisher<std_msgs::msg::String>("comb_lidar_status", 10);
Expand Down

0 comments on commit a44cabb

Please sign in to comment.