Skip to content
Snippets Groups Projects
Commit 0ad06025 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Added missing timestamp to topic listener

parent af06737e
No related branches found
No related tags found
No related merge requests found
......@@ -173,6 +173,7 @@ for index,m in enumerate(messages[1:]):
print("\t\t\ti++;")
print("\t\t\tprintf(\"\\nTOPIC: %s #%%d\\n\", i);" % m)
print("\t\t\torb_copy(ID,sub,&container);")
print("\t\t\tprintf(\"timestamp: %\" PRIu64 \"\\n\", container.timestamp);")
for item in message_elements[index+1]:
if item[0] == "float":
print("\t\t\tprintf(\"%s: %%8.4f\\n\",(double)container.%s);" % (item[1], item[1]))
......
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