ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi @borgcons,
ROSCONSOLE_FORMAT
allows you to specify how you would like the rosconsole
output to show up in the terminal. Since it is a environment variable it will only affects the current shell you are using, although you can add it to the .bashrc.
On the other hand, the format with which the log is generated is harcoded in the rosout node, that subscribes to /rosout
, logs the messages to file, and re-broadcasts the messages to /rosout_agg
. Hence, if you want to change the output log, either you change that node (that is not recommended), accepts that format how it is or implement a new node (bare copy of the rosout node) that does the same thing but changing the format with the one you want.
Hope that helps you.
Regards.