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
它提供了一種在 PC(Linux、macOS 與 Windows)上連接並使用 Sony Move 動作控制器的方法,無需 PlayStation 3 主機。它特別解決了取得控制器資料與在 3D 空間中追蹤其位置,以供自訂應用程式使用的問題。
How it works
此函式庫透過 Bluetooth 與 USB 與控制器連線。它使用 PS Eye 相機或其他相容的相機來源,搭配 OpenCV 來在 3D 空間中追蹤最多五支控制器。為了判斷控制器的方向,它採用開源的 AHRS(姿態與航向參考系統)演算法,並利用感測器融合結合慣性傳感器的資料。
Who it’s for
開發增強實境(AR)與虛擬實境(VR)應用的開發者,想要使用價格低廉且已有的動作追蹤硬體。
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.