This content is not included in your SAE MOBILUS subscription, or you are not logged in.
ROS and XCP in Traditional ECU Development
ISSN: 0148-7191, e-ISSN: 2688-3627
Published April 14, 2020 by SAE International in United States
Annotation ability available
Originally developed for the service robot industry, the Robot Operating System (ROS) has lately received a lot of attention from the automotive sector with use cases, especially, in the area of advanced driver assistance systems and autonomous driving (ADAS/AD). Introduced as communication framework on top a of a host operating system, the value proposition of ROS is to simplify the software development in large-scale heterogeneous computing systems. Developers can focus on the application layer and let ROS handle the discovery of all participants in the system and establish communication in-between them. Despite the recent success of ROS, standardized automotive communication protocols such as the Universal Measurement and Calibration Protocol (XCP) are still dominant in the electronic control unit (ECU) development of traditional vehicle subsystems like engine, transmission, braking system, etc. XCP guarantees that common measurement and calibration tools can be used across different vehicles with ECUs from multiple suppliers. With the advancing area of ADAS/AD, we also expect the presence of ROS-based modules in the development of new vehicle platforms to increase. In this paper, we therefore propose a combination of ROS and XCP to reuse already established tools for the combined development and validation of both traditional ECUs and ADAS/AD functionality. In particular, an XCP slave is integrated into a ROS node to convert ROS messages into the corresponding XCP equivalent to enable the interface to the measurement and calibration tool.
CitationGutjahr, T. and Roddy, M., "ROS and XCP in Traditional ECU Development," SAE Technical Paper 2020-01-1367, 2020, https://doi.org/10.4271/2020-01-1367.
- Association for Standardization of Automation and Measuring Systems , “Data Model for ECU Measurement and Calibration,” ASAM MCD-2 MC (ASAP2/A2L), Version 1.7.1, January 2018.
- Association for Standardization of Automation and Measuring Systems, “Plug-On Device Interface,” ASAM MCD-1 POD, Version 1.0.0, May 2017.
- “ETK/FETK/XETK - ECU Interfaces,” ETAS GmbH, accessed July 19, 2019, https://www.etas.com/en/products/etk_fetk_xetk_ecu_interfaces.php.
- International Organization for Standardization , “Road Vehicles - Diagnostic Systems - Keyword Protocol 2000 - Part 3: Application Layer,” ISO 14230-3:1999, March 1999.
- International Organization for Standardization , “Road Vehicles - Unified Diagnostic Services (UDS) - Part 1: Specification and Requirements,” ISO 14229-1:2013, March 2013.
- Association for Standardization of Automation and Measuring Systems , “CAN Calibration Protocol,” ASAM MCD-1 (CCP), Version 2.1.0, February 1999.
- Association for Standardization of Automation and Measuring Systems , “Universal Measurement and Calibration Protocol,” ASAM MCD-1 (XCP), Version 1.5.0, November 2017.
- Patzer, A. and Zaiser, R. , XCP - The Standard Protocol for ECU Development: Fundamentals and Application Areas (Vector Informatik GmbH, December 2016).
- Quigley, M., Gerkey, B., Conley, K., Faust, J. et al. , “ROS: An Open-Source Robot Operating System,” in ICRA Workshop on Open Source Software 3(3.2), 2009.
- Winner, H., Hakuli, S., Lotz, F., and Singer, C. , Handbook of Driver Assistance Systems: Basic Information, Components and Systems for Active Safety and Comfort (Springer, 2016).
- Tilsner, H. and Triess, B. , “In-Vehicle Validation of Safety-Critical Sensor Fusion ECUs with uP Technology,” in 3rd International ATZ Conference Automated Driving, Frankfurt, April 2017.
- Association for Standardization of Automation and Measuring Systems, accessed October 3, 2019, https://www.asam.net.
- Quigley, M., Gerkey, B., and Smart, W.D. , Programming Robots with ROS: A Practical Introduction to the Robot Operating System (O’Reilly Media, December 2015).
- “ROS Wiki,” Open Source Robotics Foundation, accessed July 23, 2019, http://wiki.ros.org.
- DiLuoffo, V., Michalson, W.R., and Sunar, B. , The Transition from ROS 1 to ROS 2 (Worcester Polytechnic Institute, June 2017).
- Object Management Group , “The Real-time Publish-Subscribe Protocol DDS Interoperability Wire Protocol (DDSI-RTPS) Specification,” DDSI-RTPS, Version 2.3, April 2019.
- Gutiérrez, C.S.V., Juan, L.U.S., Ugarte, I.Z., and Vilches, V.M. , “Towards a Distributed and Real-time Framework for Robots: Evaluation of ROS 2.0 Communications for Real-time Robotic Applications,” arXiv:1809.02595, September 2018, https://arxiv.org/pdf/1809.02595.pdf.
- “ROS 2 Design,” Open Source Robotics Foundation, accessed July 23, 2019, http://design.ros2.org.
- Bulwahn, L., Ochs, T., and Wagner, D. , Research on an Open-Source Software Platform for Autonomous Driving Systems (BMW Car IT GmbH, 2013).
- Ainhauser, C., Bulwahn, L., Hildisch, A., Holder, S. et al. , “Autonomous Driving Needs ROS,” in ROSCon, Stuttgart, 2013.
- Aeberhard, M., Kühbeck, T., Seidl, B., Friedl, M. et al , “Automated Driving with ROS at BMW,” in ROSCon, Hamburg, 2015.
- Bulwahn, L., Ochs, T., and Wagner, D. , “An Open-source Software Platform for Autonomous Driving Systems: Its Success and its Difficulties,” in FOSDEM, Brussels, 2017.
- Fregin, A., Roth, M., Braun, M., Krebs, S. et al. , “Building a Computer Vision Research Vehicle with ROS,” in ROSCon, Vancouver, 2017.
- Valigi, N. , “Lessons Learned Building a Self-driving Car on ROS,” in ROSCon, Madrid, 2018.
- Chen, I. and Agüero, C. , “Vehicle and City Simulation with Gazebo and ROS,” in ROSCon, Vancouver, 2017.
- Watzenig, D. , “Combining ROS and AI for Fail-operational Automated Driving,” in Software Defined Vehicles, December 2017.
- Noh, S. and Han, W.-Y. , “Collision Avoidance in On-Road Environment for Autonomous Driving,” in 14th International Conference on Control, Automation and Systems (ICCAS), Gyeonggi-do, Korea, 2014.
- ROSCon 2019 , Open Source Robotics Foundation, accessed July 26, 2019, https://roscon.ros.org/2019.
- INCA Software Products , ETAS GmbH, accessed October 4, 2019, https://www.etas.com/en/products/inca_software_products.php.
- Association for Standardization of Automation and Measuring Systems , “Measurement Data Format,” ASAM MDF, Version 4.1.1, June 2014.
- ES593-D - Interface Module , ETAS GmbH, accessed October 4, 2019, https://www.etas.com/en/products/es593d.php.
- ETAS XCP Integration Package (XCP-IP) , ETAS GmbH, accessed July 29, 2019, https://www.etas.com/en/products/xcp_integration_package.php.
- Installing ROS 2 on Windows , Open Source Robotics Foundation, accessed July 29, 2019, https://index.ros.org/doc/ros2/Installation/Crystal/Windows-Install-Binary.
- Raspberry Pi Images , Ubiquity Robotics, accessed July 29, 2019, https://downloads.ubiquityrobotics.com/pi.html.
- ROS on Windows Installation , Open Source Robotics Foundation, accessed July 29, 2019, http://wiki.ros.org/Installation/Windows.