PyBulletFleet
| 100 Robot Grid 100robots_grid_demo.py |
Cube Patrol 100robots_cube_patrol_demo.py |
| Mobile Pick & Drop pick_drop_mobile_100robots_demo.py |
Arm Pick & Drop pick_drop_arm_100robots_demo.py |
A kinematics-first simulation framework for large-scale multi-robot fleets, built on PyBullet and designed for fast N× real-time evaluation.
What is PyBulletFleet?
Different simulation goals call for different tools. Physics-focused simulators (Gazebo, Isaac Sim, MuJoCo, etc.) excel at accurate contact dynamics, sensor modelling, and single-robot control — but stepping a full physics engine for every robot becomes the bottleneck when you need to evaluate fleet-level systems at scale.
PyBulletFleet sits in a different part of the design space: it is a kinematics-first, fleet-scale simulation engine whose primary goal is to enable fast development and testing of the software that orchestrates robot fleets rather than the software that controls individual robots.
Design Priorities
- Speed over fidelity — Fleet algorithms (task allocation, traffic control, path planning) must be tested with hundreds to thousands of robots running much faster than real time. Kinematics-based stepping — teleporting each robot to its next pose without calling
stepSimulation()— removes the physics bottleneck and enables N× real-time execution. - System integration over low-level control — The primary consumers are high-level systems: WMS (Warehouse Management Systems), task orchestrators, fleet managers, and monitoring dashboards. These systems issue goals, observe progress via state snapshots, and react to events — they do not need joint-level torque feedback.
- Scale over detail — Validating behaviour at 100+ robot scale matters more than modelling individual link dynamics or sensor noise.
- Interoperability — A ROS 2 Jazzy bridge exposes per-robot and fleet-level topics, services, and actions, while the Open-RMF adapter supports direct Python, fleet-level ROS, and per-robot ROS control paths. Other transports such as gRPC remain future work.
- Physics as an option — When physical interaction is needed (grasping, conveyor dynamics, contact verification), full PyBullet physics can be switched on per-scenario without changing the rest of the stack.
Target Use Cases
| Use Case | Description |
|---|---|
| Fleet algorithm evaluation | Test path planning, task allocation, and traffic control for large robot fleets at N× real-time speed |
| Warehouse simulation | Simulate pick-and-place, patrol, and transport operations with mobile robots and arms |
| Scalability benchmarking | Measure how fleet software scales from tens to thousands of agents |
| Rapid prototyping | Quickly iterate on multi-robot behaviors with minimal boilerplate |
Quick Start
Install from PyPI
pip install pybullet-fleet
For ROS 2 Jazzy, do not install the core only inside a virtual environment:
ros2 run uses the system Python interpreter. Follow the ROS 2 bridge
quickstart
instead; it installs PyBulletFleet once into the system Python user site before
adding the ROS packages.
Or install from source (for development)
git clone https://github.com/yuokamoto/PyBulletFleet.git
cd PyBulletFleet
sudo apt install python3-tk # required for the optional DataMonitor tkinter GUI
pip install -e ".[dev]"
ROS 2 Jazzy APT preview
For Ubuntu 24.04 or WSL with ROS 2 Jazzy, the bridge packages are available from the GitHub-hosted APT preview. The simulation core remains a separate Python package. Follow the APT preview installation guide for the repository setup, system-Python installation, bundled example, and bridge smoke test. The preview is intended for short-lived demo environments until the official ROS package release is available. See the ROS 2 bridge quickstart and RMF quickstart for the complete native sequence.
Run a demo
The examples ship inside the package, so after pip install pybullet-fleet you
can list and run them with the pybullet-fleet CLI — no clone needed:
pybullet-fleet examples --list # all demos
pybullet-fleet examples --run 100robots_grid_demo.py # launch one (GUI)
pybullet-fleet examples --copy ./examples # copy them out to read/edit
pybullet-fleet examples --path # where they're installed
--run takes the file name as shown by --list (the .py is optional).
Many demo scripts accept a --robot argument to swap the robot model (forwarded
through --run). Pass a model name (resolved via resolve_model()) or a direct
URDF path:
pybullet-fleet examples --run path_following_demo.py --robot racecar
pybullet-fleet examples --run pick_drop_arm_demo.py --robot kuka_iiwa
pybullet-fleet config --copy ./config # copy YAML templates to edit
# (resolve_model_demo has its own --list; copy it out and run it directly)
From a source checkout you can also run the files directly, e.g.
python pybullet_fleet/examples/scale/100robots_grid_demo.py.
| Category | Demo (pass to --run) |
--robot default |
Alternatives |
|---|---|---|---|
| Arm demos | pick_drop_arm_*.py, rail_arm_demo.py |
panda |
kuka_iiwa, arm_robot |
| Mobile demos | path_following_demo.py |
husky |
racecar, mobile_robot |
| Scale demos (mobile) | 100robots_cube_patrol_demo.py, pick_drop_mobile_100robots_demo.py |
husky |
racecar, mobile_robot |
| Scale demo (grid) | 100robots_grid_demo.py |
--robot (mobile_robot) |
husky, racecar |
| Scale demo (mixed) | 100robots_mixed_demo.py |
--mobile-robot (husky), --arm-robot (panda) |
racecar, mobile_robot; kuka_iiwa, arm_robot |
| Scale demos (arm) | pick_drop_arm_100robots_demo.py |
panda |
kuka_iiwa, arm_robot |
| Model demos | resolve_model_demo.py, robot_descriptions_demo.py |
panda / tiago |
any registered model |
100robots_grid_demo.py defaults to a 100 mobile robot entities[].grid scene.
Use --robot to override the model for every mobile entity, or --config to
point it at another entities[].grid scene. 100robots_mixed_demo.py is the
separate Husky + Panda mixed showcase; use --mobile-robot and --arm-robot
to override its two groups.
See Tutorial 6 — Robot Models for the full model resolution system.
Performance
Results from a single test environment (AMD Ryzen AI 7 PRO 350, 27 GB RAM, Linux WSL2). Your numbers will vary depending on hardware.
| Agents | Real-Time Factor | Step Time |
|---|---|---|
| 100 | 177.4× | 0.6 ms |
| 500 | 36.3× | 2.8 ms |
| 1000 | 17.8× | 5.6 ms |
| 2000 | 6.1× | 16.3 ms |
Kinematics mode (physics OFF), headless, simple_cube robots, batch controller + fleet command interface. Measured on 2026-11-07. See Benchmark Results for full data, component breakdown, and methodology.
For ROS 2, use the fleet-level interface as the scalable default. Manager-scoped
endpoints support operational ownership and selective state subscriptions; they
do not increase total throughput when clients subscribe to every manager stream.
See ros2_bridge/PERFORMANCE.md for measurement
conditions, current results, and deployment guidance.
Robot Models
PyBulletFleet includes a model resolution system that loads robots by name from multiple sources:
from pybullet_fleet import MultiRobotSimulationCore, Agent, Pose, resolve_model
sim = MultiRobotSimulationCore()
# Resolve by name — searches local robots/, pybullet_data, robot_descriptions
urdf = resolve_model("panda")
# Agent.from_urdf() calls resolve_model() internally
agent = Agent.from_urdf(urdf_path="panda", pose=Pose.from_xyz(0, 0, 0), sim_core=sim)
| Tier | Source | Example models |
|---|---|---|
| 0 — local | robots/ directory |
arm_robot, mobile_robot, mobile_manipulator |
| 1 — pybullet_data | PyBullet bundled | panda, kuka_iiwa, r2d2 |
| 2 — ROS | ROS install paths | (future) |
| 3 — robot_descriptions | pip package | tiago, pr2 (pip install robot_descriptions) |
Run pybullet-fleet examples --copy ./examples && python ./examples/models/resolve_model_demo.py --list to see all registered models and their availability.
Documentation
📖 Full documentation: Read the Docs
For the ROS 2 bridge and Open-RMF integration, start with the ROS 2 documentation. The repository-level bridge README remains the detailed interface and release reference.
For local builds:
cd docs && sphinx-build -b html . _build/html
Development Setup
A root Makefile provides all common dev commands. Run make help to list targets.
make verify # Lint + test (CI subset, excludes docs/security)
make test # Tests with coverage (75% threshold)
make test-fast # Quick test (stop on first failure)
make lint # All pre-commit hooks (black, pyright, flake8)
make format # Auto-format with black
make typecheck # Pyright type check
make bench-smoke # Quick benchmark (~10s)
make docs # Sphinx docs (warnings = errors)
make clean # Remove caches and build artifacts
Pre-commit hooks
Install pre-commit hooks for automatic formatting and linting on commit:
pip install pre-commit
pre-commit install
Metadata
Release files for pybullet-fleet 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pybullet_fleet-0.9.0.tar.gz | 817.9 kB | With provenance | Details for pybullet_fleet-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybullet_fleet-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for pybullet_fleet-0.9.0-py3-none-any.whl |
Total release size: 1.4 MB
Release files / pybullet_fleet-0.9.0.tar.gz
| Download URL | pybullet_fleet-0.9.0.tar.gz |
|---|---|
| Size | 817.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c851ed3b27f1b59d962901269e4d54ebd801d181ce0bd33572e13884a73bdc6
|
|
BLAKE2b-256 checksum How to use checksums |
ac449e076beb457b5e2a2edd2446b3cd7440d86994deb19244e1fe8a1177e1fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / pybullet_fleet-0.9.0-py3-none-any.whl
| Download URL | pybullet_fleet-0.9.0-py3-none-any.whl |
|---|---|
| Size | 543.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0927717d2976a34bebe9be24e37ede590ef67d29847a5f5ce0aa8e503bee63a
|
|
BLAKE2b-256 checksum How to use checksums |
1cd43a1c597273ff68cc0299d6212b9ea4f0b1e61fa144168f7de2385030264f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for pybullet-fleet 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pybullet_fleet-0.9.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.