- Clone the repository
git clone github.com/tomhruby1/UnityRGBDmapping --recurse-submodules
- install ROS - tested on Ubuntu 20.04 + ROS Noetic
- install rosbridge package http://wiki.ros.org/rosbridge_suite
- Download TUM RGBD dataset .bag file for experiments - https://vision.in.tum.de/data/datasets/rgbd-dataset/download
- Create a Unity scene and add necessary components to hierarchy:
- ROSInitializer, CloudBuffer, VoxelMap, Integrator
- VoxelMapShading, and pointcloud object for visualization (if setup in CloudBuffer) requires MeshFilter and MeshRenderer components
- launch ROS core:
roscore
- launch ROS bridge:
roslaunch rosbridge_server rosbridge_websocket.launch
- run the downloaded dataset with provided .launch file:
roslaunch tum_rgbd_to_pcd.launch [bag_file_path]
- run the unity scene