[ROS2] Using create_sub_node leads to two nodes with same name

asked 2019-08-23 05:03:54 -0500

madmax gravatar image

If I create a node, and then create a subnode, I see on the cmd line 2 nodes with same name!
I think this is a bug, or is this not the correct usage?

If you then check params for the base node, it's coincidence which params will be shown, either that of base_node or from sub_node.

  //base_node and base_node/test are expected
  auto subnode = this->create_sub_node("test");  
edit retag flag offensive close merge delete