Previously, this code was calling 'get_node_names()' and just
choosing the first out of the list. But that could be literally
anything if there are other nodes running in the network.
Instead, call 'get_fully_qualified_name()' instead to get the
name of this node.
Previously, this code was calling 'get_node_names()' and just choosing the first out of the list. But that could be literally anything if there are other nodes running in the network. Instead, call 'get_fully_qualified_name()' instead to get the name of this node.
Signed-off-by: Chris Lalancette clalancette@openrobotics.org