Code Monkey home page Code Monkey logo

motionserver's Introduction

Overview

MotionServer is a Windows command line tool that converts motion capture data from multiple sources to the NatNet format and streams it to the network.

Latest development sources can be found on github.

For copyright reasons, this project does not contain the sources, libraries, and DLLs for the Cortex and the NatNet SDKs. Those files need to be downloaded from OptiTrack, or requested via email from MotionAnalysis.

Please note that the OptiTrack update of the NatNet SDK to v3 in September 2017 has changed the bitstream syntax in a way that might make it incompatible with the other Motion Server clients. Please use SDK v2.10 until this problem has been resolved.

Folder structure

  • include/ Folder for include files from the NatNet SDK 2.10 and other Motion Capture system SDKs (e.g., Cortex)
  • lib32/ Folder for 32 bit libraries from the NatNet SDK 2.10 and other Motion Capture system SDKs (e.g., Cortex)
  • src/ MotionServer source files
  • Hardware Files related to hardware, e.g., the XBee interaction controller configuration files

Command-Line Options

Generic Operation

  • -h Print help to sceen and exit
  • -serverName <name> Define the name of the MotionServer instance (default: MotionServer)
  • -serverAddress <address> Define the IP address of the MotionServer instance (default: 127.0.0.1)
  • -multicastAddress <address> Define the Multicast IP Address of the MotionServer instance (default: disabled, using Unicast)
  • -interactionControllerPort <number> COM port of XBee interaction controller (default: 0=disabled, -1: scan for controller)
  • -readFile <filename> Read MoCap data from a file
  • -writeFile Write MoCap data into timestamped files

Specific to Cortex

  • -cortexRemoteAddress <address> IP Address of the computer operating Cortex (can be localhost or 127.0.0.1)
  • -cortexLocalAddress <address> IP Address of the local interface connecting to Cortex (usually only necessary in case of several network cards)

Commands during runtime

Generic commands

  • q Quit server
  • r Restart server
  • p Pause/unpause server
  • d Print current scene description
  • f Print current scene data

MoCap Module specific commands

Simulator

  • enableTrackingLoss Enables the loss of tracking for short periods of time
  • disableTrackingLoss Disables the loss of tracking (i.e., provides 100% reliable data)

Cortex

  • enableUnknownMarkers Send data for markers that cannot be associated with an actor (This data is not available in the Java and Unity client implementations - yet)
  • disableUnknownMarkers Do not send data for markers that cannot be associated with an actor

motionserver's People

Contributors

asseal avatar stefanmarks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

asseal shahong320

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.