gz-transport
gz-transport copied to clipboard
Talking across versions
Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).
Description
It's possible to install 2 ign-transport versions side-by-side, but they don't seem to be able to talk to each other. Not sure if that's expected.
Steps to Reproduce
-
Install
ign-transport6
andign-transport7
-
Clone branch multi-version (e3cc0985b1ea83097fec0049cbac2ce1d4878655), where I created a little example that has 2 publishers and 2 subscribers
-
Compile the example:
cd multi-version mkdir build cd build cmake .. make
-
On one terminal, start
subscriber6
:cd build ./subscriber6
-
On another terminal, start
subscriber7
:cd build ./subscriber7
-
On another terminal, start
publisher6
:cd build ./publisher6
Only
subscriber6
will receive the message -
Now try
publisher7
, and onlysubscriber7
will receive the message.
Expected behavior:
Both subscribers receive messages from both publishers.
Actual behavior:
Only pub/sub with matching versions can see each other.
Reproduces how often:
100%
Versions
Tested with 6/7
Additional Information
Again, I'm not sure if this is expected. If it is, we can close this issue, but be more strict with our transport / msgs versions on all Ignition libraries.