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

Dynamic Subscription (BONUS: Allocators): rclcpp #2160

Closed
wants to merge 31 commits into from

Conversation

methylDragon
Copy link
Contributor

Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
@methylDragon methylDragon force-pushed the runtime_interface_reflection_allocators branch from 165fbd3 to 32859cd Compare April 9, 2023 06:48
@methylDragon methylDragon force-pushed the runtime_interface_reflection_allocators branch 3 times, most recently from 0fd00b4 to d3077b2 Compare April 10, 2023 04:20
@methylDragon methylDragon force-pushed the runtime_interface_reflection_allocators branch from d3077b2 to 8447d36 Compare April 10, 2023 05:33
@methylDragon methylDragon force-pushed the runtime_interface_reflection_allocators branch from c52f250 to c8734b3 Compare April 10, 2023 16:19
@wjwwood
Copy link
Member

wjwwood commented Apr 10, 2023

I think we could just roll this one into #2077, since it hasn't been merged yet and needs review still.

@methylDragon
Copy link
Contributor Author

I agree :>, but I'll leave that one open for now until the refactor PRs are in (since this depends on those)

Copy link
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.

I took a brief look here, and pointed out a couple of potential problems.

Comment on lines -235 to +247
bool
is_serialized() const;
SubscriptionType
get_subscription_type() const;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just as an FYI, we are going to have to tick-tock this public API.

rclcpp::MessageInfo message_info;
message_info.get_rmw_message_info().from_intra_process = false;

if (subscription->is_serialized()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We'll want to coordinate with @mjcarroll and @alsora here, as this could run into conflict with what they are doing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll wait for their responses!

Copy link
Member

Choose a reason for hiding this comment

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

I don't think that anything here conflicts with the other executor changes. The execute_* family of functions deals with how to actually dispatch the work, while what I have been working on has been how that work is queued up.

@alsora what do you think?

@methylDragon
Copy link
Contributor Author

methylDragon commented May 3, 2023

Closing in favor of:

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.

4 participants