Monado
Work In Progress documentation on how to setup

Installing Third Party Dependencies

Intel Realsense

Download librealsense for intel's github repo.
librealsense/distribution_linux.md at master · IntelRealSense/librealsense
GitHub
Install using the following commands
1
sh
2
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
3
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo focal main" -u
4
sudo apt-get install librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-dbg
Copied!

Installing Monado Dependencies

1
sudo apt install build-essential cmake libgl1-mesa-dev libvulkan-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-glx0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev mesa-common-dev
2
git clone https://github.com/KhronosGroup/OpenXR-SDK.git
3
cd OpenXR-SDK
4
cmake . -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -Bbuild
5
ninja -C build install
Copied!
1
sh
2
sudo add-apt-repository ppa:monado-xr/monado
3
sudo apt-get update
4
sudo apt install libopenxr-loader1 libopenxr-dev libopenxr-utils build-essential git wget unzip cmake meson ninja-build libeigen3-dev curl patch python3 pkg-config libx11-dev libx11-xcb-dev libxxf86vm-dev libxrandr-dev libxcb-randr0-dev libvulkan-dev glslang-tools
5
libglvnd-dev libgl1-mesa-dev ca-certificates libusb-1.0-0-dev libudev-dev libhidapi-dev libwayland-dev libuvc-dev libavcodec-dev libopencv-dev libv4l-dev
6
libcjson-dev libsdl2-dev libegl1-mesa-dev
Copied!
1
sh
2
git clone https://gitlab.freedesktop.org/monado/monado.git
3
cd monado
4
meson build
5
sudo ninja -C build install -j24
Copied!

Testing the build

To test that Monado was built properly run the following tests with the example configuration files:
1
sh
2
mkdir -p ~/.config/monado
3
cp doc/example_configs/config_v0.json.northstar_lonestar ~/.config/monado/config_v0.json
Copied!
1
sh
2
rs-ar-advanced #test that t26x is working
3
sudo leapd
4
5
NS_CONFIG_PATH=$(pwd)/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json monado-service
6
hello_xr -g Vulkan
Copied!