-
Notifications
You must be signed in to change notification settings - Fork 125
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
gazebo_ros2_control crashes when trying to load controller_manager #364
Comments
First of all, Foxy is EOL for a long time now. Don't expect any support for it. Can you launch the demos successfully? |
Yes, with the demos, the controller_manager is loaded correctly. However, weirdly, when I now launch my package, the output has changed:
Maybe it's because I ran rosdep, although now gazebo_ros2_control seems to die even earlier, before printing the state interfaces. The entity spawner works now, though. |
there is no indication that the gazebo plugin dies. The spawners just die because of the timeout, you can increase that with --controller-manager-timeout or even split your launch files for testing and manually spawn the controllers after gazebo is running. |
Well that means I got yet another output. After rebooting, I actually get the original output now... Also, launching the demo and then my package doesn't change the output anymore, which is weird. I can't find any major differences between the files, either, just that mine uses the spawner.py instead of commands and that I use split urdf and launch files and include them in a main one... |
Does the invalid argument line mean that it's something to do with the .yaml file? Also, how do I change that timeout argument if I'm in a launch file? |
|
Okay, I added more time, but gazebo_ros2_control still crashes. But is this line
the error that's causing the crash? |
It was the dot... |
The output is inconsistent between reboots, I'm not sure why gzserver just dies sometimes. |
I've followed the Articulated Robotics tutorial on simulated ros2_control. However, when I try to launch my package, this is the output:
My controllers wait for the controller_manager, but gazebo_ros2_control fails to load it. I've tried installing the dependencies, reinstalling the package, downgrading it and using gdb and logs to find more information, but I haven't managed to solve anything. I have a custom robot, but the files are not the issue because using the package at https://github.com/joshnewans/articubot_one/tree/0085689ee023baac604268cdf7a9ce85a0ed7bae gives me the exact same error.
I have installed
ros-foxy-ros2-control
,ros-foxy-ros2-controllers
,ros-foxy-gazebo-ros2-control
andros-foxy-gazebo-ros-pkgs
and always source robot_ws/install/setup.bash This happens both in ROS2 Foxy and ROS2 Humble. Any help is appreciated.The text was updated successfully, but these errors were encountered: