A gradient method for realtime robot control | Synapse