-
Notifications
You must be signed in to change notification settings - Fork 393
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
Make udpm loopback configurable? #477
Comments
How is this happening? Could you explain a bit more about your setup or provide a minimal-reproducible-example? |
Thanks for your reply. A minimal example is:
with the result:
But this is expected isn't it? It makes sense for most applications but this particular application will bridge between LCM and something else. I convert messages from the other system into LCM and visa-versa. The problem is I cannot subscribe to '.*' in LCM because I receive my own proxied messages and end up sending them back to the other system. |
By the time the callback is triggered I don't have access to any information about it's source do I? Otherwise I would filter it there. |
Sorry for taking so long to respond. If I'm understanding your setup (and I may not be), there may be a way to do this with channels. If you have a setup where non-LCM system A needs to send to LCM system B through a proxy, then you could do this.
If it also needs to go the other way, i.e. system B needs to send back to system A, then you will probably want to setup an additional channel for system B to publish to, which the proxy will subscribe to.
I haven't tested this setup so I'm not confident it will solve your problem. There may be other ways to solve this, e.g. using different IP:PORT configurations for the various systems. |
In some of my LCM applications it would be beneficial to not receive my own messages (udpm transport).
It looks like the code has been written to specifically enable this behaviour. Is there any appetite to make it (or accept PRs that make it) configurable?
Or does anyone have a suggestion as to how I can do this without modifying lcm itself? My target language/platform is c++ on Ubuntu 18.04/22.04.
The text was updated successfully, but these errors were encountered: