Back to Trending
RepositoryPythonNONorway
ntnu-arl

ntnu-arl/active-perception-RL-navigation

This repository provides the source code for the paper Reinforcement Learning for Active Perception in Autonomous Navigation.

95stars
8forks
0issues
0views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: active-perception

#1 Repository of the month

1
TINIX TRENDING·Topic: aerial-robotics

#1 Repository of the month

1
TINIX TRENDING·Topic: active-perception

#1 Repository of the week

active-perception-RL-navigation

This repository contains the source code for the paper: Reinforcement Learning for Active Perception in Autonomous Navigation.

A video demonstrating the work is available here.

image_with_play_button

🛠️ Installation

  1. Install Isaac Gym and Aerial Gym Simulator

    Follow the instructions provided in the respective repository.

    ⚠️ Important Note: Change to Argument Parser in Isaac Gym's gymutil.py

    Before installing the Aerial Gym Simulator, you must modify the Isaac Gym installation. The argument parser in Isaac Gym may interfere with additional arguments required by other learning frameworks. To resolve this, you need to modify line 337 of the gymutil.py file located in the isaacgym folder.

    Change the following line:

    args = parser.parse_args()
    

    to:

    args, _ = parser.parse_known_args()
    
  2. Set up the environment

    Once the installation is successful, activate the aerialgym environment:

    cd ~/workspaces/ && conda activate aerialgym
    
  3. Clone this repository

    Clone the repository by running the following command:

    git clone git@github.com:ntnu-arl/active-perception-RL-navigation.git
    
  4. Install active-perception-RL-navigation

    Navigate to the cloned repository and install it using the following command:

    cd ~/workspaces/active-perception-RL-navigation/
    pip install -e .
    

🚀 Running the Examples

The standalone examples, along with a pre-trained RL policy, are available in the examples directory.
The ready-to-use policy (used in the work described in Reinforcement Learning for Active Perception in Autonomous Navigation) can be found under: examples/pre-trained_network. These examples illustrate policy inference in a corridor-like environment under different levels of complexity, specifically with 10, 20, and 30 obstacles.

10-Obstacle Example

Run the following:

cd ~/workspaces/active-perception-RL-navigation/examples/
conda activate aerialgym
bash example_10obstacles.sh

You should now be able to observe the trained policy in action — performing a navigation task with actively actuated camera sensor in the environment:

https://github.com/user-attachments/assets/d0894097-a514-4932-af57-fffdff8fb721

20-Obstacle Example

Run the following:

cd ~/workspaces/active-perception-RL-navigation/examples/
conda activate aerialgym
bash example_20obstacles.sh

🎥 Demo:

https://github.com/user-attachments/assets/97fb85a8-afbd-40ea-b548-3eb6b70257e6

30-Obstacle Example

Run the following:

cd ~/workspaces/active-perception-RL-navigation/examples/
conda activate aerialgym
bash example_30obstacles.sh

🎥 Demo:

https://github.com/user-attachments/assets/151fc99a-9f91-4ad5-bf94-ab2e0fae8fa2

🏋️ RL Training

Running Training

To train your first active perception RL navigation policy, run:

conda activate aerialgym
cd ~/workspaces/active-perception-RL-navigation/
python -m rl_training.train_aerialgym --env=navigation_active_camera_task --experiment=testExperiment

By default, the number of environments is set to 1024. If your GPU cannot handle this load, reduce it by adjusting the num_envs parameter in /src/config/task/navigation_active_camera_task_config.py:

num_envs = 1024

By default, the training environment contains 38 obstacles. You can modify this by editing the num_assets parameter in /src/config/assets/env_object_config.py:

class object_asset_params(asset_state_params):
    num_assets = 35

and

class panel_asset_params(asset_state_params):
    num_assets = 3

Loading Trained Models

To load a trained checkpoint and perform inference only (no training), follow these steps:

  1. For clear visualization (to avoid rendering overhead), reduce the number of environments (e.g., to 16) and enable the viewer by modifying /src/config/task/navigation_active_camera_task_config.py:

    From:

    num_envs = 512
    use_warp = True
    headless = True
    

    To:

    num_envs = 16
    use_warp = True
    headless = False
    
  2. For a better view during inference, consider excluding the top wall from the corridor-like environments by modifying the /src/config/env/env_active_camera_with_obstacles.py file:

    "top_wall": False, # excluding top wall
    
  3. Finally, execute the inference script with the following command:

    conda activate aerialgym
    cd ~/workspaces/active-perception-RL-navigation/
    python -m rl_training.enjoy_aerialgym --env=navigation_active_camera_task --experiment=testExperiment
    

    The default viewer is set to follow the agent. To disable this feature and inspect other parts of the environment, press F on your keyboard.

📄 Citing

If you use or reference this work in your research, please cite the following paper:

G. Malczyk, M. Kulkarni and K. Alexis, "Reinforcement Learning for Active Perception in Autonomous Navigation", Accepted to the IEEE International Conference on Robotics and Automation (ICRA) 2026

@article{malczyk2025reinforcement,
  title={Reinforcement Learning for Active Perception in Autonomous Navigation},
  author={Malczyk, Grzegorz and Kulkarni, Mihir and Alexis, Kostas},
  journal={arXiv preprint arXiv:2602.01266},
  year={2026}
}

Contact

For inquiries, feel free to reach out to the authors:

This research was conducted at the Autonomous Robots Lab, Norwegian University of Science and Technology (NTNU).

For more information, visit our website.

Acknowledgements

This material was supported by the Research Council of Norway under Award NO-338694 and the Horizon Europe Grant Agreement No. 101119774.

Additionally, this repository incorporates code and helper scripts from the Aerial Gym Simulator.

arl_ntnu_logo_v2

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
bulletphysics/bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

14.9k
Oct 9, 2026
RepositoryC++
HKUST-Aerial-Robotics/Fast-Planner

A Robust and Efficient Trajectory Planner for Quadrotors

3.5k
Oct 24, 2024
RepositoryC++
HKUST-Aerial-Robotics/Teach-Repeat-Replan

Teach-Repeat-Replan: A Complete and Robust System for Aggressive Flight in Complex Environments

1.2k
Oct 19, 2021
Repository
HKUST-Aerial-Robotics/TopoTraj

A robust UAV local planner based on the ICRA2020 paper: Robust Real-time UAV Replanning Using Guided Gradient-based Optimization and Topological Paths

106
Apr 26, 2020
Repository
Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

85.1k
Nov 28, 2026
RepositoryPython
commaai/openpilot

openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 300+ supported cars.

64.3k
Dec 3, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.8k
Nov 2, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.8k
Nov 2, 2026
RepositoryPython
ray-project/ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

44.4k
Nov 27, 2026