Skip to content

Software

MVSim

By MRPT, from github.com/MRPT/mvsim (opens in a new tab)

  • Simulators
  • Simulator
  • BSD-3-Clause

A lightweight 2.5D dynamics simulator for wheeled mobile robots and vehicles, aimed at multi-agent and sensor research. Worlds are configured through XML files.

Facts

GitHub stars
422read on 28 Nov 2026
Last update
26 Nov 2026Newest commit on develop
Maintenance
Activea commit in the last 90 days
Difficulty
Intermediate

Checked on GitHub on 28 Nov 2026.

Licenses

Code
BSD-3-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit 7cd8e96 (opens in a new tab), on 28 Nov 2026.

Commercial use
Yes

At a glance

What it is
  • Simulates differential, Ackermann and articulated vehicles with several friction and controller options.
  • Provides simulated 2D and 3D LiDARs, RGB and RGBD cameras, IMU and GNSS sensors.
  • Supports multi-vehicle worlds where robots sense each other through their LiDAR.
  • Can run standalone, as a ROS 2 node, or embedded in C++ or Python applications.
  • Offers a headless mode for CI pipelines and Docker containers.
  • Exposes ROS 2 topics, TF and parameters, plus a ZMQ/Protobuf interface for custom clients.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
BSD-3-Clause. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's website (opens in a new tab)
Maintenance
Active, last commit on 26 Nov 2026.

Use it

How to install it, in the creator's words: The project's website (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 7cd8e96

Robotheca read the repository at two versions: the summary at 7fa0435 and the facts and the README at 7cd8e96 (read on 28 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by MRPT, at commit 7cd8e96, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Overview

MVSim simulates wheeled robots and vehicles with realistic physics, sensors, and multi-agent support. It is designed to be fast enough for large-scale experiments while remaining accurate enough for dynamics and sensor research.

Key properties:

  • Fully configured via XML world files: no code changes needed for most experiments.
  • Works standalone, as a ROS 2 node, or embedded in a C++ / Python application.
  • Interactive GUI (world tree, object inspector, lighting controls, live camera previews), or headless for CI pipelines and Docker containers.
  • Multi-vehicle worlds with mutual sensing (robots see each other in LiDAR scans and camera images).
  • From small indoor robots to cars, trucks and tractors with trailers, in warehouses, homes, greenhouses, cities or off-road terrain.

Features
Vehicle dynamics
ModelDescription
differential2, 3 or 4-wheel differential drive and skid steer (e.g. TurtleBot, Jackal)
ackermannCar-like Ackermann steering
ackermann_drivetrainAckermann + mechanical differentials (open / Torsen, 2WD / 4WD)
ArticulatedTractor-trailer and truck-trailer combinations, linked by joints
  • Controllers: raw torque, twist PID, ideal twist, and trajectory following (exactly reproducible paths).
  • Friction models: default Coulomb, Ward-Iagnemma (off-road), ellipse (slip angle + slip ratio).
  • Optional chassis suspension (heave, roll and pitch on per-wheel springs and dampers).
  • ros2_control hardware interface, to use the same controllers as on the real robot.
Sensors
SensorNotes
3D LiDARsVelodyne VLP-16, Ouster OS1, Ouster Rev8 with per-point RGB color, Hesai Helios-32 (26°/31°/70° FOV)
2D LiDARGeneric + RPLidar A2; optional GPU-based 3D ray-tracing
RGB cameraPinhole model, optional lens distortion and pixel noise
RGBD cameraDepth + color (RealSense / Xtion-style), publishes pointcloud, depth image
IMUWhite noise + bias random-walk (Forster 2016 model)
GNSS / GPSRequires georeferenced world; configurable noise
World elements
  • Occupancy grid maps (image or MRPT binary)
  • Elevation meshes (terrain with height)
  • Textured 3D blocks and custom meshes (.dae, .obj, ...)
  • Animated human actors walking along waypoints
  • Friction zones (spatially-varying mu, rolling resistance)
  • Multi-storey environments and moving platforms
  • Lighting: sun with shadows, point and spot lights, vehicle headlights
  • Objects spawned, moved or removed at run time
  • Remote resource caching
Interfaces and tools
  • ROS 2: full topic / TF / parameter interface (see mvsim_node docs (opens in a new tab))
  • ZMQ / Protobuf: language-agnostic pub/sub for custom clients
  • Python: direct API access
  • C++ library: embed the simulator in your application
  • Video recording of the 3D view, in simulation time, from the GUI, the world file or scripts
  • mvsim-dataset-gen (offline LiDAR/IMU datasets from a prescribed trajectory), mvsim-pid-tuner, and mvsim-urdf2xml (URDF import)

Installation
ROS 2 (recommended)
sudo apt install ros-$ROS_DISTRO-mvsim

Then follow the first-steps guide (opens in a new tab).

Build from source
git clone https://github.com/MRPT/mvsim.git --recursive

See full installation instructions (opens in a new tab) for cmake and colcon build options.


Quick start

Standalone:

mvsim launch mvsim_tutorial/demo_warehouse.world.xml
mvsim launch mvsim_tutorial/demo_2robots.world.xml
mvsim launch mvsim_tutorial/demo_greenhouse.world.xml

ROS 2:

ros2 launch mvsim demo_warehouse.launch.py
ros2 launch mvsim demo_depth_camera.launch.py

Move the robot with w/a/s/d (keyboard) or any standard cmd_vel publisher. In multi-robot worlds, press 1, 2, … to select the active robot.

See all demo worlds (opens in a new tab) for the full list, including outdoor, road circuits, multi-storey, logistics center, articulated vehicles, and more.


ROS 2 build status

"Build releases" cells stack the badges for that ROS 2 distro in this order:

  • Ubuntu (amd64)
  • Ubuntu (arm64)
EOL distroStable version
ROS 1 Melodic (u18.04) (opens in a new tab)
ROS 1 Noetic (u20.04) (opens in a new tab)
ROS 2 Foxy (u20.04) (opens in a new tab)
ROS 2 Iron (u22.04) (opens in a new tab)

ROSCon talk

Spanish talk with English slides and subtitles (slides (opens in a new tab)):

Image: MvSim ROSCon talk (opens in a new tab) (opens in a new tab)


Citation

If you use MVSim in your research, please cite:

@article{blanco2023mvsim,
  title   = {MultiVehicle Simulator (MVSim): Lightweight dynamics simulator for multiagents and mobile robotics research},
  journal = {SoftwareX},
  volume  = {23},
  pages   = {101443},
  year    = {2023},
  doi     = {10.1016/j.softx.2023.101443},
  url     = {https://www.sciencedirect.com/science/article/pii/S2352711023001395},
  author  = {José-Luis Blanco-Claraco and Borys Tymchenko and Francisco José Mañas-Alvarez and Fernando Cañadas-Aránega and Ángel López-Gázquez and José Carlos Moreno}
}

License

3-clause BSD License. Copyright (C) 2014-2026 Jose Luis Blanco (University of Almeria) and contributors.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.