Skip to content

Commit

Permalink
refactor(velodyne): Remove unused private variables from HW monitor
Browse files Browse the repository at this point in the history
Signed-off-by: Takahisa.Ishikawa <[email protected]>
  • Loading branch information
Takahisa.Ishikawa committed Feb 26, 2025
1 parent b38ac0a commit cd7d4fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions nebula_ros/include/nebula_ros/velodyne/hw_monitor_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ class VelodyneHwMonitorWrapper

rclcpp::Logger logger_;
diagnostic_updater::Updater diagnostics_updater_;
nebula::Status status_;

const std::shared_ptr<nebula::drivers::VelodyneHwInterface> hw_interface_;
rclcpp::Node * const parent_node_;
Expand All @@ -275,8 +274,6 @@ class VelodyneHwMonitorWrapper
uint16_t diag_span_;
bool show_advanced_diagnostics_;

rclcpp::TimerBase::SharedPtr diagnostics_update_timer_;
rclcpp::TimerBase::SharedPtr diagnostics_diag_timer_;

std::shared_ptr<boost::property_tree::ptree> current_diag_tree_;

Expand Down
1 change: 0 additions & 1 deletion nebula_ros/src/velodyne/hw_monitor_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ VelodyneHwMonitorWrapper::VelodyneHwMonitorWrapper(
: logger_(parent_node->get_logger().get_child("HwMonitor")),
diagnostics_updater_(
(parent_node->declare_parameter<bool>("diagnostic_updater.use_fqn", true), parent_node)),
status_(Status::OK),
hw_interface_(hw_interface),
parent_node_(parent_node),
sensor_configuration_(config)
Expand Down

0 comments on commit cd7d4fa

Please sign in to comment.