-
Notifications
You must be signed in to change notification settings - Fork 42
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
Failed to activate controller - joint_state_broadcaster and diffdrive_controller #81
Comments
|
Same Problem here. i got it to work once with just retrying the command, but it would not work again with the same command. Ubuntu: 22.04
|
Also having the same issue. Maybe all the controller stuff needs to be delayed in its spawning till gazebo is up and running? I think it's spawning too early and is timing out before it gets the feedback it needs from gazebo. |
I'm having the same issue, did anyone find a solution? |
After some trial and error I found a way to make it work, by launching the ignition simulation and the turtlebot spawn separately:
Wait for the simulator to start. START THE SIMULATION with the small play button on the left. If the simulation is not running the controllers fail to load for some reason. Then, after the simulation is up and running:
If someone with more experience could chime in and maybe explain what is happening would be nice. |
I can confirm that following the method descibed by @fdila results in expected behaviour. Edit. |
@JohannesH1998 If you modify the ignition.launch.py launch, if you add the Like this
Then you can use the |
This works for me. I am going to merge it. |
Same problem here, installing from binaries |
I've applied this change to the Jazzy branch too. It looks like this may be related to (yet another) change from |
So basically the simulation will not work without the |
@paoloelle that's effectively the situation right now; there was a recent change to ros_controls that added a hard-coded 5s timeout to the startup. If the simulation starts paused, and is not started within 5s, the controllers may timeout, resulting in problems. We're not sure why ros_control made this change, but we're looking into it and will hopefully submit a merge request to at the very least parameterize it so it can be extended (if this hasn't been done already). |
Robot Model
Standard
ROS distro
Humble
Networking Configuration
Unknown
OS
Ubuntu 22.04
Built from source or installed?
Built from source
Package version
not sure
Expected behaviour
Should launch gazebo simulator and let me move the robot through the keyboard
Actual behaviour
Gazebo launches but cant use anything to move
Command used
ros2 launch turtlebot4_ignition_bringup turtlebot4_ignition.launch.py
The text was updated successfully, but these errors were encountered: