Saved in:
Bibliographic Details
Main Authors: Nesti, Federico, D'Amico, Gianluca, Marinoni, Mauro, Buttazzo, Giorgio
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.21454
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913813030240256
author Nesti, Federico
D'Amico, Gianluca
Marinoni, Mauro
Buttazzo, Giorgio
author_facet Nesti, Federico
D'Amico, Gianluca
Marinoni, Mauro
Buttazzo, Giorgio
contents The use of machine learning in cyber-physical systems has attracted the interest of both industry and academia. However, no general solution has yet been found against the unpredictable behavior of neural networks and reinforcement learning agents. Nevertheless, the improvements of photo-realistic simulators have paved the way towards extensive testing of complex algorithms in different virtual scenarios, which would be expensive and dangerous to implement in the real world. This paper presents SimPRIVE, a simulation framework for physical robot interaction with virtual environments, which operates as a vehicle-in-the-loop platform, rendering a virtual world while operating the vehicle in the real world. Using SimPRIVE, any physical mobile robot running on ROS 2 can easily be configured to move its digital twin in a virtual world built with the Unreal Engine 5 graphic engine, which can be populated with objects, people, or other vehicles with programmable behavior. SimPRIVE has been designed to accommodate custom or pre-built virtual worlds while being light-weight to contain execution times and allow fast rendering. Its main advantage lies in the possibility of testing complex algorithms on the full software and hardware stack while minimizing the risks and costs of a test campaign. The framework has been validated by testing a reinforcement learning agent trained for obstacle avoidance on an AgileX Scout Mini rover that navigates a virtual office environment where everyday objects and people are placed as obstacles. The physical rover moves with no collision in an indoor limited space, thanks to a LiDAR-based heuristic.
format Preprint
id arxiv_https___arxiv_org_abs_2504_21454
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SimPRIVE: a Simulation framework for Physical Robot Interaction with Virtual Environments
Nesti, Federico
D'Amico, Gianluca
Marinoni, Mauro
Buttazzo, Giorgio
Robotics
Artificial Intelligence
The use of machine learning in cyber-physical systems has attracted the interest of both industry and academia. However, no general solution has yet been found against the unpredictable behavior of neural networks and reinforcement learning agents. Nevertheless, the improvements of photo-realistic simulators have paved the way towards extensive testing of complex algorithms in different virtual scenarios, which would be expensive and dangerous to implement in the real world. This paper presents SimPRIVE, a simulation framework for physical robot interaction with virtual environments, which operates as a vehicle-in-the-loop platform, rendering a virtual world while operating the vehicle in the real world. Using SimPRIVE, any physical mobile robot running on ROS 2 can easily be configured to move its digital twin in a virtual world built with the Unreal Engine 5 graphic engine, which can be populated with objects, people, or other vehicles with programmable behavior. SimPRIVE has been designed to accommodate custom or pre-built virtual worlds while being light-weight to contain execution times and allow fast rendering. Its main advantage lies in the possibility of testing complex algorithms on the full software and hardware stack while minimizing the risks and costs of a test campaign. The framework has been validated by testing a reinforcement learning agent trained for obstacle avoidance on an AgileX Scout Mini rover that navigates a virtual office environment where everyday objects and people are placed as obstacles. The physical rover moves with no collision in an indoor limited space, thanks to a LiDAR-based heuristic.
title SimPRIVE: a Simulation framework for Physical Robot Interaction with Virtual Environments
topic Robotics
Artificial Intelligence
url https://arxiv.org/abs/2504.21454