Skip to content

Open3D Visualization

As part of the ROS2 package, we provide an example visualization node that subscribes to the glove data topics and visualizes the raw skeleton data in Open3D.

To run the Python visualization example, follow these steps:

1. Set Up a Virtual Environment

We strongly recommend creating a virtual Python environment to avoid dependency or permission issues:

python3 -m venv manus_env
source manus_env/bin/activate

If python3 is not available on your system, you may need to install it first or use a Python version manager like pyenv.

2. Install Prerequisites

Ensure you have the required Python packages installed.

pip install --upgrade pip
pip install open3d loop_rate_limiters

3. Source the Setup Script

Before running the visualization script, source your ROS2 workspace setup file and the package-specific setup script:

source ~/your_ros2_ws/install/setup.bash
source ~/your_ros2_ws/src/manus_ros2/setup.bash

Replace ~/your_ros2_ws with your actual ROS2 workspace path.

4. Run the Visualization Script

Use Python 3 to run the script (ensure you're inside the virtual environment):

python3 src/manus_ros2/client_scripts/manus_data_viz.py

This will open an Open3D window for each glove, displaying the raw skeleton nodes in 3D space.

alt text