Closed alaurenzi closed 11 months ago
Hey Arturo, interesting... The color coding stuff is pretty complicated, since rosmon needs to parse all codes and remember them. There might be a line from another node in between, so rosmon parses and restores all color coding for each node. Probably you guys are using an escape code that the current version doesn't handle correctly...
Are you using a library for the logging? Or is that custom code? It would be great if we could find out which escape codes you are outputting. Maybe launch the xbot2
node with rosrun ... &> log.txt
and paste the log file here?
I found at least one bug in the parser and fixed it in master. Can you compile current master and test if it fixes your case as well?
Thank you Max, it seems it works now!
Thanks for confirming :) I triggered a new package release so the fix should come into the apt repos at the next sync.
Hi Max, I am experiencing an issue regarding std out prints, I believe since the last noetic update. It looks somehow related to ASCII formatting codes. Apparently, bold formatting is not showing up, as well as anything between the end of bold formatting and newline.
Check the last three lines of these pictures:
Rosmon compiled from source, checked out at 4f9b10e (works ok)![Screenshot from 2023-09-29 10-10-09](https://github.com/xqms/rosmon/assets/22152172/8ac42fbb-4828-4ea5-a10c-59fb919506a6)
Rosmon compiled from source, latest master (broken output)![Screenshot from 2023-09-29 10-12-44](https://github.com/xqms/rosmon/assets/22152172/b523c58f-1c4f-4e57-a8d5-c0464c2c5ad0)
I'll try to provide a minimal example reproducing this issue, in the meantime maybe this already rings a bell to you!
Thanks in advance, Arturo