IMRCLab / motion_capture_tracking

ROS Package for different motion capture systems, including custom rigid body tracking support
MIT License
25 stars 24 forks source link

no data received when the PC is connected to WIFI #11

Closed xiaoshan-lin closed 7 months ago

xiaoshan-lin commented 7 months ago

We use this package (with the official SDK) to get data from Optitrack. Everything works fine when the PC is only connected to ethernet. But it shows "no data received" when the PC is connected to WIFI and ethernet. We ran ./sampleclient 192.168.1.133 in the NatNetSDKCrossplatform package and were able to receive raw data from optitrack. Running ./packetsamplecilent 192.168.1.133 doesn't output anything except the package version.

Do you have any idea about why this package couldn't receive data when the PC is connected to WIFI?

Thank you!

whoenig commented 7 months ago

Any reason why you don't just use the official SDK backend?

xiaoshan-lin commented 7 months ago

We are indeed using the official SDK. Connecting the PC to the WIFI router with an ethernet cable solves this issue. I will close the issue here. Thank you!