Skip to content

Commit

Permalink
fix typo and unnecessary semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
TakashiSato committed Jun 26, 2024
1 parent 6b447b2 commit 4dbe584
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,13 @@ class ControllerManager : public rclcpp::Node
* \returns return_type::OK if all preceding controllers pass the checks, otherwise
* return_type::ERROR.
*/
controller_interface::return_type check_preceeding_controllers_for_deactivate(
controller_interface::return_type check_preceding_controllers_for_deactivate(
const std::vector<ControllerSpec> & controllers, int strictness,
const ControllersListIterator controller_it);

/**
* Check if all deactivate requests are valid.
* Perform a detailed check internally by calling check_preceeding_controllers_for_deactivate.
* Perform a detailed check internally by calling check_preceding_controllers_for_deactivate.
*
* \param[in] controllers list with controllers.
* \param[in] strictness if value is equal "MANIPULATE_CONTROLLERS_CHAIN" then all following
Expand Down
6 changes: 3 additions & 3 deletions controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2458,7 +2458,7 @@ controller_interface::return_type ControllerManager::check_following_controllers
}
}
return controller_interface::return_type::OK;
};
}

ControllerManager::CheckDeActivateRequestResult ControllerManager::check_activate_requests(
const std::vector<ControllerSpec> & controllers, int strictness)
Expand Down Expand Up @@ -2522,7 +2522,7 @@ ControllerManager::CheckDeActivateRequestResult ControllerManager::check_activat
return CheckDeActivateRequestResult::OK;
}

controller_interface::return_type ControllerManager::check_preceeding_controllers_for_deactivate(
controller_interface::return_type ControllerManager::check_preceding_controllers_for_deactivate(
const std::vector<ControllerSpec> & controllers, int /*strictness*/,
const ControllersListIterator controller_it)
{
Expand Down Expand Up @@ -2648,7 +2648,7 @@ ControllerManager::CheckDeActivateRequestResult ControllerManager::check_deactiv
}
else
{
status = check_preceeding_controllers_for_deactivate(controllers, strictness, controller_it);
status = check_preceding_controllers_for_deactivate(controllers, strictness, controller_it);
}

if (status != controller_interface::return_type::OK)
Expand Down

0 comments on commit 4dbe584

Please sign in to comment.