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

Added case for instances of ExecuteLocal in resolveProcess function #587

Merged
merged 2 commits into from
Feb 22, 2022

Conversation

mlanting
Copy link
Contributor

The resolveProcess function needs to allow cases where the process is launched via instances of ExecuteLocal. This will likely be revisited when ExecuteRemote is added since we'll probably want to generalize the base class, but for now this should let the tests for ros2/launch_ros#215 pass so it can finally get merged.

Distro A, OPSEC #4584. You may have additional rights; please see https://rosmilitary.org/faq/?category=ros-2-license

Signed-off-by: matthew.lanting <[email protected]>
@mlanting
Copy link
Contributor Author

@adityapande-1995 friendly ping

@adityapande-1995
Copy link
Contributor

adityapande-1995 commented Feb 15, 2022

CI :
Build : --packages-above-and-dependencies launch
Test: --packages-above launch

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

The failing test seems unrelated to the changes made here.

Copy link
Contributor

@adityapande-1995 adityapande-1995 left a comment

Choose a reason for hiding this comment

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

Could you please add a test case for this feature ?

Added case for handling ExecuteLocal actions in _proc_to_name_and_args
in proc_lookup.py.

Distro A, OPSEC #4584. You may have additional rights; please see https://rosmilitary.org/faq/?category=ros-2-license

Signed-off-by: matthew.lanting <[email protected]>
@mlanting
Copy link
Contributor Author

Test cases added. I also had to modify a function in proc_lookup to handle both ExecuteProcess and ExecuteLocal objects.

Copy link
Contributor

@adityapande-1995 adityapande-1995 left a comment

Choose a reason for hiding this comment

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

CI rerun:

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

Copy link
Contributor

@adityapande-1995 adityapande-1995 left a comment

Choose a reason for hiding this comment

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

LGTM, unless @jacobperron disagrees.

Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

@adityapande-1995 adityapande-1995 merged commit 21986e0 into ros2:master Feb 22, 2022
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.

3 participants