RoboRun: A Robot Runtime to Exploit Spatial Heterogeneity

Behzad Boroujerdian, Radhika Ghosal, Jonathan J. Cruz, Brian Plancher, Vijay Janapa Reddi · DOI

Introduction: The Compute Tax in Autonomous Flight

Autonomous Micro Aerial Vehicles (MAVs) are often constrained by limited onboard energy and compute resources. A significant bottleneck in current designs is spatial obliviousness. Most robotic systems employ static, "worst-case" configurations—for instance, maintaining high-precision sensing and mapping even when flying through empty, obstacle-free spaces. This "compute tax" forces robots to fly slower to accommodate processing latency, which paradoxically drains batteries faster as the flight duration increases.

RoboRun: A Spatial-Aware Middleware

To address this, we present RoboRun, a middleware built on the Robot Operating System (ROS) that dynamically manages compute resources based on the robot's immediate environment. RoboRun treats spatial heterogeneity as a first-class input for runtime optimization.

Key Components

The system identifies four critical environmental features: space precision (map detail), space volume (area to be mapped), traversal speed, and visibility.

Visualizing spatial features: FOV and Voxel-based mapping volumes.

At the heart of RoboRun is The Governor, which utilizes a Time Budgeting Algorithm. It calculates a "deadline" for navigation decisions by balancing current speed against sensor visibility. By adjusting six "knobs" across the perception, planning, and control pipeline—such as point-cloud sampling density—RoboRun solves a real-time optimization problem to match computational latency with safety-induced environmental deadlines.

Evaluation and Results

RoboRun was evaluated using Hardware-in-the-Loop (HIL) simulations in Unreal Engine with AirSim. Testing across 27 distinct environments with varying obstacle densities revealed that RoboRun significantly outperforms static baselines like MAVBench.

Comparison between spatial-oblivious (left) and spatial-aware (right) designs across mission metrics.

Performance Gains

  • Velocity & Efficiency: RoboRun achieved a 5x improvement in flight velocity (from 0.4 m/s to 2.5 m/s) and a 4.5x reduction in total mission time.
  • Energy Savings: The dynamic adjustment of compute load resulted in a 4x reduction in total energy consumption.
  • Resource Reclamation: By reducing average CPU utilization by 36%, RoboRun frees up "cognitive headroom" for secondary tasks like object detection or semantic labeling without requiring hardware upgrades.

Conclusion and Future Directions

RoboRun demonstrates that onboard computing is a powerful performance lever when made aware of its environment. By "downshifting" precision in safe zones, robots can achieve unprecedented agility and efficiency. Future work will explore extending these principles to ground-based robotics and investigating hardware-software co-design, where underlying silicon could be dynamically reconfigured based on spatial features.

Summary updated

BibTeX
@inproceedings{boroujerdian2021roborun,
  author = {Behzad Boroujerdian and Radhika Ghosal and Jonathan J. Cruz and Brian Plancher and Vijay Janapa Reddi},
  title = {{RoboRun: A Robot Runtime to Exploit Spatial Heterogeneity}},
  booktitle = {DAC},
  year = {2021},
  doi = {10.1109/dac18074.2021.9586280},
}
Figure