This content is not included in your SAE MOBILUS subscription, or you are not logged in.

Integration of Autonomous Vehicle Frameworks for Software-in-the-Loop Testing

Journal Article
ISSN: 2641-9645, e-ISSN: 2641-9645
Published April 14, 2020 by SAE International in United States
Integration of Autonomous Vehicle Frameworks for Software-in-the-Loop Testing
Citation: Bachuwar, S., Bulsara, A., Dossaji, H., Gopinath, A. et al., "Integration of Autonomous Vehicle Frameworks for Software-in-the-Loop Testing," SAE Int. J. Adv. & Curr. Prac. in Mobility 2(5):2617-2622, 2020,
Language: English


This paper presents an approach for performing software in the loop testing of autonomous vehicle software developed in the Autoware framework. Autoware is an open source software for autonomous driving that includes modules such as localization, detection, prediction, planning and control [8]. Multitudes of autonomous driving frameworks exist today, each having its own pros and cons. Often, MATLAB-Simulink is used for rapid prototyping, system modeling and testing, specifically for the lower-level vehicle dynamics and powertrain control features. For the autonomous software, the Robotic Operating System (ROS) is more commonly used for integrating distributed software components so that they can easily share information through a publish and subscribe paradigm. Thorough testing and evaluation of such complex, distributed software, implemented on a physical vehicle poses significant challenges in terms of safety, time, and cost, especially when considering rare edge cases. Virtual prototyping is therefore a crucial enabler in the development of autonomous software. In a simulated environment, many traffic scenarios under a variety of environmental conditions can be quickly evaluated, at low cost, without safety concerns. In this paper, we report on a simulation environment consisting of three simulation tools. PreScan (by Siemens/TASS) combined with Simulink (by Mathworks) is used for simulating how the vehicle interacts with the environment: sensors, actuators, the vehicle dynamics and powertrain. The autonomy software is emulated directly in Autoware.AI on top of ROS. To evaluate the autonomous software, synthetic data from the sensors simulated in PreScan are published to ROS where they are processed by the autonomy stack. Similarly, the control signals generated by the autonomy stack in Autoware are subscribed to by PreScan where they serve as input to the virtual vehicle model. The paper describes in detail the integration of PreScan and Autoware, illustrates this integration for object detection using a monocular camera, and characterizes the performance in terms of message transfer speed.