Skip to content

Commit

Permalink
定数化
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuwamai committed Nov 2, 2023
1 parent 47c0adb commit cea0c10
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 @@ -98,7 +98,7 @@ CallbackReturn Sciurus17Hardware::on_init(
return CallbackReturn::ERROR;
}

for (auto state_interface : joint.state_interfaces) {
for (const auto state_interface : joint.state_interfaces) {
if (!(state_interface.name == hardware_interface::HW_IF_POSITION ||
state_interface.name == hardware_interface::HW_IF_VELOCITY ||
state_interface.name == hardware_interface::HW_IF_EFFORT))
Expand Down

0 comments on commit cea0c10

Please sign in to comment.