carzum / termviz

ROS visualisation on the terminal
MIT License
385 stars 22 forks source link

Implement rosout log widget. #43

Closed MichaelGrupp closed 1 year ago

MichaelGrupp commented 2 years ago

Buffers formatted rosout messages in a ring buffer and displays them in a box. Minimum loglevel, screen percentage and more are configurable.

In addition to enabling/disabling with 'l', I also added an intermediate stopped state between enabled and disabled that can be useful to inspect the last logs with a stopped buffer.

Known issues: log coloring sometimes doesn't work correctly, need to investigate why (tui Text is weird). In the worst case you get white text, so this is not a blocker atm.

MichaelGrupp commented 2 years ago

Teaser for potential follow up PR: adding a config item to filter by node names and/or regex.

MichaelGrupp commented 2 years ago

Now it's 'l' to save your precious time. Warning: not to be confused with 'I' https://www.youtube.com/watch?v=E3p_Crhi3K8