NOKOV-MOCAP / libmotioncapture

Interface Abstraction for Motion Capture System APIs such as VICON or Nokov

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI

libmotioncapture

Interface Abstraction for Motion Capture System APIs such as VICON, OptiTrack, Qualisys, Nokov, or VRPN.

This can be used as C++ library or Python package. For Python, use

pip install motioncapture

For C++, follow the instructions below.

This is a fork of https://github.com/USC-ACTLab/libmotioncapture/ with the following changes:

  • Python bindings
  • Factory method
  • Refactored API
  • Support for VRPN by default

Compile options

By default, libmotioncapture supports the following hardware:

  • VICON - SDK git submodule
  • Qualisys - SDK git submodule
  • OptiTrack - binary parsing over network (no dependency)
  • VRPN - SDK git submodule
  • NOKOV - manually obtain SDK and copy to deps/nokov_sdk/ and copy the .so file to the /lib or /usr/lib.

CMake flags can be used to disable individual systems in CMakeLists.txt.

Prerequisites

sudo apt install libboost-system-dev libboost-thread-dev libeigen3-dev ninja-build

C++

git submodule init
git submodule update
mkdir build
cd build
cmake ..

An example application is in examples/main.cpp. Run it using

./motioncapture_example <mocap type> <ip address>

Python (Development)

git submodule init
git submodule update
python3 setup.py develop --user
python3 examples/python.py

About

Interface Abstraction for Motion Capture System APIs such as VICON or Nokov

License:MIT License


Languages

Language:C++ 88.4%Language:CMake 5.5%Language:Python 5.1%Language:Shell 1.0%