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

[ros2node] Make ros2 node list list namespaces as well as names #143

Closed
wants to merge 3 commits into from

Conversation

mjcarroll
Copy link
Member

@mjcarroll mjcarroll commented Aug 29, 2018

Fixes #105

To test:

ros2 run demo_nodes_cpp talker __ns:=/demo & 
ros2 run demo_nodes_cpp talker

Expected output:

➜ ros2 node list
/talker
/demo/talker

@mjcarroll mjcarroll added the in progress Actively being worked on (Kanban column) label Aug 29, 2018
@mjcarroll mjcarroll added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Aug 29, 2018
@@ -56,6 +56,8 @@ def main(*, script_name='_ros2_daemon', argv=None):
# expose getter functions of node
server.register_function(
_print_invoked_function_name(node.get_node_names))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this function be removed since it only provides incomplete information?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is currently still being used by ros2lifecycle. We haven't had a bug issued against that, but I'll take this as an opportunity to update that as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is, I'll remove it in the PR that updates ros2lifecycle.

@dirk-thomas
Copy link
Member

Superseded by #146.

@dirk-thomas dirk-thomas closed this Sep 6, 2018
@dirk-thomas dirk-thomas deleted the ros2node_namespaces branch September 6, 2018 20:58
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Sep 6, 2018
esteve pushed a commit to esteve/ros2cli that referenced this pull request Dec 16, 2022
* Add tests for ensure_argument_type() function

* Add tests for normalize_to_list_of_substitutions() function

* Add tests for perform_substitutions() function

* Add tests for signal_management module

    * Left TODOs for functional tests.

* Add test for create_future() function

* Add tests for visit_all_entities_and_collect_futures() function
esteve pushed a commit to esteve/ros2cli that referenced this pull request Dec 16, 2022
This also adds explicit tests for the warnings produced from using
deprecated parameters.

Signed-off-by: Michael Carroll <michael@openrobotics.org>
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.

2 participants