ms-iot / ros_msft_mrtk

This repository contains ROS2 bindings for the Mixed Reality Toolkit - allowing you to create VR and AR applications which reflect sensor data from a Robot or provide command and control
MIT License
65 stars 10 forks source link
hololens mrtk-ros-application ros-development ros2 unity

Mixed Reality Toolkit for ROS2 Overview

The MRTK for ROS is being developed in the open: Feature requests are very much welcome at the issues page.

The Robot Operating system - also called ROS [^1] - is an open source middleware for creating Robots. This repository implements glue which connects your Mixed Reality Robotics application with Robots and infrastructure using ROS2. ROS2 runs directly on the Hololens without going through ROS Bridge - reducing latency and improving network efficiency. The ROS2 MRTK extension works with ROS2.net[^2] within the Unity Game engine, allowing you to write ROS2-like code directly in Unity.

The Mixed Reality Toolkit is an Open Source framework for building Virtual Reality and Augmented Reality applications, which target numerous platforms - including Hololens.

Getting started with ROS2 on Hololens 2.

This depends on ROS2 Foxy UPM supplied by Microsoft. Windows is required for Hololens and Windows Mixed Reality development. MRTK for ROS2 development will not be supported on other platforms.

Prerequsitites

Create your application

You can now add scenes from the ROS MRTK extension or use individual components in your application.

Sample Scene to bootstrap your application

One you have configured the application above, you can now add components to your scene to define your application. A Sample scene is provided which demonstrates spatial pinning and Lidar visualization.

Contributions

Contributions are welcome. Refer to the Contribution Process for more details.

[^1]: ROS is a trademark of Open Robotics. [^2]: ROS2.net is maintained by the ROS2.net maintainers and community.