Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Updated rmw_* return codes#463

Merged
ahcorde merged 3 commits intomasterfrom
ahcorde/test/rmw_implementation
Sep 25, 2020
Merged

Updated rmw_* return codes#463
ahcorde merged 3 commits intomasterfrom
ahcorde/test/rmw_implementation

Conversation

@ahcorde
Copy link
Copy Markdown
Contributor

@ahcorde ahcorde commented Sep 23, 2020

Updated return codes for unimplemented rmw___allocation functions. Related with this PR ros2/rmw_implementation#137

Signed-off-by: ahcorde ahcorde@gmail.com

Signed-off-by: ahcorde <ahcorde@gmail.com>
Copy link
Copy Markdown

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM, but before merging, would you mind opening a PR against rmw to add this error code to the API spec?

@ahcorde
Copy link
Copy Markdown
Contributor Author

ahcorde commented Sep 23, 2020

@hidmic
Copy link
Copy Markdown

hidmic commented Sep 23, 2020

It's defined in rmw, but the API spec of the these functions does not mention that they can return such code (even though in practice they are unsupported).

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde changed the title Updated rmw_*_*_allocation return codes Updated rmw_* return codes Sep 24, 2020
@hidmic
Copy link
Copy Markdown

hidmic commented Sep 24, 2020

I think the PR title needs clarification of what's being changed.

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde requested a review from hidmic September 25, 2020 08:47
@ahcorde
Copy link
Copy Markdown
Contributor Author

ahcorde commented Sep 25, 2020

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

@hidmic
Copy link
Copy Markdown

hidmic commented Sep 25, 2020

CI up to test_rmw_implementation and rcl, against all Tier 1 RMW implementations:

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

@ahcorde ahcorde merged commit 81caed2 into master Sep 25, 2020
@delete-merged-branch delete-merged-branch bot deleted the ahcorde/test/rmw_implementation branch September 25, 2020 15:32
ahcorde added a commit that referenced this pull request Oct 9, 2020
* Updated rmw_*_*_allocation return codes

Signed-off-by: ahcorde <ahcorde@gmail.com>

* Fixed error codes in rmw_wait and rmw_destroy_wait

Signed-off-by: ahcorde <ahcorde@gmail.com>

* Used RMW_CHECK_ARGUMENT_FOR_NULL

Signed-off-by: ahcorde <ahcorde@gmail.com>
ahcorde added a commit that referenced this pull request Oct 15, 2020
* Updated rmw_*_*_allocation return codes

Signed-off-by: ahcorde <ahcorde@gmail.com>

* Fixed error codes in rmw_wait and rmw_destroy_wait

Signed-off-by: ahcorde <ahcorde@gmail.com>

* Used RMW_CHECK_ARGUMENT_FOR_NULL

Signed-off-by: ahcorde <ahcorde@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants