Skip to content

Commit

Permalink
左辺値参照に変更
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 2a1d5d7 commit 1050b80
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 @@ -192,7 +192,7 @@ CallbackReturn Sciurus17Hardware::on_activate(const rclcpp_lifecycle::State & /*
}
write(prev_comm_timestamp_, rclcpp::Duration::from_seconds(0));

for (auto group_name : GROUP_NAMES) {
for (const auto & group_name : GROUP_NAMES) {
if (!hardware_->write_position_pid_gain_to_group(
group_name, START_P_GAIN, START_I_GAIN, START_D_GAIN))
{
Expand Down

0 comments on commit 1050b80

Please sign in to comment.