diff --git a/actuators_rppico_hardware_interface/hardware/actuators_rppico_h_i.cpp b/actuators_rppico_hardware_interface/hardware/actuators_rppico_h_i.cpp index ceddfee..4c108ac 100644 --- a/actuators_rppico_hardware_interface/hardware/actuators_rppico_h_i.cpp +++ b/actuators_rppico_hardware_interface/hardware/actuators_rppico_h_i.cpp @@ -91,11 +91,11 @@ hardware_interface::CallbackReturn ActuatorsRpPicoHardware::on_init( } + } } RCLCPP_INFO(rclcpp::get_logger("ActuatorsRpPicoHardware"), "Successfully set up hardware interfaces"); return hardware_interface::CallbackReturn::SUCCESS; } -} std::vector ActuatorsRpPicoHardware::export_state_interfaces() { std::vector state_interfaces; diff --git a/omnidrive_rppico/hardware/omnibot_pico_system.cpp b/omnidrive_rppico/hardware/omnibot_pico_system.cpp index f0079d7..4c48e47 100644 --- a/omnidrive_rppico/hardware/omnibot_pico_system.cpp +++ b/omnidrive_rppico/hardware/omnibot_pico_system.cpp @@ -103,9 +103,9 @@ hardware_interface::CallbackReturn OmniDriveRpPicoHardware::on_init( joint.state_interfaces[1].name.c_str(), hardware_interface::HW_IF_VELOCITY); return hardware_interface::CallbackReturn::ERROR; } + } RCLCPP_INFO(rclcpp::get_logger("OmniDriveRpPicoHardware"), "Successfully set up hardware interfaces"); return hardware_interface::CallbackReturn::SUCCESS; - } } std::vector OmniDriveRpPicoHardware::export_state_interfaces()