Skip to content

Commit b936d6f

Browse files
committed
Using anon format default node name
1 parent 5fecb33 commit b936d6f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/ros/internal/loader/CommandLineLoader.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ public Map<String, String> getSpecialRemappings() {
126126
public NodeConfiguration build() {
127127
parseRemappingArguments();
128128
NodeConfiguration nodeConfiguration;
129-
UUID uuid = UUID.randomUUID();
130-
String nodeName = uuid.toString().replace('-', 'x');
129+
String nodeName = GraphName.newAnonymous().toString();
131130
if (specialRemappings.containsKey(CommandLineVariables.NODE_NAME)) {
132131
nodeName = specialRemappings.get(CommandLineVariables.NODE_NAME);
133132
}

0 commit comments

Comments
 (0)