Skip to content

Remap node name to fully qualified name #449

@jacobperron

Description

@jacobperron

Feature request

Feature description

When using a fully qualified name for remapping, the node name is not remapped. For example:

ros2 run demo_nodes_cpp talker __node:=/foo

The above command does not change the node name, but I would expect the output of ros2 node list to contain /foo.

I'm not sure if this is intended to work as I expect, but it seems reasonable to me.

If this is not intended to work, then I think there should be a warning logged indicating that the remap failed. Similar to the warning when failing to remap the namespace:

$ ros2 run demo_nodes_cpp talker __ns:=foo
[WARN] [rcl]: Namespace not remapped to a fully qualified name (found: foo)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions