Skip to content

Commit

Permalink
Apply suggestions from code review - Denis
Browse files Browse the repository at this point in the history
Co-authored-by: Dr. Denis <denis@stoglrobotics.de>
  • Loading branch information
saikishor and destogl authored Aug 1, 2023
1 parent 3ef00f3 commit cbc4322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ class ControllerManager : public rclcpp::Node
const std::vector<ControllerSpec> & controllers, int strictness,
const ControllersListIterator controller_it);

/// A functor to be used in the std::sort method to sort the controllers to be able to
/// A method to be used in the std::sort method to sort the controllers to be able to
/// execute them in a proper order
/**
* @brief controller_sorting - A functor that compares the controllers ctrl_a and ctrl_b and then
Expand Down
2 changes: 1 addition & 1 deletion controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2469,7 +2469,7 @@ bool ControllerManager::controller_sorting(

// If the ctrl_a's state interface is the one exported by the ctrl_b then ctrl_b should be
// infront of ctrl_a
/// @todo deal with the state interface chaining in the sorting algorithm
//TODO(saikishor): deal with the state interface chaining in the sorting algorithm
auto state_it = std::find_if(
state_itfs.begin(), state_itfs.end(),
[ctrl_b](auto itf) { return (itf.find(ctrl_b.info.name) != std::string::npos); });
Expand Down

0 comments on commit cbc4322

Please sign in to comment.