schmidma / OptiTrack.jl

Receive NatNet messages from OptiTrack motion capture system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OptiTrack.jl

Receive NatNet messages from OptiTrack motion capture system

Quickstart Guide

using OptiTrack: OptiTrackConnection, receive, get_rigid_body_with_id

# create an UDP socket that listens for OptiTrack messages
connection = OptiTrackConnection()
# read a single message from the socket
mocap_frame = receive(connection)
# use the helper function to extract the body information for a given body id
get_rigid_body_with_id(body_id, mocap_frame)

About

Receive NatNet messages from OptiTrack motion capture system

License:MIT License


Languages

Language:Julia 100.0%