Robotics StackExchange | Archived questions

rostest does not show log messages

Hi everyone,

I have an annoying problem of dispalying the ros log message during testing. I have some functions showing ROS_ERROR when errors occur and a test program to test these error cases.

If I run a pure gtest program, all ros log messages show up normally in console.

As long as I need to run a test node with rostest, all ros log messages disappear from console. rostest --text also does not help. But if I put std::cout in the test program, rostest will dispaly these messages.

Thanks for any suggestions.

kai

Asked by khu on 2017-07-24 03:15:01 UTC

Comments

Answers