ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

Where are the controller_manager logs

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

Luczia gravatar image

Hello,

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
0

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

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 (https://github.com/ros-controls/gz_ro...), if you launch the demo "cart_example_position.launch.py" for example, the controller manager logs will be in the terminal, where you launched this demo.

edit flag offensive delete link more

Comments

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 -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

Stats

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

Seen: 73 times

Last updated: Dec 12 '22