Skip to main content

Bubblify: Interactive URDF Spherization Tool

Overview

Bubblify is an interactive tool for creating spherical approximations of robot geometries directly from Universal Robot Description Format (URDF) specifications. It provides an intuitive 3D interface for placing collision spheres on robot links, enabling efficient collision checking for motion planning applications.

Spherized meshes can significantly reduce the computational load of collision detection, have better support across simulators, and maintain accurate approximations of the source robot model while fixing mesh defects.

Installation

codecov

Install Bubblify directly from PyPI:

pip install bubblify

Usage

Basic Usage

Launch Bubblify with a URDF file:

bubblify --urdf_path path/to/your/robot.urdf

Command Line Options

  • --urdf_path (required): Path to the URDF file to spherize
  • --spherization_yml (optional): Load an existing spherization configuration
  • --port (optional): Port for the web interface (default: 8080)
  • --show_collision (optional): Display collision meshes (default: False)

Example Commands

# Basic usage
bubblify --urdf_path ./assets/xarm6/xarm6_rs.urdf

# Load with existing spherization
bubblify --urdf_path ./assets/xarm6/xarm6_rs.urdf --spherization_yml ./config/xarm6_spheres.yml

# Custom port and show collision meshes
bubblify --urdf_path ./robot.urdf --port 8081 --show_collision

Interactive Features

Demo Video

Your browser does not support the video tag.

Benefits for Motion Planning

Spherical approximations offer several key advantages for robotics applications:

Computational Efficiency

  • Fast Collision Detection: Sphere-sphere and sphere-primitive collision checks are computationally simple
  • Reduced Query Time: Orders of magnitude faster than mesh-based collision detection
  • Real-time Planning: Enables real-time motion planning for complex robots

Robustness

  • Numerical Stability: Spheres eliminate mesh artifacts and numerical precision issues
  • Consistent Geometry: Uniform collision representation across different simulators
  • Simplified Physics: More stable physics simulation with primitive shapes

Motion Planning Integration

  • Sampling-based Planners: Faster collision checking enables more thorough space exploration
  • Optimization-based Methods: Smooth distance gradients improve trajectory optimization
  • Multi-robot Systems: Efficient collision checking scales better with robot count

Compatible Motion Planning Libraries

Bubblify's spherized URDFs and YAMLs work with modern motion planning frameworks:

  • cuRobo: NVIDIA's CUDA-accelerated motion planning library
  • VAMP: Vectorized Approximate Motion Planning

File Formats

Input

  • URDF Files: Standard Robot Description Format with visual and collision meshes

Output

  • Spherized URDF: New URDF file with collision geometries replaced by spheres
  • Configuration YAML: Spherization parameters for reproducible results

Example Configuration

spheres:
  - link: "base_link"
    position: [0.0, 0.0, 0.1]
    radius: 0.08
  - link: "link1"
    position: [0.0, 0.0, 0.15]
    radius: 0.06

Contributing

Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.

Release files for bubblify 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bubblify 0.1.0
File Size Uploaded
bubblify-0.1.0.tar.gz 29.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bubblify 0.1.0
File Interpreter ABI Platform
bubblify-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 46.6 kB

Release files / bubblify-0.1.0.tar.gz

Download URL bubblify-0.1.0.tar.gz
Size 29.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4fa6edeafea65fa0d1c21b2fdc63967f9a009b12a338a14bded099c3ddd458a3
BLAKE2b-256 checksum
How to use checksums
865894b29e254a75dd6ac33e8e03899355b73b734ceb8b8e6b465a0724016b34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.5

Release files / bubblify-0.1.0-py3-none-any.whl

Download URL bubblify-0.1.0-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39d419a4021788181cb5f0004234d8f73c9d75701d89526d0c91079850fdf232
BLAKE2b-256 checksum
How to use checksums
25119b0f0c3a23c77364723ed7368b4b2ee16f9d3aa66b8a0cb9d0bb8323f50f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page