thp/psmoveapi
Cross-platform library for 6DoF tracking of the PS Move Motion Controller. Sensor fusion, computer vision, ambient display (LED orb).
What it solves
It provides a way to connect and use Sony Move Motion Controllers on a PC (Linux, macOS, and Windows) without requiring a PlayStation 3 console. It specifically solves the problem of accessing controller data and tracking their position in 3D space for use in custom applications.
How it works
The library connects to controllers via Bluetooth and USB. It uses a PS Eye camera or other compatible camera sources with OpenCV to track up to five controllers in 3D space. To determine the controller's orientation, it employs an open-source AHRS (Attitude and Heading Reference System) algorithm and sensor fusion to combine data from inertial sensors.
Who it’s for
Developers creating augmented reality (AR) and virtual reality (VR) applications who want to use affordable, existing motion-tracking hardware.
Highlights
- Cross-platform support: Works on Linux, macOS, and Windows.
- 3D Tracking: Supports tracking up to 5 controllers simultaneously using OpenCV.
- Sensor Fusion: Uses AHRS algorithms for precise orientation tracking.
- Hardware Compatibility: Supports extension devices like the Racing Wheel and Sharp Shooter.
- Language Bindings: Core C library with C++ headers and Python 3 bindings.