Giter Site home page Giter Site logo

knmcguire / libmotioncapture Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imrclab/libmotioncapture

0.0 1.0 0.0 215 KB

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

License: MIT License

CMake 5.49% C++ 88.38% Python 5.09% Shell 1.04%

libmotioncapture's Introduction

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

libmotioncapture's People

Contributors

ataffanel avatar duguguang avatar jaredpaquet4ufl avatar jpreiss avatar netkimjh avatar newmagic avatar whoenig avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.