Hello,
we are university students working on the Ping360 sensor. Our goal is to create our own C++ driver that can connect to the sensor via UDP, without using the Ping Viewer software. We have tried to connect separately to both the Ping360 and Ping1d sensors, both positioned on the BlueROV2, with IP address “192.168.2.2” and UDP ports 9092 and 9090, respectively. The connection seemed to be established without problems on our part (client side), but we were not receiving any response from either Ping360 or Ping1d. However, we noticed on the BlueOS interface that “MAVLink Distances” was selectable for Ping1d. Activating this option allowed us to receive messages from Ping1d, but the messages were not the ones desired. Only the first message was the desired one, while all subsequent messages were of type “distance_simple” (ID = 1211, according to the Ping Protocol).
More precisely, when communicating with Ping1d with MAVLink Distances active and requesting a “protocol version,” we were indeed able to receive what we desired. However, subsequently sending any message resulted in a response of type “distance_simple”. Our goal requires not using MAVLink Distances. We think the issue might lie in having to perform some preliminary actions to establish the connection correctly. Could you help us solve this problem with connecting to the sensors on the BlueROV2?
Best regards.