Theory and design of robust direct and indirect adaptive-control schemes | Synapse