we recently switched to motive 2.0 and thus SDK 3.0.
Trying to run the python client in the sample folder of the SDK, however, I get strange results:
* parsing error leading to application crash:
Code: Select all
File "/home/dario/Downloads/NatNetSDK/Samples/PythonClient/NatNetClient.py", line 233, in __unpackMocapData
residual, = FloatValue.unpack( data[offset:offset+4] )
struct.error: unpack requires a bytes object of length 4
Code: Select all
File "/home/dario/Downloads/NatNetSDK/Samples/PythonClient/NatNetClient.py", line 81, in __unpackRigidBody
rot = Quaternion.unpack( data[offset:offset+16] )
struct.error: unpack requires a bytes object of length 16
Code: Select all
File "/home/dario/Downloads/NatNetSDK/Samples/PythonClient/NatNetClient.py", line 78, in __unpackRigidBody
pos = Vector3.unpack( data[offset:offset+12] )
struct.error: unpack requires a bytes object of length 12
Code: Select all
Received frame for rigid body 1
Received frame for rigid body 1064778954
Received frame for rigid body 196608
Received frame for rigid body 1188839327
Received frame for rigid body 3185192752
Received frame for rigid body 1075996262
Exception in thread Thread-1:
... [etc] ...
Regards
Dario Turchi