Fix errors overlaying on topics in ncurses frontend#35
Conversation
Greptile SummaryFixed ROS log messages from interfering with the ncurses terminal UI by disabling stdout logs and implementing proper error state tracking for colored status messages. Key Changes:
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: fe896e8 |
|
Instead of not using loggers, is there a way can we instead just redirect stderr to a file (logs default to stderr)? That would be for developers, for users we should use the status bar. |
We can do that. Pretty certain there's a method to configure the ROS logger to go there by default and we can add that in ncurses_dashboard when we run the node. I'll look into it. |
Signed-off-by: Blake McHale <bmchale@nvidia.com>
Signed-off-by: Blake McHale <bmchale@nvidia.com>
Signed-off-by: Blake McHale <bmchale@nvidia.com>
b1da55b to
3fa661f
Compare
Signed-off-by: Blake McHale <bmchale@nvidia.com>
In frontend we should standardize to never use a logger that prints to screen. I've changed our loggers to use the .debug level so that it doesn't cause a mess unless the debug level is set. Potentially we should remove the loggers in the frontend?
It used to look like this:
Now it looks like this: