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:
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.
3. Source the Setup Script
Before running the visualization script, source your ROS2 workspace setup file and the package-specific setup script:
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):
This will open an Open3D window for each glove, displaying the raw skeleton nodes in 3D space.