DIY Position Tracking Using HTC Vive's Lighthouse
From Alexander Shtuchkin:
Code & schematics for position tracking sensor using HTC Vive's Lighthouse system and a Teensy board.
- General purpose indoor positioning sensor, good for robots, drones, etc.
- 3d position accuracy: currently ~10mm; less than 2mm possible with additional work.
- Update frequency: 30 Hz
- Output formats: Text; Mavlink ATT_POS_MOCAP via serial; Ublox GPS emulation (in works)
- HTC Vive Station visibility requirements: full top hemisphere from sensor. Both stations need to be visible.
- Positioning volume: same as HTC Vive, approx up to 4x4x3 meters.
- Cost: ~$10 + Teensy 3.2 ($20) (+ Lighthouse stations (2x $135))
- Skills to build: Low complexity soldering; Embedded C++ recommended for integration to your project.
Comments (0)
This post does not have any comments. Be the first to leave a comment below.
Featured Product

IP Seals for Robots
Freudenberg Sealing Technologies' IPRS (Ingress Protection Seals for Robots) provides reliable protection for robotic systems operating in harsh environments. Designed to prevent dust, moisture, chemicals, and wear from compromising performance, IPRS extends service life and reduces maintenance. The adaptive Z-shaped geometry ensures sealing integrity under continuous motion, making it ideal for high-speed automation and outdoor applications. Manufactured with high-performance elastomers such as Fluoroprene XP and EPDM, IPRS offers exceptional resistance to lubricants, cleaning agents, and extreme temperatures. This makes it the perfect solution for six-axis robots, SCARA robots, AMRs, AGVs, and cobots.
With its low-friction design and durable materials, IPRS enhances energy efficiency and operational reliability in industrial and autonomous robotics. Learn more about our IPRS Seals