ACT: Automated CPS Testing for Open-Source Robotic Platforms
Organizations: Arizona State University · Arkansas State University
Abstract
Open-source software for cyber-physical systems (CPS) often lacks robust testing involving robotic platforms, resulting in critical errors that remain undetected. This is especially challenging when multiple modules of CPS software are developed by various open-source contributors. To address this gap, we propose Automated CPS Testing (ACT) that performs automated, continuous testing of open-source software with its robotic platforms, integrated with the open-source infrastructure such as GitHub. We implement an ACT prototype and conduct a case study on an open-source CPS with an educational robotic platform to demonstrate its capabilities.
Figures & tables
| Mode | Measured Pitch | Actual Pitch | Measured Roll | Actual Roll | Check |
| Normal | 24.14 | 25.00 | 0.20 | 0.00 | Passed |
| Normal | 0.0 | 0.00 | 26.07 | 25.00 | Passed |
| Normal | 10.73 | 10.00 | 0.36 | 0.00 | Passed |
| Faulty | 217.81 | 20.00 | 2.96 | 0.0 | Failed |
| Faulty | 26.56 | 0.0 | 208.10 | 20.00 | Failed |
| Faulty | 44.05 | 0.0 | -400.58 | -20.00 | Failed |
| Fault Classes | Types of Faults | Tested Sensors and Measured (Reported) Results | Display Status | Diagnosis | ||
| Left Bump | Right Bump | Both Bumps | ||||
| Hardware (HW) | Left bump sensor fault | No response to bump | Responds to right bump | Responds only to right-bump sensor | Partial or missing data | Left bump sensor hardware fault |
| Right bump sensor fault | Responds to left bump | No response to bump | Responds only to left-bump sensor | Partial or missing data | Right bump sensor hardware fault | |
| Display fault | Normal bump detection | Normal bump detection | Normal bump detection | Incorrect or missing output | Display hardware fault | |
| Either the display or both of the bump sensors are faulty | Partial or no output | Partial or no output | Partial or no output | No display output | Both sensors are faulty | |
| Software (SW) | Left sensor incorrectly mapped to right | Reports right-bump event | Reports right-bump event | Reports right-bump event | Normal | Left bump sensor mapping error |
Automated Software Testing
Automated software testing uses tools and algorithms to generate, run, and evaluate tests that find defects and prevent regressions.
See all 135 papers