Skip to content

Commit

Permalink
Update controller_manager/src/controller_manager.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl authored Jan 9, 2025
1 parent 61265e6 commit e6cadf6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,7 @@ void ControllerManager::init_resource_manager(const std::string & robot_descript
State::PRIMARY_STATE_INACTIVE, hardware_interface::lifecycle_state_names::INACTIVE));

// activate all other components
for (const auto & [component, state] :
)
for (const auto & [component, state] : components_to_activate)
{
rclcpp_lifecycle::State active_state(
State::PRIMARY_STATE_ACTIVE, hardware_interface::lifecycle_state_names::ACTIVE);
Expand Down

0 comments on commit e6cadf6

Please sign in to comment.