Skip to content

Multicast over SubT comms is not allowed #604

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

Open
tpet opened this issue Sep 11, 2020 · 2 comments
Open

Multicast over SubT comms is not allowed #604

tpet opened this issue Sep 11, 2020 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@tpet
Copy link

tpet commented Sep 11, 2020

I am not able to bind to a multicast group.
E.g. the code below (excerpt from within a member function)

comms_client_ = std::make_shared<subt::CommsClient>("X1");
// subt::communication_broker::kMulticast == "multicast"
comms_client_->Bind(&SimpleRelay::comms_callback, this, subt::communication_broker::kMulticast, 20) // returns false

fails with
[ERROR 1599819990.746046087 /subt_ros_relay] OnBind address does not match origination. Attempted impersonation of a robot as robot[multicast].

I'm using an image based on osrf/subt-virtual-testbed:latest.

Is multicast supported for cave circuit? From the comms client docs it seems that it should be. ("kMulticast" doesn't work either.)

@nkoenig nkoenig added the help wanted Extra attention is needed label Sep 11, 2020
@AravindaDP
Copy link

@nkoenig @caguero Any updates on this? I also came across same issue and couldn't figure out how to properly use multicast functionality. Could there be a bug in underline CommsClient?

@peci1
Copy link
Collaborator

peci1 commented Feb 1, 2021

Solution proposed in #772.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants