Skip to content

Head tracker#158

Merged
pkendall64 merged 44 commits into
ExpressLRS:masterfrom
pkendall64:head-tracker
Apr 4, 2025
Merged

Head tracker#158
pkendall64 merged 44 commits into
ExpressLRS:masterfrom
pkendall64:head-tracker

Conversation

@pkendall64

Copy link
Copy Markdown
Contributor

Gigantic PR to add head-tracker support to the VRx.
This allows you to connect an IMU to the VRx ESP device (ESP8285, ESP32, ESP32C3, ESP32S3) via I2C and an interrupt pin.

Supported IMUs/Compasses are...

  • MPU6050 (6-dof IMU)
  • ICM42607P, ICM42607C, ICM42670P, ICM42670S, ICM42670T (6-dof IMU)
  • QMI8658C (6-dof IMU)
  • QMC8553L (compass)

The type of IMU/Compass is auto-detected at runtime.

The web-UI for the VRx has an extra tab for configuration of the board orientation and shows a model when the VRx board is in motion, as in the video below.

IMG_0896.mp4
IMG_0899.mp4

TODO:

Add max angle to each axis in the web UI so you can get full range of motion on the servos. As can be seen from the video the range of motion is not full because who is going to want 360degrees of motion normally!

reset centre on enable
# Conflicts:
#	html/elrs.css
#	html/scan.js
#	html/vrx_index.html
#	lib/CrsfProtocol/crsf_protocol.h
#	lib/WIFI/devWIFI.cpp
#	lib/config/config.cpp
#	lib/config/config.h
# Conflicts:
#	lib/WIFI/devWIFI.cpp
#	python/build_html.py
#	src/module_base.cpp
#	targets/common.ini
#	targets/debug.ini
Comment thread targets/rx5808.ini Outdated
@pkendall64 pkendall64 marked this pull request as ready for review September 26, 2024 01:09
@Yith1

Yith1 commented Feb 14, 2025

Copy link
Copy Markdown

I've recently moved to DJI goggles from HDZero goggles (I still use hdzero as well!) and now I need a Headtracking solution for those.

How is this moving along? Is there an easy guide to getting the system up and running? What hardware do I need in addition to an ELRS RX?

# Conflicts:
#	lib/WIFI/devWIFI.cpp
#	targets/debug.ini
@pkendall64 pkendall64 merged commit dff2ccc into ExpressLRS:master Apr 4, 2025
@pkendall64 pkendall64 deleted the head-tracker branch April 4, 2025 01:25
@NeariX67

Copy link
Copy Markdown

Is this feature documented anywhere?

@black-funny-cat

Copy link
Copy Markdown

I also can't find any information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants