-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not contact service /controller_manager/list_controllers #134
Comments
Not sure what you are running but I'd try removing the spawners from your main launch file and first letting the rest start up, then inspecting if the controller_manager services are available. The spawner script has a timeout you could change but the default is 10s which I think is fairly generous... |
I've figured out the culprit, it seems that the hardware_interface hangs waiting for my device to respond and messes up the controller_manager start-up. I'll close. Thanks! |
That however sir may be something we are able to assess very soon! @destogl here's another example of why we need component lifecycles :D |
apparently I have the same problem as you, how did you solve it?, I'm a bit confused with this, thanks for the help in advance |
Hi i also have the same problem, is there a way to solve the hardware interface problem? |
For me the issue was that the port the robot wanted to connect to was not set to listen, so I needed to set it with: |
I have the same problem but I dont understand how can ı solve it. Could you help me please |
can you please explain a little more... |
can anyone please list the answer |
Have you tried the suggestion here? #134 (comment) |
can anyone please help me with this, I'm having these error lines:- |
did you find a solution ? |
I still have the problem for more than a week now and it seems their is no answer listed anywhere about this kind of problem |
Hello! |
Hello, spawn_entity.py-4] [INFO] [1729497684.636715683] [spawn_entity]: Calling service /spawn_entity |
Please check there seems to be an error:
|
I've followed the demo for the RRBot and all works fine until I try to list the controllers. I get this message:
Could not contact service /controller_manager/list_controllers
I also get the same message when calling:
I haven't tested the rest of the services but I'm guessing that the controller_manager isn't online or not launched properly.
Furthermore I've also tried to run a ros2_control launch file for ODrive with a basic velocity controller (https://github.com/Factor-Robotics/odrive_ros2_control.git) and I also get a related error from the controller_manager. It is unable to contact the service.
Looking at discussions about this error I found a discussion talking about the stability of the spawn.py of the controller_manager
ros-controls/ros2_control#475
They mention it could be because it's running on a slower PC but I'm running the same code on raspberry pi and my laptop PC with powerful specs that shouldn't be a problem and yet both platforms yield the same result.
I assume it's a bug but have no clue how to debug this issue. Any help is deeply appreciated.
The text was updated successfully, but these errors were encountered: