generated from wessel/boilerplate
chore(imu_position_approximator): Rename subscription -> subscriber
This commit is contained in:
@@ -23,12 +23,12 @@ IMUPositionApproximator::IMUPositionApproximator()
|
||||
x_, y_, z_, theta_);
|
||||
|
||||
|
||||
imu_subscription_ = this->create_subscription<sensor_msgs::msg::Imu>(
|
||||
imu_subscriber_ = this->create_subscription<sensor_msgs::msg::Imu>(
|
||||
imu_topic_, 10,
|
||||
std::bind(&IMUPositionApproximator::imu_callback, this, std::placeholders::_1)
|
||||
);
|
||||
|
||||
position_reset_subscription_ = this->create_subscription<geometry_msgs::msg::Pose2D>(
|
||||
position_reset_subscriber_ = this->create_subscription<geometry_msgs::msg::Pose2D>(
|
||||
"position_reset", 10,
|
||||
std::bind(&IMUPositionApproximator::position_reset_callback, this, std::placeholders::_1)
|
||||
);
|
||||
|
||||
@@ -18,8 +18,8 @@ public:
|
||||
IMUPositionApproximator();
|
||||
|
||||
private:
|
||||
rclcpp::Subscription<sensor_msgs::msg::Imu>::SharedPtr imu_subscription_;
|
||||
rclcpp::Subscription<geometry_msgs::msg::Pose2D>::SharedPtr position_reset_subscription_;
|
||||
rclcpp::Subscription<sensor_msgs::msg::Imu>::SharedPtr imu_subscriber_;
|
||||
rclcpp::Subscription<geometry_msgs::msg::Pose2D>::SharedPtr position_reset_subscriber_;
|
||||
rclcpp::Publisher<geometry_msgs::msg::Pose2D>::SharedPtr position_publisher_;
|
||||
rclcpp::Publisher<geometry_msgs::msg::Twist>::SharedPtr velocity_publisher_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user