RoboSense-LiDAR/rslidar_sdk

Not receiving any messages with error: ERRCODE_MSOPTIMEOUT

maxpolzin opened this issue · 5 comments

We have a BPearl Lidar (IP 192.168.1.200) and it is connecting to a freshly installed Ubuntu 22.04 host running ROS2 Humble. Wireshark sees UDP packages on the ports 6699 and 7788. The ROS2 drivers compile just fine, though when starting at a rate of 1Hz this error is shown:

ERRCODE_MSOPTIMEOUT

Do you have any ideas how to resolve it? Thank you for your help in advance.

I am attaching screenshots to show the configurations in detail.

image
image
image
image
image

Do you allow the ports to pass the firewall?

I had the same issue. I managed to resolve it by running the following commands:
$ sudo ufw allow 6699/udp
$ sudo ufw allow 7788/udp

@JTShuai and @nawfalz: Thank you for your inputs.

Enabling the ports in the firewall has resolved the issue!

What was puzzling me to this point was able to receive and record packages with Wireshark. I didn't understand how Wireshark and the Firewall interplayed.

@JTShuai and @nawfalz: Thank you for your inputs.

Enabling the ports in the firewall has resolved the issue!

What was puzzling me to this point was able to receive and record packages with Wireshark. I didn't understand how Wireshark and the Firewall interplayed.

Wireshark operates "before" firewall and sees all the packets that the network card receives. Then the packets get filtered by the firewall.

For more information, please check the link: https://ask.wireshark.org/question/31184/wireshark-capture-packets-after-or-before-firewall/