Skip to content
Snippets Groups Projects
Commit 5cf45e51 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Parse/print the node_aux from the node status topic

Fix for issue #870
parent 852e6b7a
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,9 @@ try {
var new_status = parseInt(msg.data, 10);
if(new_status != node_status) {
node_status = new_status;
print("\r\nNew node status: " + NodeStatus[node_status]);
var node_aux = msg.data.split('\t')[5];
print("\r\nNew node status: "
+ format(NodeStatus[node_status], node_aux));
}
}
else if(msg.topic == terminal_topic) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment