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 Jan 14, 2024
1 parent 8b6a0aa commit 59732a9
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 & node_namespace)
{
urdf_ = urdf;
node_ = std::make_shared<rclcpp_lifecycle::LifecycleNode>(
controller_name, node_namespace, get_node_options(),
false); // disable LifecycleNode service interfaces
urdf_ = urdf;

try
{
Expand Down

0 comments on commit 59732a9

Please sign in to comment.