Skip to content

Commit 0910d43

Browse files
committed
Disalbe external interfaces of LifecycleNode.
1 parent c061e6e commit 0910d43

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

controller_interface/src/controller_interface.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ namespace controller_interface
2626
return_type ControllerInterface::init(const std::string & controller_name)
2727
{
2828
node_ = std::make_shared<rclcpp_lifecycle::LifecycleNode>(
29-
controller_name, rclcpp::NodeOptions()
30-
.allow_undeclared_parameters(true)
31-
.automatically_declare_parameters_from_overrides(true));
29+
controller_name,
30+
rclcpp::NodeOptions()
31+
.allow_undeclared_parameters(true)
32+
.automatically_declare_parameters_from_overrides(true),
33+
false);
3234

3335
try
3436
{

0 commit comments

Comments
 (0)