/t265_UE

Intel Realsense t265 into Unreal Engine

Primary LanguagePythonMIT LicenseMIT

t265_UE

Intel Realsense t265 into Unreal Engine. Windows only.

Simple script that sends data into Unreal Engine through the JSON liveLink plugin. Works with both location and rotation.

Instructions

  1. Install python 3.7.9, and remember too add it to PATH https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe
  2. do "pip install pyrealsense2" in CMD
  3. Create a c++ project, and install JSON-Livelink Enhanced plugin into your project - https://github.com/clintonman/JSONLiveLink/tree/enhanced When its built, it can be copied to other non c++ projects in the same version5.
  4. OR download precompiled plugin from this repository. Current versions are 4.26.2 and 4.27.0
  5. Configure livelink to recieve on localhost.

image

  1. Run script from repo with the command "py tracker.py", after you start it, it should show MHtrack in Livelink controller window

  2. Add livelink component to your camera

image

  1. choose MHtrack as your "Subject representation"

image

Thats it!