Getting robots back on track by reconstituting control in unexpected situations with online learning | Synapse