move_base not logging to file from launch

asked 2019-11-26 09:00:52 -0600

rdinoff gravatar image

I can't get logging from move_base to go to a file if started from a launch file (systemctl started) If started from command line, output comes to screen ... have tried using output="screen" and output="log"

If I do a ps I see __log is set to a valid path but that file never gets created and other nodes have the log files in the log directory.

/opt/ros/kinetic/lib/move_base/move_base __log:=/root/.ros/log/132f8734-0ed5-11ea-b12c-fa163eabd3e5/move_base-16.log

I have also tried setting log level to DEBUG in ROSCONSOLE_CONFIG_FILE and enabling ROSCONSOLE_STDOUT_LINE_BUFFERED

Everything works just no logs for move_base.

edit retag flag offensive close merge delete

Comments

Are you trying to save terminal output of move_base? Just took a quick look at navigation stack and it is not using ros logging, just info.

Choco93 gravatar imageChoco93 ( 2019-11-27 08:51:50 -0600 )edit