ros-controls / gz_ros2_control

Connect the latest version of Gazebo with ros2_control.
https://gazebosim.org
Apache License 2.0
119 stars 87 forks source link

Could not contact service /controller_manager/load_controller #7

Open Kakcalu13 opened 3 years ago

Kakcalu13 commented 3 years ago

Environment


When I run `ros2 launch ignition_ros2_control_demos cart_example_position.launch.py`
I get the result where the controller manager isn't load. 

## Description
* Expected behavior: The controller manager should be loaded once demo starts 
* Actual behavior: Couldn't find a controller manager

## Steps to reproduce
<!-- Provide steps so we can try to reproduce this issue -->
1. source install/setup.bash
2. ros2 launch ignition_ros2_control_demos cart_example_position.launch.py
3. error exists

## Output
<!-- Provide screenshots, console logs, backtraces, and/or anything that could
be useful to us resolving this issue -->

![image](https://user-images.githubusercontent.com/65916520/131892656-13a2cd5d-7783-44e3-bf3e-ee543121356d.png)

![image](https://user-images.githubusercontent.com/65916520/131892616-52762355-a5c3-442c-a8b8-8afe36bdb662.png)
Sleipnir164 commented 2 years ago

Hello I've got the same problem but couldn't find a solution anywhere, did you solve this error ?

Kakcalu13 commented 2 years ago

Hello I've got the same problem but couldn't find a solution anywhere, did you solve this error ?

Hi there! Sorry this took me so long to answer. I did not see this until someone posted this in discord.

It seems like I didn't have a library installed at that time. I posted this when I was a newbie. I have a lot of experience now, so I will dig this later this evening

kopiotrek commented 2 years ago

Hey, did you investigate the problem?

Kevin0573 commented 8 months ago

hi, did you solve this error? I've got the same issue in ubuntu22.04 with ros2-humble, gazebo-11

Lalith321 commented 7 months ago

You need to install ros-foxy-gazebo-ros2-control using sudo apt-get install ros-foxy-gazebo-ros2-control. Although it solved the problem of others it solved my error partially by throwing a new warning this time.

scybd commented 3 months ago

Hello I've got the same problem but couldn't find a solution anywhere, did you solve this error ?

Hi there! Sorry this took me so long to answer. I did not see this until someone posted this in discord.

It seems like I didn't have a library installed at that time. I posted this when I was a newbie. I have a lot of experience now, so I will dig this later this evening

Hi, I met the same problem, could you share the method to solve it? Thanks!