Middleware for a Heterogeneous CAV Fleet

Jan 1, 2023·
Matthew Nice
Matt Bunting
Matt Bunting
Dan Work
Dan Work
Jonathan Sprinkle
Jonathan Sprinkle
· 2 min read
DOI
Type
Publication
Proceedings of Cyber-Physical Systems and Internet of Things Week 2023
publications

This paper introduces CAN to ROS, a model-based code generation tool used in development, testing, and deployment of a heterogeneous fleet of vehicles with robotic sensing in ROS. Code generation supports two main features: (1) self-configuration for deployment in a heterogeneous vehicle fleet, and (2) quick iteration for testing and development of reading vehicle sensors and robotic control. This tool features the ability to detect the vehicle it is in and regenerate and rebuild itself at runtime to provide the proper two-way bridge between ROS and the sensed on-board vehicle sensor network. Code generation relies on a per-model defined JSON to map a CAN database (DBC) to the desired ROS topic names and message types. The live ROS publishing of CAN messages allows for instant feedback, and the code regeneration allows for adjustments in DBC or vehicle JSON to iteratively hone in on new vehicle signals. Generated ROS nodes are written in C++ for runtime use in lightweight embedded computers. This has been tested in vehicles from three different Original Equipment Manufacturers (OEMs), and can be extended to support a wide array of vehicles. By using a unifying ROS specification, a heterogeneous set of vehicles can be unified into a fleet with abstracted model-specific details; this opens the door for developing cross-model software applications for vehicle control, connected vehicle applications, or fleet monitoring systems.

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.
Dan Work
Authors
Professor
Dan Work is a Chancellor Faculty Fellow and professor in civil and environmental engineering, computer science, and the Institute for Software Integrated Systems at Vanderbilt University.
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.