mje-nz / python_natnet

Python NatNet client library, supporting protocol version 3 (Motive version 2.0).
BSD 3-Clause "New" or "Revised" License
14 stars 15 forks source link

multicast assertion #1

Open DarioTurchi opened 6 years ago

DarioTurchi commented 6 years ago

Hello, running the code I get the following error:

  File "/usr/local/lib/python3.5/dist-packages/natnet-0.1.0-py3.5.egg/natnet/comms.py", line 399, in _simple_connect
    assert server_info.connection_info.multicast
AssertionError

Is that assertion necessary ? Motive allows to broadcast data in either multicast or unicast mode. For example, multicast messages are not allowed within my company and thus filtered by the router. I would thus need to use unicast communication.

Thank you

mje-nz commented 6 years ago

That assertion is there because I only use multicast mode and haven't implemented unicast mode. I'll put it on my list, but I can't promise I'll get to it soon.