Skip to content

Headtracking using an Arduino+BNO-055 together with OpenTrack+Hatire

License

PasswordIs0000/arduino_headtracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Headtracker

Overview

This is a headtracker that uses an Arduino Micro and a BNO-055 9-axis INU sensor. The goal is to read the values from the sensor and send them in useful form over the serial connection. On the PC, OpenTrack can receive this data with the Hatire plugin. The software tries to compute an exponentially decaying mean of the gyroscope readings in order to automatically re-center if the head position is only slightly off and also to automatically remove gyroscope drift. In my OpenTrack configuration I'm sending a 'C' character on start. This will centre the gyroscope readings in the Arduino. I then have a keybind in OpenTrack to restart the tracking. This allows to re-centre in a neutral head position. Re-centre and drift correction is done on the Arduino, so OpenTrack should always receive 0 degrees as the neutral position.

Required Arduino Libraries

Required PC Software

About

Headtracking using an Arduino+BNO-055 together with OpenTrack+Hatire

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages