Skip to content

Commit

Permalink
changed position of return and logger
Browse files Browse the repository at this point in the history
  • Loading branch information
VincidaB committed Apr 29, 2024
1 parent 63b39e5 commit ead5415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<hardware_interface::StateInterface> ActuatorsRpPicoHardware::export_state_interfaces()
{
std::vector<hardware_interface::StateInterface> state_interfaces;
Expand Down
2 changes: 1 addition & 1 deletion omnidrive_rppico/hardware/omnibot_pico_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<hardware_interface::StateInterface> OmniDriveRpPicoHardware::export_state_interfaces()
Expand Down

0 comments on commit ead5415

Please sign in to comment.