Skip to content

Commit

Permalink
Added call to update state values
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-palmer committed Feb 28, 2024
1 parent bda0ebe commit 4a31284
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions velocity_controllers/src/integral_sliding_mode_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ void IntegralSlidingModeController::state_callback(
RCLCPP_ERROR(get_node()->get_logger(), "Received an invalid state message: %s", e.what()); // NOLINT
return;
}

// Update the current system state values
update_system_state_values();
}

controller_interface::CallbackReturn IntegralSlidingModeController::on_activate(
Expand Down

0 comments on commit 4a31284

Please sign in to comment.