-
Notifications
You must be signed in to change notification settings - Fork 124
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
Parameter 'hold_joints' has already been declared, parameter 'hold_joints' has already been declared #304
Comments
We have the same problem after a recent update. Maybe it is connected with the parsing description, like in one of the previous issues: #295. Investigation in progress. |
Having a very similar issue on ROS Humble with version 0.4.10.
No problem with 0.4.9 |
@dogukanyilmazerkba were you able to resolve your issue? I expect the problem is in your config that you run a ros2_control_node: This does not work with gazebo_ros2_control, because the plugin itself loads its controller_manager. |
@mbed92 @tomaszkapron Do you have a similar setup like above, with using a superfluous ros2_control_node? The demos work for me on humble. Otherwise, could you provide a MWE resulting in this error, without using moveit in the config? |
I think I found the source of the problem. In the file describing ros2_control interface I had my interface split among more than one GazeboSystem plugin. Do I understand it is not the right approach? Now I only have one and it seems to work without mentioned errors. I had the following configuration
I reduced it to having a single general interface. |
Yes, it should be under one system |
Hello, I am trying to export myy RVIZ work to Gazebo. However, whenever I use gezebo_ros2_control packages to control my robot's joints I get these two errors:
[gazebo-5] [ERROR] [1713176577.993734591] [gazebo_ros2_control]: Parameter 'hold_joints' has already been declared, parameter 'hold_joints' has already been declared
and
[gazebo-5] [ERROR] [1713176577.948738083] [control]: No parameter file provided. Configuration might be wrong [gazebo-5] [ERROR] [1713176577.949836711] [control]: failed to parse input yaml file(s)
I dont declare the parameter called hold_joints in my workspace anywhere. How can I solve this?
Terminal Output:
control.xacro file:
My launch file:
ros2_controller.yaml file:
My urdf file:
The text was updated successfully, but these errors were encountered: