Ask Your Question

rostest console output

asked 2019-07-18 14:37:27 -0500

amstrudy gravatar image

I just started using rostest with gtest, and have encountered the problem that only ROS_ERROR() messages are displaying. According to the documentation, you can change the rostest output with the --text command, but that doesn't help me since I am running the tests via catkin_make run_tests. I found this thread, but adding ros::start() did not help either.

Any help is appreciated!

edit retag flag offensive close merge delete


did not help either

What do you mean? What was the result?

jayess gravatar imagejayess ( 2019-07-18 15:25:52 -0500 )edit

@jayess Nothing changed when I added ros::start()

amstrudy gravatar imageamstrudy ( 2019-07-18 17:04:36 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-07 01:34:16 -0500

ct2034 gravatar image

If you want to see different messages than the ROS_ERROR()ones, you have to set the right verbosity level.

edit the file $ROS_ROOT/config/rosconsole.config (or any other and point ROSCONSOLE_CONFIG_FILE at it) with the following content:

# Set the default ros output to warning and higher
# Override my package to output everything
edit flag offensive delete link more


can you please check that and accept the answer if it worked, thanks

ct2034 gravatar imagect2034 ( 2019-08-09 10:44:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-07-18 14:37:27 -0500

Seen: 113 times

Last updated: Aug 07