ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Where are the controller_manager logs

asked 2022-12-12 03:53:55 -0600

Luczia gravatar image


I'am trying to use ros2 controllers on gazebo, yet without sucess.

When launching the joint_trajectory_controller :

ros2 control load_controller --set-state active joint_trajectory_controller

I have an error :

[ros2-2] Error loading controller, check controller_manager logs
[ERROR] [ros2-2]: process has died [pid 30159, exit code 1, cmd 'ros2 control load_controller --set-state active joint_trajectory_controller'].

Do you know where I can find the "controller_manager" logs on ros2 humble?

Error loading controller, check controller_manager logs

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-01-11 07:43:58 -0600

Jariba gravatar image

You can find the logs in the terminal, in which you launched the controller manager.

So in case of the ign_ros2_control repository (, if you launch the demo "" for example, the controller manager logs will be in the terminal, where you launched this demo.

edit flag offensive delete link more


Same problem here - looked in recommended location but did not find a log, is there a filename pattern or extension I can search for (e.g. .log)?

Also is there some way to get the verbose output to the terminal instead of just to log?

jonst gravatar image jonst  ( 2023-02-01 11:58:10 -0600 )edit

Yeah, it is pretty subtle as the logs are sometimes just one line, but the terminal with which I launched the controller_manager has a a "log" info, usually starting with :

[ERROR] [1685575141.283231272] [controller_manager]:

Luczia gravatar image Luczia  ( 2023-05-31 18:21:23 -0600 )edit

Question Tools

1 follower


Asked: 2022-12-12 03:53:55 -0600

Seen: 379 times

Last updated: Dec 12 '22