Libpanda: A High Performance Library for Vehicle Data Collection
- University of Minnesota
Cyber-Physical Systems (CPS) generally involve time-critical components due to physical dynamics, therefore necessitating high-performance subsystems. This is also true in data collection scenarios to infer physical phenomena. This paper covers Libpanda as an example of a component that has been designed to address performance issues in CPS implementations. Libpanda is a C++ library that interfaces software with a Comma.ai Panda device. Pandas are used for installation in modern vehicles to read the vehicle CAN bus, providing rich sensor data and limited vehicle control through message injection. The motivation to design lib-panda stems from the lack of performance in Python-based code that runs on inexpensive hardware like a Raspberry Pi. In such situations, Python code would result in utilizing 92% CPU while also dropping around 40% of the CAN packet due to bottlenecks. Without using different tools, inconsistent data collection means a loss of time-based vehicle state interpretation. Libpanda addresses these issues through implementation in a different language and implementation of different design paradigms involving asynchronous calls and multithreading. The Panda also features a GPS module that allows multiple instances to synchronize clocks for large-scale data collection scenarios. Libpanda has been designed with time-synchronization in mind to aid in the measurement of inter-vehicle dynamics. The performance improvements of libpanda have resulted in it becoming an important component in automotive dynamics research that requires a higher technical performance in large-scale experiments.
- Research Organization:
- University of Arizona
- Sponsoring Organization:
- USDOE Office of Energy Efficiency and Renewable Energy (EERE), Transportation Office. Vehicle Technologies Office
- DOE Contract Number:
- EE0008872
- OSTI ID:
- 1783433
- Report Number(s):
- DOE-UA-08872
- Country of Publication:
- United States
- Language:
- English
Similar Records
A study of the Earth-Manna multithreaded system
Asynchronous design for digital signal-processing architectures
Experiments with Memory-to-Memory Coupling for End-to-End fusion Simulation Workflows
Journal Article
·
Thu Aug 01 00:00:00 EDT 1996
· International Journal of Parallel Programming
·
OSTI ID:441127
Asynchronous design for digital signal-processing architectures
Thesis/Dissertation
·
Thu Dec 31 23:00:00 EST 1987
·
OSTI ID:7019939
Experiments with Memory-to-Memory Coupling for End-to-End fusion Simulation Workflows
Conference
·
Thu Dec 31 23:00:00 EST 2009
·
OSTI ID:982178