Research
CARLAverse: A Highly Modular, Distributed, and Multimodal Framework for Human-in-the-Loop Simulation
Testing autonomous vehicles requires mixed-traffic scenarios in which automated cars meet human drivers, cyclists, and pedestrians, and rule-based virtual agents do not capture genuine human…

- arXiv
- 2609.11478 · Preprint · not peer-reviewed
- Published
- 2026-09-10
- Authors
- Patrick Rebling, Philipp Nenninger, Reiner Kriesten
In plain words
Testing autonomous vehicles requires mixed-traffic scenarios in which automated cars meet human drivers, cyclists, and pedestrians, and rule-based virtual agents do not capture genuine human negotiation such as eye contact, yielding, or hesitation.
AI summary
Overview
Research area: Autonomous driving simulation, human-in-the-loop (HITL) experimentation, and distributed multi-agent virtual environments built on the CARLA simulator.
Technical level: Advanced. The paper is a systems-architecture contribution, describing software layers, network protocols, binary payload layouts, and hardware abstraction rather than a study with statistical results.
Scope (one sentence): The paper describes CARLAverse, an open-source framework that connects driving, cycling, and pedestrian HITL simulators into one shared CARLA world using a distributed physics architecture, so that multiple human participants can interact in the same traffic scenario without losing low-latency force feedback.
What This Paper Is About
Testing autonomous vehicles requires mixed-traffic scenarios in which automated cars meet human drivers, cyclists, and pedestrians, and rule-based virtual agents do not capture genuine human negotiation such as eye contact, yielding, or hesitation. HITL simulators let researchers study these interactions safely, but existing multi-agent platforms put all physics on one machine or route control signals through middleware, which adds network latency that ruins high-fidelity haptic feedback. CARLAverse's goal is to keep ego-vehicle physics and force feedback running locally on each participant's machine while a central CARLA server coordinates non-player characters (NPCs) and global traffic, allowing participants at different institutions to share one virtual intersection.
Key Contributions
- A distributed physics architecture. Latency-critical ego dynamics (tire–road interaction, self-aligning torque, motion cueing, pedestrian pose estimation) are computed on local client nodes, while the central CARLA server handles NPC physics and behavior, the Traffic Manager, the Traffic Light Manager, weather synchronization, and the global collision matrix.
- A unified multimodal HITL ecosystem with three node types. DrivoCARLA (driving), CycloCARLA (cycling, using BLE-connected smart trainers and front-fork motors), and WalkoCARLA (pedestrian, using OpenXR and vision-based pose estimation) all operate inside a single shared CARLA environment, which the paper positions as the first CARLA-based framework in its comparison table to explicitly document human-operated driving, bicycle, and pedestrian nodes together with distributed physics.
- A middleware-free communication design with a hardware abstraction layer. Simulator control uses the native CARLA API over RPC on TCP/IP, high-frequency haptic and motion telemetry uses dedicated connectionless UDP streams, and ROS is deliberately relegated to passive background logging via rosbags.
- Reusable cross-cutting infrastructure. The
carlaverse_toolsPython library with a GUI launcher and one-click installer, a YAML-based "single source of truth" configuration scheme for reproducibility, a web-based HMI over WebSockets, a spatial audio engine, a standalone C++ force feedback server, a standalone C++ motion platform server, and a shared visualization module supporting simple, physical, and manual (including CAVE) camera modes.
Main Findings
- Localizing physics removes network delay from the haptic loop. The paper formalizes this as two latency equations: a centralized loop including network transmit and receive times (
T_central = t_input + t_network,tx + t_physics + t_network,rx + t_actuation) versus the localized loop (T_local = t_input + t_physics,local + t_actuation), which drops the network terms entirely. - Middleware is identified as a measurable bottleneck. The authors report that routing control signals through the ROS 2 stack and its underlying DDS can add up to 50% more latency compared with raw socket communication for small payloads, and that this overhead scales linearly with node count. They also state that stable haptics need high update rates, often above 100 Hz and up to 1000 Hz.
- Prior frameworks concentrate on single-ego or centralized setups. Table II compares DReyeVR (2022), JOAN (2023), GrokWalks (2024), CDA-HDS (2025), Sky-Drive (2025), CARMEn (2026), and DMAVA (2026); none is listed with distributed physics, and CARLAverse is the only entry marked as supporting driving, bicycle, and pedestrian human-operated nodes plus distributed physics.
- Non-CARLA multi-agent studies are mostly two-agent. Table I lists studies with 2 agents (Lehsing & Feldstein 2018; Perez et al. 2019; Lindner et al. 2022; Crosato et al. 2024; Yang et al. 2024) and one with 3 (Sabeti et al. 2024); "Simulation for All" (2025) reaches 4 agent types including transit, but relies on localized UDP and specific hardware such as omnidirectional treadmills.
- The haptic payload is deliberately minimal. Force feedback commands are packed into a strict 40-byte C++ struct with 1-byte alignment, carrying nine 32-bit integers (spring stiffness, offset, deadband, saturation, constant force, damper, friction, inertia, vibration magnitude, and vibration frequency), translated to DirectInput on Windows or evdev on Linux.
- The motion payload is even tighter. The motion server receives a 21-byte little-endian datagram, with a 1-byte command ID (0x04 for FRAME_UPDATE) followed by five 32-bit floats for roll, pitch, heave, engine RPM, and engine torque, forwarded to the D-BOX LiveMotion SDK, which requires a D-BOX software license.
- Safety mechanisms are built in. The FFB server includes a hardware watchdog that zeroes constant, spring, and damper forces if the simulation crashes or the network drops beyond a timeout, preventing direct-drive motors from locking or spinning. Short or malformed motion packets are logged and ignored. A local node that loses connection or times out is automatically despawned from the global simulation to avoid collisions from stale telemetry.
- Network instability is masked visually. Client-side position interpolation is applied to all external actors, including NPCs and other ego vehicles, to keep rendering smooth during minor packet loss.
- A stated limitation of the approach. The comparison table notes that CARLAverse requires a high-performance simulation computer at each local node for rendering and local physics.
- No quantitative validation is reported in this paper. The authors explicitly state that detailed synchronization mechanisms and quantitative validation of the physical and perceptual subsystems are deferred to dedicated companion publications and ongoing work.
Methodology in Plain English
The authors built a system rather than running an experiment. They started from CARLA's existing server–client structure and extended it so that several different simulator setups can attach to one shared virtual world at the same time. The key design decision is splitting the physics: whatever a human directly feels or controls — tire forces on the steering wheel, the resistance of a bicycle trainer, the rendering of a VR headset — is calculated on that person's own computer, while the central server decides where all the computer-controlled cars and pedestrians are and detects collisions. Because each participant only sends lightweight position and rotation updates and receives discrete collision events, the loop that drives the physical hardware never has to wait on the network. To keep that loop fast, the team avoided ROS for control and instead used CARLA's own API over RPC for reliable state updates and raw UDP for time-critical haptic and motion data, keeping ROS only for recording data in the background. On top of this they built shared tools: a Python library and GUI launcher to install and configure nodes, YAML files that define each setup so the same code can drive a desktop or a motion platform, a browser-based dashboard fed by WebSockets, a spatial audio engine that places sound emitters based on the OpenDRIVE map, and two small C++ servers that translate packed binary packets into force feedback and motion platform commands.
Why This Matters
Impact on research. Behavioral studies of mixed traffic need more than one human in the loop, and the paper argues that the alternative — rule-based or AI-driven pedestrians and cyclists — has a behavioral gap in exactly the social negotiations researchers want to measure. By tolerating wide-area network latency, the architecture makes cross-institutional experiments feasible, letting labs pool participants and hardware instead of each building a complete multi-actor facility. Archiving the YAML configuration alongside rosbag recordings also addresses reproducibility in human factors work.
Real-world applications:
- Studying driver–cyclist and driver–pedestrian yielding behavior at intersections, including eye contact and hesitation.
- Testing and validating ADAS and autonomous driving functions against real human reactions before road deployment.
- Training and evaluating cyclists' or pedestrians' responses to automated vehicles in safety-critical scenarios without physical risk.
- Distributed, multi-site user studies where participants and specialized hardware (motion platforms, bicycle trainers, VR setups) are located at different institutions.
Industry relevance. Commercial connected simulators are described as expensive and locked to proprietary interfaces, and proprietary motion hardware such as D-BOX already appears in the stack. The design deliberately isolates hardware specifics inside swappable server modules, so simulator manufacturers, Tier-1 suppliers, and research consortia can integrate their own rigs without rewriting the simulation client. The explicit safety watchdog behavior is also relevant to anyone operating high-torque direct-drive hardware with human participants.
Future Directions
- Quantitative validation of the distributed architecture. The paper defers latency, synchronization, and perceptual validation to companion publications; measured end-to-end haptic latency, jitter under wide-area network conditions, and agreement between local and server world states remain to be reported.
- Validation and refinement of the audio engine. The authors state that detailed acoustic modeling, frequency masking, and subjective validation of the spatial audio module will appear in a dedicated future publication.
- Scaling the number of nodes and domains. The architecture is described as designed to accommodate additional local domains subject to available server and network resources, but the practical limits on node count and the requirement of a high-performance computer per local node are open questions.
- Extending beyond three interaction domains. The current ecosystem covers vehicle, bicycle, and pedestrian nodes; adding further road users (the related work cites public transit as an agent type in another framework) and integrating automated driving stacks through the ROS logging interface are natural next steps.
Target Audience
Researchers and engineers building multi-participant driving simulators, particularly groups working on human factors, vulnerable road user interaction, and HITL experiment design. It is most useful to readers with some background in simulation systems, networking, or robotics middleware, since the value lies in the architecture and integration details. Practitioners who want to connect custom haptic hardware, motion platforms, or VR setups to CARLA will find the payload layouts, protocol choices, and configuration approach directly actionable, while readers seeking experimental results or user studies should look to the companion publications the authors reference.
Note: the supplied paper content is truncated during the visualization section, so the detailed descriptions of the individual DrivoCARLA, CycloCARLA, and WalkoCARLA nodes (Section V) and the conclusion (Section VI) are not available for this summary.
Authors’ abstract
The development of autonomous driving demands comprehensive testing in mixed-traffic scenarios involving vulnerable road users (VRUs), where purely artificial agents often fail to capture authentic human social negotiations. While human-in-the-loop (HITL) simulators enable safe investigation of these interactions, existing multi-agent platforms struggle with the network latency and synchronization constraints required for high-fidelity haptic feedback. To resolve this, we…
The full abstract on arXivRelated papers
- HIL-UMI: Bringing Human-in-the-Loop Post-Training of Vision-Language-Action Models to Universal Manipulation Interface 2026-09-17 · cs.RO · Key terms of the title in common
- Simultaneous Forward and Inverse Human-in-the-Loop Optimization 2026-09-18 · cs.RO · Key terms of the title in common
- Toward Human-in-the-Loop Robot Failure Recovery: Bridging Communication Gaps in Human-Robot Collaboration 2026-09-21 · cs.RO · Key terms of the title in common
- Human-in-the-Loop Geospatial Annotation for Rapid Dataset Construction in Field-Deployed UAV Systems 2026-09-23 · cs.RO · Key terms of the title in common
- Multi-Objective Human-in-the-Loop Bayesian Optimization of a Lower-Limb Exoskeleton 2026-09-25 · cs.RO · Key terms of the title in common