No way to load a ros param file for all nodes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 262
- Forks
- 228
- Avg merge
- 23h 15m
- Merged PRs (30d)
- 12
Description
Feature request
Feature description
ROS2 has no functionality for loading a parameter file that contains parameters for multiple nodes. This was easily doable in ROS1 and there is no reason it should not be possible in ROS2. For example, parameter file named "params.yaml" contains the following:
/my_node1:
ros__parameters:
param1: 1.0
param2: "test"
/my_node2:
ros__parameters:
param3: 73
and then running ros2 param load params.yaml would apply the relevant parameters to the nodes named /my_node1 and /my_node2
Implementation considerations
It makes no sense why this would not be allowed under the ROS2 framework, considering the parameter file already requires nodes to be explicitly named.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing ros2 param load command and its parameter-file handling. Compare the current behavior with the multi-node params.yaml example in the issue; done means one invocation applies each node's relevant parameters to /my_node1 and /my_node2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100