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

Stub out new allocation APIs.#353

Merged
mjcarroll merged 3 commits intomasterfrom
rmw_preallocate
May 2, 2019
Merged

Stub out new allocation APIs.#353
mjcarroll merged 3 commits intomasterfrom
rmw_preallocate

Conversation

@mjcarroll
Copy link
Copy Markdown
Member

Connects to ros2/rmw#159

Signed-off-by: Michael Carroll <michael@openrobotics.org>
@mjcarroll mjcarroll added the in progress Actively being worked on (Kanban column) label May 1, 2019
@mjcarroll mjcarroll mentioned this pull request May 1, 2019
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Copy link
Copy Markdown
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Just the question about error handling in the stubs.

const rosidl_message_bounds_t * message_bounds,
rmw_publisher_allocation_t * allocation)
{
// Unused in current implementation.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As with the other rmw implementations, I think we should probably return an error here and below.

Signed-off-by: Michael Carroll <michael@openrobotics.org>
@mjcarroll mjcarroll merged commit 12629a0 into master May 2, 2019
@delete-merged-branch delete-merged-branch bot deleted the rmw_preallocate branch May 2, 2019 16:31
@mjcarroll mjcarroll removed the in progress Actively being worked on (Kanban column) label May 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants