Skip to content

Commit

Permalink
enable logger services for the controller_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Jun 25, 2024
1 parent 4eecf45 commit 2baf0b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ rclcpp::NodeOptions get_cm_node_options()
// Required for getting types of controllers to be loaded via service call
node_options.allow_undeclared_parameters(true);
node_options.automatically_declare_parameters_from_overrides(true);
#if RCLCPP_VERSION_MAJOR >= 21
node_options.enable_logger_service(true);
#endif
return node_options;
}

Expand Down

0 comments on commit 2baf0b1

Please sign in to comment.