Skip to main content
IR-SIM — Intelligent Robot Simulator

A lightweight, YAML-driven robot simulator for navigation, control, and learning

arXiv Paper Cite IR-SIM PyPI Version Python Version CI Coverage Docs License Downloads Ranked #1 among 2D Robotics Simulators in best-of-robot-simulators

Contents

Overview

IR-SIM is an open-source, Python-based, lightweight robot simulator designed for navigation, control, and learning. It provides a simple, user-friendly framework with built-in collision detection for modeling robots, sensors, and environments. Ideal for academic and educational use, IR-SIM enables rapid prototyping of robotics and learning algorithms in custom scenarios with minimal coding and hardware requirements.

Key Features

  • Simulate robot platforms with diverse kinematics, sensors, and behaviors (support).
  • Quickly configure and customize scenarios using straightforward YAML files. No complex coding required.
  • Visualize simulation results with a lightweight Matplotlib-based renderer for rapid debugging.
  • Support collision detection and customizable behavior policies for each object.
  • Suitable for multi-agent and robot-learning research (Projects).

Demonstrations


Multi-Robot RVO Collision Avoidance
Source

Ackermann Robot with 2D LiDAR
Source

HM3D / MatterPort3D Grid Map
Source

Field-of-View Detection
Source

Dynamic Random Obstacles
Source

200-Agent ORCA via pyrvo
Source

Installation

Requires Python >= 3.10

pip

pip install ir-sim

# Optional: keyboard control and all extras
pip install ir-sim[all]

From source

git clone https://github.com/hanruihua/ir-sim.git
cd ir-sim
pip install -e .

uv

git clone https://github.com/hanruihua/ir-sim.git
cd ir-sim
uv sync

Quick Start

A minimal example: a differential-drive robot navigates toward a goal using the built-in dash behavior.

import irsim

env = irsim.make(
    "robot_world.yaml"
)  # initialize the environment with the configuration file

for i in range(300):  # run the simulation for 300 steps
    env.step()  # update the environment
    env.render()  # render the environment

    if env.done():
        break  # check if the simulation is done

env.end()  # close the environment

YAML Configuration: robot_world.yaml

world:
  height: 10  # the height of the world
  width: 10   # the width of the world
  step_time: 0.1  # 10Hz calculate each step
  sample_time: 0.1  # 10 Hz for render and data extraction
  offset: [0, 0] # the offset of the world on x and y

robot:
  kinematics: {name: 'diff'}  # omni, omni_angular, diff, acker
  shape: {name: 'circle', radius: 0.2}  # radius
  state: [1, 1, 0]  # x, y, theta
  goal: [9, 9, 0]  # x, y, theta
  behavior: {name: 'dash'} # move toward to the goal directly
  color: 'g' # green

For more examples, see the usage directory and the documentation.

Support

Category Features
Kinematics Differential Drive mobile Robot · Omnidirectional mobile Robot · Omnidirectional with Angular control · Ackermann Steering mobile Robot
Sensors 2D LiDAR · 2D FMCW LiDAR · FOV Detector
Geometries Circle · Rectangle · Polygon · LineString · Binary Grid Map · Fog of Map
Behaviors dash (move directly toward goal) · RVO (Reciprocal Velocity Obstacle) · ORCA (Optimal Reciprocal Collision Avoidance) · SFM (Social Force Model)

Documentation

Projects Using IR-SIM

Academic Publications

Community Projects

  • DRL-robot-navigation-IR-SIM -- Deep reinforcement learning for robot navigation.
  • AutoNavRL -- Autonomous navigation using reinforcement learning.
  • IRSIM-3DGS-Bridge -- A closed-loop bridge from 3D Gaussian Splatting scenes to IR-SIM planning/following and back to Habitat-GS trajectory playback.
  • EdgeVox -- Offline voice-agent framework with an IR-SIM mobile-navigation backend.

If your publication or project uses IR-SIM, we welcome proposals for inclusion via an issue or pull request.

Citation

If you find IR-SIM useful, please consider starring ⭐ this project and citing our paper:

@article{han2026ir,
  title={IR-SIM: A Lightweight Skill-Native Simulator for Navigation, Learning, and Benchmarking},
  author={Han, Ruihua and Wang, Shuai and Li, Chengyang and Gao, Rui and Wang, Xinyi and Liu, Zhe and Li, Guoliang and Lu, Yupu and Hao, Qi and Pan, Jia and Zhao, Hengshuang},
  journal={arXiv preprint arXiv:2606.08729},
  year={2026},
  doi={10.48550/arXiv.2606.08729},
  url={https://arxiv.org/abs/2606.08729},
  eprint={2606.08729},
  archivePrefix={arXiv},
  primaryClass={cs.RO}
}

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

Acknowledgement

License

IR-SIM is released under the MIT License.

Metadata

Release files for ir-sim 2.11.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 ir-sim 2.11.0
File Size Uploaded
ir_sim-2.11.0.tar.gz 845.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ir-sim 2.11.0
File Interpreter ABI Platform
ir_sim-2.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / ir_sim-2.11.0.tar.gz

Download URL ir_sim-2.11.0.tar.gz
Size 845.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e7ae6c92c2a8e73bf854abcd64dc4246e20f0716d883bb3b92b4230b2f1ac0aa
BLAKE2b-256 checksum
How to use checksums
e0beea32a44f91e812bca78725910c802e9210563d116682cb24a13457716381
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / ir_sim-2.11.0-py3-none-any.whl

Download URL ir_sim-2.11.0-py3-none-any.whl
Size 774.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dac9d24e48fef4cc80c86444fb47325979353a9221632e13215ed716350b0fe
BLAKE2b-256 checksum
How to use checksums
497d9fdb73090463fdd117143c23ff804601b3627627d0089223a86eeda59bef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

2.11.0 This release

2 release files

2.10.0

2 release files

2.9.4

2 release files

2.9.3

2 release files

2.9.2

2 release files

2.9.1

2 release files

2.9.0

2 release files

2.8.2

2 release files

2.8.1

2 release files

2.8.0

2 release files

2.7.5

2 release files

2.7.4

2 release files

2.7.3

2 release files

2.7.2

2 release files

2.7.1

2 release files

2.7.0

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.5

2 release files

2.5.4

2 release files

2.5.3

2 release files

2.5.2

2 release files

2.5.0

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.6

2 release files

2.3.5

2 release files

2.3.4

2 release files

2.3.3

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.0

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

1.1.11

2 release files

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.5

2 release files

1.1.2

2 release files

1.1.1

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