ros-controls / gazebo_ros2_control

Wrappers, tools and additional API's for using ros2_control with Gazebo Classic
Apache License 2.0
186 stars 118 forks source link

Errors after launching demos: controller manager issue? #274

Closed tera-bytes closed 4 months ago

tera-bytes commented 5 months ago

Whenever I try to launch any of the existing demos such as diff_drive, the gazebo simulation launches fine but I get these errors: image So then any ros2 run command fails. I'm on ubuntu 22.04 using Humble. Any help would be much appreciated!

SXYuuuuuu commented 5 months ago

I meet the same error, it make me crazy

ahcorde commented 5 months ago

HI @tera-bytes

can you copy the full trace instead of adding a picture?

christophfroehlich commented 5 months ago

And please add the exact version of ros2_control and gazebo_ros2_control (i.e., by running ros2 pkg xml ros2_control -t version)

tera-bytes commented 5 months ago

Hey, sorry about this but I actually managed to fix it today. I just deleted my old workspace and cloned and rebuilt. Everything works fine now. I didn't really do anything differently so I'm still not sure why I got those errors.

bmagyar commented 5 months ago

What was in your workspace? Any chance it had gazebo_ros2_control, ros2_control or ros2_controllers?

tera-bytes commented 5 months ago

What was in your workspace? Any chance it had gazebo_ros2_control, ros2_control or ros2_controllers?

In the same workspace, I had cloned the github for the Ur5 Gazebo Simulation and it had gazebo_ros2_control and ros2_control.

christophfroehlich commented 4 months ago

closing this as it seems that it have fixed itself