https://github.com/aaronjs99/datacollect

DataCollect: Data Collection from OptiTrack Motion Capture Cameras

https://github.com/aaronjs99/datacollect

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.4%) to scientific vocabulary

Keywords

3d-visualization center-of-mass marker-tracking motion-capture motive optitrack python rigid-body trajectory-analysis
Last synced: 6 months ago · JSON representation

Repository

DataCollect: Data Collection from OptiTrack Motion Capture Cameras

Basic Info
  • Host: GitHub
  • Owner: aaronjs99
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 4.88 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
3d-visualization center-of-mass marker-tracking motion-capture motive optitrack python rigid-body trajectory-analysis
Created 7 months ago · Last pushed 7 months ago
Metadata Files
Readme License

README.md

Data Collection from OptiTrack Motion Capture Cameras

This repository provides tools for visualizing the motion of a rigid body tracked by an optical motion capture system. It reads CSV data exported from Motive, extracts robot_link marker trajectories, computes the center of mass (CoM), and renders a 3D plot with initial and final configurations outlined.

Structure

datacollect/ ├── data/ ├── main.py # Main visualization script ├── LICENSE └── README.md

Usage

Make sure your CSV file is placed in the ./data/ directory. Then run:

bash python main.py

Features

  • Parses and filters only robot_link:Marker columns
  • Removes duplicated markers
  • Computes center of mass across frames
  • Visualizes:
    • Marker trajectories
    • Center of Mass trajectory
    • Polygon mesh at the initial and final marker positions

Dependencies

Make sure the following Python libraries are installed:

bash pip install pandas numpy matplotlib

Output Example

  • Each marker trajectory is drawn in a light color.
  • The CoM is shown in black.
  • Start shape (polygon): green
  • End shape (polygon): red

Notes

  • CSV format must follow Motive’s export style with metadata in the first few rows.
  • Only robot_link:Marker entries are used to compute rigid body motion.

License

MIT License (2025) – Aaron John Sabu

Owner

  • Name: Aaron John Sabu
  • Login: aaronjs99
  • Kind: user
  • Location: Los Angeles, California
  • Company: University of California Los Angeles

Mechanical and Aerospace Engineering PhD Candidate | Class of 2027 (hopefully)

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1