Skip to content

[Foxy backport] wait for message (#1705)#1737

Merged
Karsten1987 merged 3 commits intofoxyfrom
foxy_wait_for_message
Aug 3, 2021
Merged

[Foxy backport] wait for message (#1705)#1737
Karsten1987 merged 3 commits intofoxyfrom
foxy_wait_for_message

Conversation

@Karsten1987
Copy link
Copy Markdown
Contributor

Backport of #1705

@Karsten1987 Karsten1987 self-assigned this Aug 2, 2021
@Karsten1987
Copy link
Copy Markdown
Contributor Author

Karsten1987 commented Aug 2, 2021

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

* wait for message

Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>

* move to own header file

Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>

* linters

Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>

* add gc for shutdown interrupt

Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>

* mention behavior when shutdown is called

Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>

* check gc

Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
@Karsten1987 Karsten1987 force-pushed the foxy_wait_for_message branch from 23ad5fa to 018701e Compare August 2, 2021 19:35
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

Do we have backport for galactic?

@Karsten1987
Copy link
Copy Markdown
Contributor Author

Karsten1987 commented Aug 2, 2021

My intention here was to see whether we could use the backport to Foxy within ros-control. We're still targeting Foxy at this point. I guess I'll only backport it to Galactic then and come up with a somewhat compatible version of wait_for_message within ros2_control.

The existing foxy API on_shutdown should suffice to handle the required action in case of a triggered shutdown.

@Karsten1987 Karsten1987 closed this Aug 2, 2021
@Karsten1987 Karsten1987 deleted the foxy_wait_for_message branch August 2, 2021 21:50
Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
@Karsten1987 Karsten1987 reopened this Aug 2, 2021
@Karsten1987
Copy link
Copy Markdown
Contributor Author

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

Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

@Karsten1987 that was quick 😄 thanks!

@Karsten1987
Copy link
Copy Markdown
Contributor Author

PR job as well as Windows test failures are unrelated to this change.

@Karsten1987 Karsten1987 merged commit dc3832c into foxy Aug 3, 2021
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