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 b9e45c8 commit 4404997
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 @@ -212,7 +212,7 @@ CallbackReturn Sciurus17Hardware::on_activate(const rclcpp_lifecycle::State & /*
CallbackReturn Sciurus17Hardware::on_deactivate(const rclcpp_lifecycle::State & /*previous_state*/)
{
// Set low PID gains for safe stopping.
for (auto group_name : GROUP_NAMES) {
for (const auto & group_name : GROUP_NAMES) {
if (!hardware_->write_position_pid_gain_to_group(
group_name, STOP_P_GAIN, STOP_I_GAIN, STOP_D_GAIN))
{
Expand Down

0 comments on commit 4404997

Please sign in to comment.