Visible to the public Resource-Aware Control for Cyber-Physical Systems (paper)