Hello all together,
I am wondering if anybody has experience using the OptiTrack SDK from python. The manual just states "there is support for python", but then falls silent. I haven't seen any *.py files in the SDK directory hierarchy, either.
I am more used to Mac and Unix than Windows - we are just in the process of setting up a WinPC for use with OptiTrack and Arena and we have to find a way to get our motion data to Maya, but the programming knowledge of our users centers more around Java and Python, definitely not C/C++.
-- Juergen
OptiTrack SDK and python
Re: OptiTrack SDK and python
We don't ship any python specific bindings or wrappers, but python on windows should have the ability to access the SDK using COM.
If you are looking to capture the realtime streaming data from ARENA, you may want to look in to using the NatNet SDK from the download section of our website. It is C/C++ centric, but is the best way to capture the realtime ARENA data right now. We are looking in to the possibility of adding VRPN export to ARENA as well, but it is not available at the moment.
If you are looking to capture the realtime streaming data from ARENA, you may want to look in to using the NatNet SDK from the download section of our website. It is C/C++ centric, but is the best way to capture the realtime ARENA data right now. We are looking in to the possibility of adding VRPN export to ARENA as well, but it is not available at the moment.
Re: OptiTrack SDK and python
as far as NP SDK and python go, you'll want to use pywin32 to access the NP COM objects. Its usually installed by default with most windows based pythons. you wont be able to pickle raw com objects. but you will be able to copy their data to a pure python class of your own design and then pickle that class, thereby getting you out of windows specific python code ASAP.