Skip to content

Commit

Permalink
Correct forgoten state definition
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Exner (fexner) <[email protected]>
  • Loading branch information
destogl and fmauch authored Feb 2, 2024
1 parent f833567 commit 39e7050
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ void ControllerManager::init_resource_manager(const std::string & robot_descript
// activate all other components
for (const auto & [component, state] : components_to_activate)
{
rclcpp_lifecycle::State active_state(
State::PRIMARY_STATE_ACTIVE, hardware_interface::lifecycle_state_names::ACTIVE);
resource_manager_->set_component_state(component, active_state);
}
}
Expand Down

0 comments on commit 39e7050

Please sign in to comment.