frankaemika / libfranka

C++ library for Franka research robots
https://frankaemika.github.io
Apache License 2.0
244 stars 158 forks source link

libfranka: UDP receive: Timeout #165

Closed hesic73 closed 2 weeks ago

hesic73 commented 2 weeks ago

System Details

When attempting to run communication_test, I encounter a UDP receive timeout error:

$./examples/communication_test 172.16.0.2
libfranka: UDP receive: Timeout

The Franka arm is reachable via a ping test. However, the issue may be related to our network controller hardware.

Suspected Cause

This may be related to https://github.com/frankaemika/libfranka/issues/46.

Our workstation uses an onboard RTL8111/8168/8411 network controller, while the minimum system requirements specify a network card supporting 100BASE-TX. Additionally:

sgabl commented 2 weeks ago

Hi @hesic73, thanks for providing the details. Your robot is on the quite old FER SW version 4.0.4 - 2020-10-05 compared to the 'recent' 4.2.2 - 2022-08-11. By any chance, can you perform an upgrade?

This error occurs if the connection to the FCI (via TCP) is OK, but the robot state for running the control loop can not be received by libfranka. Please check that your workstation’s firewall does not block incoming UDP packets (see sudo iptables -L).

If that does not help, please use wireshark or tcpdump to record a short pcap file and send it together with the logs of the robot to support@franka.de.

hesic73 commented 2 weeks ago

Hello, I've identified the issue—it was due to the firewall blocking UDP on that port. Thank you for your assistance!