0
$\begingroup$

Rosanswers logo

I launched a node with roslaunch. The node uses ROS_*_STREAM macros to log information. The log file created by the node however shows spurious characters. Following line shows an example

^[[0m[ INFO] [1325453858.376186830]: Alasca scan: time=-0.000000, points=31, nodes=11^[[0m

Every line in the log file starts and ends with "^[[0m". Does anyone know what might cause this behavior. This happens with not just this node, but all nodes that I launch with roslaunch.

ROS: Electric, OS: Ubuntu 11.10 x86


Originally posted by Aditya on ROS Answers with karma: 287 on 2012-01-01

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

To me they look like escape sequences for colorization. The 0 should reset all previous color commands.


Originally posted by dornhege with karma: 31395 on 2012-01-01

This answer was ACCEPTED on the original site

Post score: 3

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.