1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
OptiRX
A pure Python library to receive motion capture data from OptiTrack Streaming Engine.
OptiTrack is a line of motion capture products by NaturalPoint. Their software can broadcast motion capture data via a documented binary protocol. It is supposed to be used together with the proprietary NatNet SDK, which, unfortunately, is not available for Python, nor cannot be used with free toolchains (GCC, Clang). OptiRX is based on the direct depacketization example from the SDK and does not use NatNet SDK.
Install
pip install optirx
Compatibility
Tracking Tools 2.5.0; Motive 1.5.x (NatNet 2.5.0.0), 1.7.x (NatNet 2.7.0.0).
Usage
Assuming that Tracking Tools or Motion runs on the same machine and broadcasting is enabled with the default parameters, this code receives and prints all data frames:
import optirx as rx
dsock = rx.mkdatasock()
version = (2, 7, 0, 0) # NatNet version to use
while True:
data = dsock.recv(rx.MAX_PACKETSIZE)
packet = rx.unpack(data, version=version)
if type(packet) is rx.SenderData:
version = packet.natnet_version
print packet
Alternatives
use VRPN streaming protocol.
use Matlab or Microsoft toolchains.
use PyNatNet and NatNet SDK
License
MIT
Metadata
Release files for optirx 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| optirx-1.9.zip | 13.3 kB | Without provenance | Details for optirx-1.9.zip | |
| optirx-0.3.tar.gz | 8.5 kB | Without provenance | Details for optirx-0.3.tar.gz |
Release files / optirx-1.9.zip
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | optirx-1.9.zip |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ffe807e1fe2bd3e30e39c5ccf09447f34ddfafa7e943ec19f4ba318f19d8cba
|
|
BLAKE2b-256 checksum How to use checksums |
a46ab796f3b9d5ce0e2a7577ba20864987f6943657e3817dc74bb61db740bbb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / optirx-0.3.tar.gz
| Download URL | optirx-0.3.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
360426130bf3d8babaab670b3f96bad0c64d7928dd3206380aaf74cc56966e78
|
|
BLAKE2b-256 checksum How to use checksums |
e40fa4259a1abdd6b1b3efa1d00425e04e098a7703ed35972f1fae37054bd7e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for optirx 0.3
Upload timing
Release file added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.