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.
- 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
- do "pip install pyrealsense2" in CMD
- 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 version.
- OR download precompiled plugin from this repository. Current versions are 4.26.2 and 4.27.0 and UE5EA, UE5Preview1
- Configure livelink to recieve on localhost.
-
Run script from repo with the command "py tracker.py", after you start it, it should show MHtrack in Livelink controller window. You can optinally add destination ips as arguments to the command. (ex: "py tracker.py 127.0.0.1 10.0.0.2", would send to 2 destinations)
-
Add livelink component to your camera
- choose MHtrack as your "Subject representation"
Thats it!