How-to Guides

Practical guides for common tasks.

📘 For Simulation Users — building and configuring your own simulation:

Guide

What It Covers

Collision Configuration

Detection method, per-object modes, margin, cell size, multi-cell threshold

Custom Profiling

Adding your own profiling metrics via Agent/SimulationCore subclasses

Capturing Demos

Recording demo videos, demos.yaml format, centralized defaults (_defaults.py)

🔧 For PyBulletFleet Developers — developing and debugging the framework:

Guide

Measures

Detects

Tool

Overhead

Time Profiling

Execution time (ms)

Performance bottlenecks

time.perf_counter()

< 0.1% CPU

Memory Profiling

Memory usage (MB)

Memory leaks, high usage

tracemalloc (built-in)

~5–10% memory

Logging

Log messages

Configuration & runtime issues

Python logging

Negligible

Tip: Time and memory profiling can be enabled simultaneously for comprehensive analysis. Both share the profiling_interval setting.