An Oculus Rift DK1 compatible motion tracker based on the STM32F3DISCOVERY board