ros-drivers / mocap_optitrack

ROS nodes for working with the NaturalPoint Optitrack motion capture setup
99 stars 141 forks source link

Getting mocap_optitrack to work with motive 1.9 and ros hydro #20

Closed ngonzo95 closed 7 years ago

ngonzo95 commented 8 years ago

Hi,

I trying to get data steaming between motive 1.9 and ROS hydro working. I set the multicast interface to the IP of the computer with ROS on it and I keep getting the following error:

Joining multicast group 192.168.1.10... terminate called after throwing an instance of 'SocketException' what(): Failed to set socket option: EINVAL

do you know what could be causing this? I have tried this on both the master branch and the new-and-old-support branch

Thanks, Nick

xuyongzhi commented 8 years ago

I solved this error. The multicast group ip set in motive should not be the ip of the computer running motive. But should be another one like 239.255.42.99.