arXiv:2611.03254cs.RONov 2026

Manuscript Offprint

arXiv:2611.03254

TRAILS: Trajectory Generation for Automated Indoor Locomotion Studies

Juho Kalliokoski, Evan G. Center, Steven M. LaValle, Timo Ojala, Basak Sakcak

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Juho Kalliokoski¹, Evan G. Center¹, Steven M. LaValle¹, Timo Ojala¹, Başak Sakçak¹,²

Abstract—Virtual reality experiments involving navigation and simulated robot motion often require large, realistic environments and numerous distinct trajectories to avoid repetitive navigation while providing sufficient variation for controlled experiments. Designing such scenarios manually is labor-intensive, particularly when trajectories must satisfy predefined geometric and kinematic constraints while remaining diverse and comparable across experimental conditions. This paper presents TRAILS, an automated framework for generating complete virtual navigation scenarios consisting of an environment layout, a path, and a time-parameterized motion profile. The framework combines a constraint-based procedural environment generator inspired by Wave Function Collapse, trajectory generation using optimized cubic Bézier curves, and speed-profile generation subject to kinematic constraints. The generated scenarios provide diverse indoor environments with corridors, open spaces, and obstacles, together with trajectories of identical duration that vary in path geometry, wall proximity, and velocity profiles while minimizing systematic dependencies between these characteristics. The framework is designed as an easy-to-use tool requiring only a small number of intuitive user-defined parameters to automatically generate large sets of distinct navigation scenarios satisfying prescribed geometric and kinematic constraints. By relying on explicit, seed-controlled algorithmic procedures rather than data-driven models, the generated scenarios remain transparent, reproducible, and configurable, making the framework well suited for telepresence and human-subject experiments. The code is available at https://github.com/JucciK/Trails.

I. INTRODUCTION

Virtual Reality (VR), immersive telepresence, and human-robot interaction studies often require participants to experience controlled motion through virtual environments. In such experiments, the environment, the shape of traversed path, and the resulting motion may all influence navigation performance, presence, and cybersickness. Often, the used trajectories should be sufficiently diverse to avoid repeated exposure while remaining comparable with respect to duration and relevant motion characteristics.

Creating such scenarios by hand becomes increasingly difficult as the number and duration of needed trials increase. A researcher may need multiple distinct environments and trajectories while having to control properties such as path curvature, wall proximity, linear and angular velocity, and total exposure duration. Manually constructing and validating a large collection of environments and trajectories satisfying these requirements is time-consuming and can introduce

unintended relationships between experimental variables. Procedural generation offers a potential solution by enabling large numbers of unique environments and navigation scenarios to be produced automatically, but existing approaches generally focus on generating environment layouts rather than complete navigation scenarios consisting of realistic trajectories and motion profiles [1]–[3].

This paper presents TRAILS, an automated framework for generating complete telepresence navigation scenarios in virtual environments. The proposed framework combines three stages: procedural environment generation, path generation and speed-profile generation. The environment-generation stage uses constraint-based tile expansion approach inspired by Wave Function Collapse [4], [5] to create large and varied indoor environments containing corridors, open spaces, and obstacles. A graph representation capturing the environment topology is then constructed and converted into a path using constrained optimization of cubic Bézier curves [6], allowing path smoothness, curvature, and clearance requirements to be enforced. Finally, a speed profile is generated to satisfy constraints on linear and angular velocities while maintaining a predefined trajectory duration.

The primary goal of the framework is not to generate a single trajectory that is optimal with respect to a given objective function, but rather to automatically generate diverse navigation scenarios that satisfy predefined geometric and kinematic constraints. By automating the generation process, the framework enables the researchers to evaluate different navigation methods under comparable conditions while systematically varying individual trajectory characteristics, such as curvature, wall proximity, and velocity profiles, without manually designing each scenario. In this way, the framework supports larger and more controlled experimental studies investigating user experience, cybersickness, and responses to different control methods for telepresence.

The remainder of this paper is organized as follows. Section II reviews the related literature. Section III describes the individual components of the proposed TRAILS framework. Section IV provides example scenarios generated by TRAILS framework and evaluates various aspects of them. Finally, Section V summarizes the results and discusses limitations and future extensions.

References (31)