RCUTILS_SET_ERROR_MSG and RMW_SET_ERROR_MSG output and behavior
According to doxygen and this line, RCUTILS_SET_ERROR_MSG()
should produce output if rcutils_reset_error
wasn't called and "this library" (assuming RCL) was built with the RCUTILS_REPORT_ERROR_HANDLING_ERRORS
flag set. I see that the build flag is set here and here.
Since there are many of the RCUTILS_SET_ERROR_MSG
(and RMW_SET_ERROR_MSG
) calls in RCL and RMW, I expect to see some of these outputs to stderr
, stdout
, or a log file somewhere on occasion.
- What am I missing to turn these prints on and where to do they actually go?
- Do I need to build ROS2 from source to enable this output with some other flags set or would the precompiled binaries have this capability innately?