Skip to content

Commit

Permalink
auto型推定の使用
Browse files Browse the repository at this point in the history
Co-authored-by: Shota Aoki <[email protected]>
  • Loading branch information
Kuwamai and Shota Aoki authored Nov 2, 2023
1 parent 619f098 commit 7174878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sciurus17_control/src/sciurus17_hardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ CallbackReturn Sciurus17Hardware::on_init(
}
}

for (const hardware_interface::ComponentInfo & joint : info_.joints) {
for (const auto & joint : info_.joints) {
if (joint.command_interfaces.size() != 1) {
RCLCPP_FATAL(
LOGGER,
Expand Down

0 comments on commit 7174878

Please sign in to comment.