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

use three-part interface names in msg/srv/action show and msg/srv/ list #259

Merged
merged 1 commit into from
May 23, 2019

Conversation

dirk-thomas
Copy link
Member

Fixes #255 and fixes #257.

@dirk-thomas dirk-thomas added bug Something isn't working in review Waiting for review (Kanban column) labels May 23, 2019
@dirk-thomas dirk-thomas self-assigned this May 23, 2019
@dirk-thomas dirk-thomas changed the title use three-part interface names in msg/srv/action show and msg/src/ list use three-part interface names in msg/srv/action show and msg/srv/ list May 23, 2019
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas force-pushed the dirk-thomas/three-part-interface-names branch from e93087d to 9d2d393 Compare May 23, 2019 20:49
@dirk-thomas dirk-thomas merged commit 9ef85db into master May 23, 2019
@dirk-thomas dirk-thomas deleted the dirk-thomas/three-part-interface-names branch May 23, 2019 22:14
jacobperron added a commit that referenced this pull request May 29, 2019
…verb

Similar to the changes made in #247 and #259.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
jacobperron added a commit that referenced this pull request May 29, 2019
…verb (#261)

Similar to the changes made in #247 and #259.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
esteve pushed a commit to esteve/ros2cli that referenced this pull request Dec 16, 2022
…#259)

* Support both param file configurations in to_parameters_list.py

Signed-off-by: Rebecca Butler <rebecca@openrobotics.org>

* Support another file config and add tests

Signed-off-by: Rebecca Butler <rebecca@openrobotics.org>

* Update to work for multiple entries in yaml

Signed-off-by: Rebecca Butler <rebecca@openrobotics.org>

* Fix deleted line

Signed-off-by: Rebecca Butler <rebecca@openrobotics.org>

* Remove duplicated line

Signed-off-by: Rebecca Butler <rebecca@openrobotics.org>

* Address reviewer comments

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Emit warning iff no node name and ros__parameters foramt is used

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Refactor after review

- Rename private function for dealing with ros__parameters entries
- Keep recursive parameters internal to function
- Skip evaluating parameters if dictionary is empty
- Use isinstance
- Strip trailing and leading '/' from node namespace

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Remove unnecessary line

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Reset keys list in case of dictionary value

We actually do this for the case of multiple entries like this:

    /ns_1:
      /node_1:
        ros__parameters:
          param_1: 1
          param_2: 2

    /**:
      ros__parameters:
        param_2: 22
        param_3: 33

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Use separate test file for test_load_composable_nodes

Rather than reusing the test file that is used in test_node.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

Co-authored-by: Jacob Perron <jacob@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in review Waiting for review (Kanban column)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ros2 srv show doesn't support <pkg>/srv/<servicename>
2 participants