-
Notifications
You must be signed in to change notification settings - Fork 86
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
[Jazzy] How to set: position_proportional_gain #391
Comments
A friendly push :) |
|
I managed to pass ROS parameters: Just add this to the yaml file passed in the gz_ros_control:
ros__parameters:
position_proportional_gain: 0.5 be aware that the node is called gz_ros_control instead of gz_ros2_control ;) |
Sorry for the dumb question, but in a launch file. Which component do I need to pass that parameter file, is it the
As far as I am aware there is no example that shows how to pass a parameter file. |
I tried the same, and parameters should have wildcard namespace from the launch file -> it did not work. |
Then I don't understand your answer :D Or is the PR you linked necessary for that to work ? |
No, the PR is for adding them as parameters in the URDF plugin tag. Add gz_ros2_control namespace in the yaml file you load into the plugin, like this cart_controller.yaml
They will be passed to the node of gz_ros_control. |
Hi I am looking for a way to set the
position_proportional_gain
parameter.According to: #250 it should be possible to be set from a parameter file.
Unfortunately there seems to be no (or I can't find it) documentation on how to provide an additional configuration file for the
gz_ros_control
node from a launch file.The text was updated successfully, but these errors were encountered: