ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Macros both have the ability to take advantage of the preprocessor functions like __LINE__
and __FILE__
as well as the macros can be compiled out of the code for complete optimization if the use case demands high performance.
This means that you can choose to have no runtime penalty for keeping the debug outputs in your code. See http://wiki.ros.org/rosconsole#Compile-time_Logger_Removal