Skip to content

Commit

Permalink
initialize URDF first to be able to retrieve parameters and override …
Browse files Browse the repository at this point in the history
…in node options
  • Loading branch information
saikishor committed Nov 20, 2023
1 parent 5fbf767 commit 0636984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller_interface/src/controller_interface_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ return_type ControllerInterfaceBase::init(
const std::string & controller_name, const std::string & urdf, unsigned int cm_update_rate,
const std::string & namespace_)
{
urdf_ = urdf;
node_ = std::make_shared<rclcpp_lifecycle::LifecycleNode>(
controller_name, namespace_, get_node_options(),
false); // disable LifecycleNode service interfaces
urdf_ = urdf;

try
{
Expand Down

0 comments on commit 0636984

Please sign in to comment.