Skip to content
NKU-MobFly-RoboticsPublic

About

Implementation of DS-MRNav (IEEE RA-L 2026)

Resources

Stars

6 stars

Watchers

0 watching

Forks

Repository files navigation

DS-MRNav

English | 简体中文

Code for:

DS-MRNav: Distributed Multi-Robot Navigation with Static Obstacles via a Decoupled-State Dual-Stream Framework

Accepted by IEEE Robotics and Automation Letters (RA-L), 2026.

Test environment

The project has been tested on the following systems:

  • Ubuntu 20.04, 22.04
  • Python 3.8
  • PyTorch 2.x
  • Gym 0.20.0

Installation

Create an environment and install the PyTorch build appropriate for your CPU/CUDA setup:

conda create -n dsmrnav python=3.8
conda activate dsmrnav
# Install PyTorch for your CPU/CUDA platform.

Gym 0.20.0 requires the legacy build toolchain below:

pip install "setuptools==65.5.0" "pip==21.3.1" wheel
pip install gym==0.20.0

The repository includes the modified intelligent-robot-simulator used by DS-MRNav. Install the simulator, DS-MRNav, and the local Gym environment with:

./setup.sh

Evaluation

Run the four-robot open-space scenario:

python ds_mrnav/policy_test/test_open_space.py

Run the six-robot static-obstacle scenario:

python ds_mrnav/policy_test/test_obstacle.py

Both commands default to 100 rendered episodes and automatically select CUDA when available. The obstacle map is configured in ds_mrnav/policy_test/obstacle_world.yaml.

Common options include --robot-number, --num-episodes, --seed, --device {auto,cpu,cuda}, --no-render, --save, and --show-traj. Run a script with --help for the complete interface. For example:

python ds_mrnav/policy_test/test_open_space.py --num-episodes 10 --no-render
python ds_mrnav/policy_test/test_obstacle.py --device cuda --show-traj

Results are written below ds_mrnav/policy_test/outputs/.

Training

The static-stream CNN is pretrained offline and frozen during reinforcement learning. To retrain it with the included maps:

python ds_mrnav/policy_train/train_risk_encoder.py \
  --maps-dir maps --epochs 2000 --samples 350000 \
  --save ds_mrnav/policy_train/best_model_light.pth

Navigation-policy training follows the paper curriculum:

Stage Initial weights Robots Maps PPO epochs Map switch
Dynamic avoidance New policy 4 Map0 (empty) 500 Disabled
Static avoidance Stage 1 4 Maps 1–4 800 Every 50 epochs
Dense interaction Stage 2 6 Maps 1–4 1000 Every 25 epochs

Configure TrainConfig in ds_mrnav/policy_train/train.py for each stage and set the initial map in ds_mrnav/policy_train/train_world.yaml, then run:

python ds_mrnav/policy_train/train.py

The released policies use orca_hp dynamic observations and a frozen Risk Encoder. Stage transitions load the preceding policy checkpoint. Training snapshots are saved under ds_mrnav/policy_train/model_save/ and are ignored by Git.

Citation

Complete publication metadata will be added when it becomes available:

@article{henryliu2026dsmrnav,
  title   = {DS-MRNav: Distributed Multi-Robot Navigation with Static Obstacles via a Decoupled-State Dual-Stream Framework},
  author  = {henryliu and others},
  journal = {IEEE Robotics and Automation Letters},
  year    = {2026}
}

See CITATION.cff for machine-readable metadata.

License and acknowledgement

DS-MRNav is released under the MIT License. See LICENSE and NOTICE.

This project is based on hanruihua/rl_rvo_nav and includes a modified version of hanruihua/intelligent-robot-simulator. The corresponding upstream copyright and license notices are retained.

About

Implementation of DS-MRNav (IEEE RA-L 2026)

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages