carzum / termviz

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

Add logging #34

Open MaxiMaerz opened 2 years ago

MaxiMaerz commented 2 years ago

I found https://github.com/rust-lang/log all in for using it?

MaxiMaerz commented 2 years ago

On the other side rosout is also fine. Can I get another opinion here @Eman7C7 , @carzum ?

carzum commented 2 years ago

rosout would be the 'most natural' way of logging. But its likely not easy to implement without breaking the screen. I would prefer simple temporary logging that would just be accessible in a tab, similar to the help tab. Keep a little ring buffer of 50 messages with severity and show them. What kind of messages do you expect?

MichaelGrupp commented 2 years ago

I implemented a rosout widget: #43