-
Notifications
You must be signed in to change notification settings - Fork 68
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
std::unique_ptr not supported #31
Comments
Is there any update? |
duplicate with #28 which is already answered by https://answers.ros.org/question/325146/how-can-i-implement-efficient-intra-process-communication-with-message-filters/ |
can be closed. |
I'm also finding myself needing this. Any update?
I wouldn't close this issue, the answer provided only proposes a workaround, it would be nice to have a PR for this if it's a viable solution approved by the maintainers |
I agree. I will try to implement if I have time, but I'm not making any real commitment, so feel free to do the same and open a PR pointing to this issue. |
Moreover, be aware that rolling supports Type Adaptation (did a PR some time ago #95). This means that, in conjunction with intra-process comms, we would be able then to leverage the full spectrum of solutions to optimize wide ROS data exchange. |
I'm giving it a look. It made be worth a try just to add |
To be completely honest, it seems to me that: May I ask to you all to verify? |
@tonynajjar @AndreasAZiegler may I ask you to test #103 and see if you get any performance gain? |
Hey, I can try tomorrow. What should I be on the lookout for exactly? CPU consumption? Anything else? |
@tonynajjar was the address already the same in previous test of yours? Because otherwise I may have lost the meaning of the problem in your previous comment:
May I ask you to clarify what was the issue/need, if different? |
When I made my first comment I hadn't tested anything yet, I was about to start working on a project in which I needed message_filters to support IPC and I took it for granted that it doesn't because of this ticket. Now I did some tests on a particular setup of mine and without your changes, I'm able to get the same msg address for both the publisher and the message_filters subscriber. That's the only indication I know of that suggests that IPC is working. Currently I don't have a minimal reproducible example I can share, I'll try to find some time for that |
Ok, nice to know. Then, I do not see any other internal copy or other blocking issue preventing |
@clalancette at least now we know this one has to be closed again then ;) |
In order to get zero-copying inter-communication,
std::unique_ptr
are required. Unfortunately message_filters does not yet supportstd::unique_ptr
.The text was updated successfully, but these errors were encountered: