<tangent discussion moved from original post to its own topic>
Bridges are currently the only thing stopping me from switching to BlueOS.
I’ve already tried 1.1.0-beta6 version yesterday. In comparison to the 1.0.1, now I can establish bridge between Arduino connected to USB but I still cannot read data from UDP. I’m using simple application wrote in Matlab. It works without any issues when using Companion (0.0.31) but when the bridge is established using BlueOS, Matlab states that the UDP is in use with other process
Perhaps I am doing something wrong. Do I only need to create a bridge on the “Bridges” page to set up USB to UDP data routing? Should I still look somewhere else in BlueOS?
Below are the Routing settings on Companion, on which I manage to read data from the Arduino. On the BlueOS I’m trying to use the same values.
Not sure what’s going on there, so I’ve brought it up internally to try to get some clarity.
Given your topside application is saying the UDP port is in use, it would seem like there’s something else on your topside computer that’s connected to the same port, but if that’s the case I would expect it to also fail to connect when using the Companion software instead of BlueOS. Does it work to use a different port, and/or does it work after restarting your topside computer, or with a different computer?
Ok, so after several attempts I still can’t manage to establish a working UDP.
I first tried the settings as I was using in Companion (when running on Companion these settings work with both Matlab and other UDP reading programs without any problems). It is not possible to create a bridge at all.
On the first image you are configuring Companion to connect over a UDP Server running on the surface computer (192.168.2.1) with an UDP Client, on the BlueOS you are configuring a UDP Server when using the local ROV IP (192.168.2.2 / 0.0.0.0), for that to work, your matlab code will need to be a UDP Client.
That’s a temporary solution while we are fixing the issue, be sure to send something from the matlab code to register your UDP client.