Speaker
Description
Modern vehicles combine communication protocols with different timing, bandwidth, and dependability characteristics, complicating early network prototyping. This paper presents a virtual testbed coupling the CARLA driving simulator with four firmware-defined electronic control units (ECUs). Each ECU executes MicroPython firmware on an emulated RP2040 microcontroller and communicates through an emulated CAN/CAN-FD controller and synchronized shared bus. A gateway translates vehicle state and driver commands into network messages and returns ECU reports to CARLA. The ECU roles mirror those of a separate Teensy-based physical reference platform, which is not evaluated here. The current executable communication implementation supports Classic CAN and CAN-FD; LIN, FlexRay, and Automotive Ethernet/TSN remain architectural extensions. Source-code inspection identifies the implemented communication paths and observation capabilities, including message injection, packet inspection, and waveform visualization. Preliminary runtime measurements demonstrate a frame throughput of 7,916 frames/s (0.88 Mbit/s equivalent processed bandwidth), zero frame loss, and a median write latency of 417.6 $\mu$s, alongside an emulation progression ratio of $\approx$0.02$\times$ real time across the RP2040 nodes. The result is an extensible research prototype for scenario-driven automotive network experimentation and subsequent validation.