-
Notifications
You must be signed in to change notification settings - Fork 15
HMD Optical Hand tracking and MANUS automatic installation #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
timvw-manusvr
wants to merge
18
commits into
NVIDIA:main
Choose a base branch
from
manusvr:manus/hmd-hand-tracking
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
4f7e275
Updated README
e15deb2
Updated readme, log formatting and iinstallation script
a9d5a14
Added some clarifcation to the manual setup process
db05a75
github copilot feedbback
cf900c5
implemented all coderabbit suggestions
e38da81
Updated readme and converted it to .rst files
90170fd
Fixed incude issue due to rebase and improved language in printer
0c06f95
Expanded tracker printer with a visualization
08cdb49
Clarify CLI use
fe561dc
Removed full instalation script, abstracted out the rules and updated…
6270da6
Coderabbit feedback
02eb34f
Coderabbit nitpicks
2504161
Remove Isaac lab start script
706e510
pre-commit linting fixes
074ea02
clang-format manus_hand_visualizer.hpp
68efa9d
clang formatting
7a10fae
clang formatting
99043c4
oxr_funcs: declare xrEnumerateInstanceExtensionProperties under XR_NO…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,3 +19,4 @@ See the `Plugins directory <https://github.com/NVIDIA/IsaacTeleop/tree/main/src/ | |
|
|
||
| trackers | ||
| add_device | ||
| manus | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,183 @@ | ||
| .. | ||
| SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| Manus Gloves | ||
| ============ | ||
|
|
||
| A Linux-only plugin for integrating `Manus <https://www.manus-meta.com/>`_ gloves | ||
| into the Isaac Teleop framework. It provides full hand-joint tracking via the | ||
| Manus SDK and injects the resulting poses into the OpenXR hand-tracking layer so | ||
| any downstream retargeter can consume them transparently. | ||
|
|
||
| Components | ||
| ---------- | ||
|
|
||
| - **Core library** (``manus_plugin_core``) — wraps the Manus SDK | ||
| (``libIsaacTeleopPluginsManus.so``) and exposes per-joint tracking data. | ||
| - **Plugin executable** (``manus_hand_plugin``) — the main plugin binary that | ||
| integrates with the Teleop system via CloudXR / OpenXR. | ||
| - **CLI tool** (``manus_hand_tracker_printer``) — a standalone diagnostic tool | ||
| that prints tracked joint data to the terminal and opens a real-time | ||
| **MANUS Data Visualizer** window showing the hand skeleton from two orthographic | ||
| views per hand. | ||
|
|
||
| Prerequisites | ||
| ------------- | ||
|
|
||
| - **Linux** — x86_64 (tested on Ubuntu 22.04 / 24.04). | ||
| - **Manus SDK** for Linux — downloaded automatically by the install script. | ||
| - **System dependencies** — the install script installs required packages automatically. | ||
|
|
||
| Installation | ||
| ------------ | ||
|
|
||
| Automated (recommended) | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| The install script handles SDK download, dependency installation, and building: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| cd src/plugins/manus | ||
| ./install_manus.sh | ||
|
|
||
| The script will: | ||
|
|
||
| 1. Install the required system packages for MANUS Core Integrated. | ||
| 2. Download MANUS SDK v3.1.1. | ||
| 3. Extract and place the SDK in the correct location. | ||
| 4. Build the plugin and the diagnostic tool | ||
|
|
||
| Manual | ||
| ~~~~~~ | ||
|
|
||
| If you prefer to install manually: | ||
|
|
||
| 1. Download the MANUS Core SDK from | ||
| `MANUS Downloads <https://docs.manus-meta.com/3.1.1/Resources/>`_. | ||
| 2. Extract and place the ``ManusSDK`` folder inside ``src/plugins/manus/``, or | ||
| point CMake at a different path by setting ``MANUS_SDK_ROOT``. | ||
| 3. Follow the | ||
| `MANUS Getting Started guide for Linux <https://docs.manus-meta.com/3.1.1/Plugins/SDK/Linux/>`_ | ||
| to install the dependencies and configure device permissions. | ||
|
|
||
| Expected directory layout after placing the SDK: | ||
|
|
||
| .. code-block:: text | ||
|
|
||
| src/plugins/manus/ | ||
| app/ | ||
| main.cpp | ||
| core/ | ||
| manus_hand_tracking_plugin.cpp | ||
| inc/ | ||
| core/ | ||
| manus_hand_tracking_plugin.hpp | ||
| tools/ | ||
| manus_hand_tracker_printer.cpp | ||
| ManusSDK/ <-- placed here | ||
| include/ | ||
| lib/ | ||
|
|
||
| Then build from the root: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| cd ../../.. # navigate to root | ||
| cmake -S . -B build | ||
| cmake --build build --target manus_hand_plugin manus_hand_tracker_printer -j | ||
| cmake --install build --component manus | ||
|
|
||
| Running the Plugin | ||
| ------------------ | ||
|
|
||
| 1. Set up the CloudXR environment | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| Source the CloudXR environment and start the runtime before running the plugin: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| export NV_CXR_RUNTIME_DIR=~/.cloudxr/run | ||
| export XR_RUNTIME_JSON=~/.cloudxr/openxr_cloudxr.json | ||
|
|
||
| 2. Verify with the CLI tool | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| Verify that the gloves are working using the CLI tool: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| ./build/bin/manus_hand_tracker_printer | ||
|
|
||
| The tool prints joint positions to the terminal and opens a **MANUS Data | ||
| Visualizer** window showing a top-down and side view of each hand. | ||
|
|
||
| 3. Run the plugin | ||
| ~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| The plugin is installed to the `install` directory, please ensure the CLI tool is not running when running the plugin. | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| ./install/plugins/manus/manus_hand_plugin | ||
|
|
||
| Wrist Positioning — Controllers vs Optical Hand Tracking | ||
| --------------------------------------------------------- | ||
|
|
||
| Two sources are available for positioning the Manus gloves in 3D space: | ||
|
|
||
| - **Controller adapters** — attach Quest 3 controllers to the Manus Universal | ||
| Mount on the back of the glove. The controller pose drives wrist placement. | ||
| - **Optical hand tracking** — use the HMD's built-in optical hand tracking to | ||
| position the hands. No physical controller adapter required. | ||
|
|
||
| The plugin selects the source automatically at runtime: optical hand tracking is | ||
| preferred when ``XR_MNDX_xdev_space`` is supported and the runtime reports an | ||
| actively tracked wrist pose; otherwise it falls back to the controller pose. | ||
|
timvw-manusvr marked this conversation as resolved.
|
||
|
|
||
| .. note:: | ||
|
|
||
| When using controller adapters it is advisable to disable the HMD's automatic | ||
| hand-tracking–to–controller switching to avoid unexpected source changes | ||
| mid-session. | ||
|
|
||
| Troubleshooting | ||
| --------------- | ||
|
|
||
| .. list-table:: | ||
| :widths: 40 60 | ||
| :header-rows: 1 | ||
|
|
||
| * - Symptom | ||
| - Resolution | ||
| * - SDK download fails | ||
| - Check your internet connection and re-run the install script. | ||
| * - Manus SDK not found at build time | ||
| - With manual installation, ensure ``ManusSDK`` is inside | ||
| ``src/plugins/manus/`` or set ``MANUS_SDK_ROOT`` to your installation path. | ||
| * - Manus SDK not found at runtime | ||
| - The build configures RPATH automatically. If you moved the SDK after | ||
| building, set ``LD_LIBRARY_PATH`` to its ``lib/`` directory. | ||
| * - No data received | ||
| - Ensure Manus Core is running and the gloves are connected and calibrated. | ||
| * - CloudXR runtime errors | ||
| - Make sure ``scripts/setup_cloudxr_env.sh`` has been sourced before running. | ||
| * - Permission denied for USB devices | ||
| - The install script configures udev rules. If the rules were not reloaded, | ||
| run: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| sudo udevadm control --reload-rules | ||
| sudo udevadm trigger | ||
|
|
||
| Then reconnect your Manus devices. | ||
|
|
||
| License | ||
| ------- | ||
|
|
||
| Source files are covered by their stated licenses (Apache-2.0). The Manus SDK is | ||
| proprietary to Manus and is subject to its own license; it is **not** redistributed | ||
| by this project. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # HIDAPI/libusb | ||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="3325", MODE:="0666" | ||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="83fd", MODE:="0666" | ||
| # HIDAPI/hidraw | ||
| KERNEL=="hidraw*", ATTRS{idVendor}=="3325", MODE:="0666" | ||
|
jiwenc-nv marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.