37 CallbackReturn on_init(
const hardware_interface::HardwareComponentInterfaceParams& params)
override;
39 hardware_interface::return_type
read(
const rclcpp::Time& time,
const rclcpp::Duration& period)
override;
41 hardware_interface::return_type
write(
const rclcpp::Time& ,
const rclcpp::Duration& )
override;
44 rclcpp::Subscription<pal_statistics_msgs::msg::StatisticsNames>::SharedPtr pal_names_subscriber_;
45 rclcpp::Subscription<pal_statistics_msgs::msg::StatisticsValues>::SharedPtr pal_values_subscriber_;
46 pal_statistics_msgs::msg::StatisticsValues latest_pal_values_;
47 std::unordered_map<uint32_t, std::vector<std::string>> pal_statistics_names_per_topic_;