gz-transport icon indicating copy to clipboard operation
gz-transport copied to clipboard

Talking across versions

Open osrf-migration opened this issue 5 years ago • 2 comments

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

  1. Install ign-transport6 and ign-transport7

  2. Clone branch multi-version (e3cc0985b1ea83097fec0049cbac2ce1d4878655), where I created a little example that has 2 publishers and 2 subscribers

  3. Compile the example:

     cd multi-version
     mkdir build
     cd build
     cmake ..
     make
    
  4. On one terminal, start subscriber6:

     cd build
     ./subscriber6
    
  5. On another terminal, start subscriber7:

     cd build
     ./subscriber7
    
  6. On another terminal, start publisher6:

     cd build
     ./publisher6
    

    Only subscriber6 will receive the message

  7. Now try publisher7, and only subscriber7 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.

osrf-migration avatar Apr 18 '19 21:04 osrf-migration