Skip to content
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

Update ros2 param dump dosctring (-h option). #837

Merged
merged 1 commit into from Jul 6, 2023

Conversation

mmmarinho
Copy link
Contributor

As mentioned in #836 , this pull request aims to correct the ros2 param dump -h information.

Current doc

class DumpVerb(VerbExtension):
"""Dump the parameters of a node to a yaml file."""

Proposed change

class DumpVerb(VerbExtension):
    """Show all of the parameters of a node in a YAML file format."""

Based on

The current docstring for ros2 param describe

class DescribeVerb(VerbExtension):
"""Show descriptive information about declared parameters."""

mixed with the documentation at
https://docs.ros.org/en/rolling/How-To-Guides/Using-ros2-param.html#ros2-param-dump

This command will print out all of the parameters on a particular node in a YAML file format.

I'd be glad to update this PR as needed.

@fujitatomoya
Copy link
Collaborator

"""Dump the parameters of a node to a yaml file.""" -> """Show all of the parameters of a node in a YAML file format."""

Based on the documentation at
https://docs.ros.org/en/rolling/How-To-Guides/Using-ros2-param.html#ros2-param-dump

Signed-off-by: Murilo M. Marinho <murilomarinho@ieee.org>
@mmmarinho
Copy link
Contributor Author

@mmmarinho can you address DCO error? https://github.com/ros2/ros2cli/pull/837/checks?check_run_id=14811514019

Sure thing, thanks for the info on how to do it.

@fujitatomoya
Copy link
Collaborator

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette clalancette merged commit ef5d811 into ros2:rolling Jul 6, 2023
2 of 3 checks passed
@fujitatomoya
Copy link
Collaborator

@Mergifyio backport humble

@mergify
Copy link

mergify bot commented Jul 9, 2023

backport humble

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jul 9, 2023
"""Dump the parameters of a node to a yaml file.""" -> """Show all of the parameters of a node in a YAML file format."""

Based on the documentation at
https://docs.ros.org/en/rolling/How-To-Guides/Using-ros2-param.html#ros2-param-dump

Signed-off-by: Murilo M. Marinho <murilomarinho@ieee.org>
(cherry picked from commit ef5d811)
fujitatomoya pushed a commit that referenced this pull request Jul 10, 2023
"""Dump the parameters of a node to a yaml file.""" -> """Show all of the parameters of a node in a YAML file format."""

Based on the documentation at
https://docs.ros.org/en/rolling/How-To-Guides/Using-ros2-param.html#ros2-param-dump

Signed-off-by: Murilo M. Marinho <murilomarinho@ieee.org>
(cherry picked from commit ef5d811)

Co-authored-by: Murilo M Marinho <46012516+mmmarinho@users.noreply.github.com>
@fujitatomoya
Copy link
Collaborator

@Mergifyio backport iron

@mergify
Copy link

mergify bot commented Jul 10, 2023

backport iron

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jul 10, 2023
"""Dump the parameters of a node to a yaml file.""" -> """Show all of the parameters of a node in a YAML file format."""

Based on the documentation at
https://docs.ros.org/en/rolling/How-To-Guides/Using-ros2-param.html#ros2-param-dump

Signed-off-by: Murilo M. Marinho <murilomarinho@ieee.org>
(cherry picked from commit ef5d811)
fujitatomoya pushed a commit that referenced this pull request Jul 10, 2023
"""Dump the parameters of a node to a yaml file.""" -> """Show all of the parameters of a node in a YAML file format."""

Based on the documentation at
https://docs.ros.org/en/rolling/How-To-Guides/Using-ros2-param.html#ros2-param-dump

Signed-off-by: Murilo M. Marinho <murilomarinho@ieee.org>
(cherry picked from commit ef5d811)

Co-authored-by: Murilo M Marinho <46012516+mmmarinho@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants