From CAN to ROS: A Monitoring and Data Recording Bridge

Jan 1, 2021·
Safwan Elmadani
,
Matthew Nice
Matt Bunting
Matt Bunting
Jonathan Sprinkle
Jonathan Sprinkle
Rahul Bhadani
Rahul Bhadani
· 1 min read
DOI
Type
Publication
Proceedings of the Workshop on Data-Driven and Intelligent Cyber-Physical Systems
publications

The Controller Area Network (CAN) bus protocol is used in modern vehicles for sharing messages between several control units within a vehicle. CAN bus messages are encoded with unknown scheme and decoding these messages provide unlimited access to valuable information that is used in many autonomous vehicles applications. This paper proposes a ROS based package (CAN-to-ROS) for monitoring, recording, and real-time and offline decoding of CAN bus messages. The package is developed in the ROS framework to add modularity and ease of integration with other software, and it is written in C++ to guarantee speed of the execution during run-time. For realtime decoding of CAN bus data, CAN-to-ROS package used in conjunction with other library called Libpanda that provide access to CAN bus message from a vehicle. The package was evaluated and tested on a Raspberry Pi with real CAN bus data from a Toyota RAV4. The results confirm the capabilities of CAN-to-ROS package and resulted in using the package in other research projects.

Authors
Former MS Student
Authors
Former PhD Student
Matt Bunting
Authors
Research Scientist
Dr. Matthew Bunting is a Research Scientist at the Institute for Software Integrated Systems at Vanderbilt University. He joined Vanderbilt in 2022 having previously been a postdoctoral scholar at the University of Arizona from 2020-2022. His research is in embedded control software and visualization for cyber-physical systems.
Jonathan Sprinkle
Authors
Professor and Chair of Computer Science
Professor of Computer Science at Vanderbilt University. Research in cyber-physical systems, autonomous vehicles, and domain-specific modeling.
Rahul Bhadani
Authors
PhD Student