Synthesis

The frontier: a cortex that rewires the spinal cord. A Hebbian network reads proprioception and terrain, then outputs all six CPG parameters — tonic drive, time constants, coupling weights — in real time. The gait phase gates the learning: weight updates fire only during stance, when ground contact makes proprioception reliable. Flight is for gathering traces. Touchdown is for applying them.

sensors → cortex → CPG internals → muscles → physics → stance → learn

Speed:
Phase
exploring
Steps
0
Distance
0
Upright
0%
Avg Reward
0.00
Falls
0
Stance %
0%
Strikes
0

Cortex

12 sensors → 8 hidden → 6 CPG parameters. Reward-modulated Hebbian plasticity with eligibility traces. The weights learn which sensory patterns demand which spinal cord configurations.

Spinal Cord

Matsuoka oscillators with proprioceptive reflexes. The cortex tunes the oscillator's internal wiring: drive level, time constants (tau, tauV), reciprocal and contralateral coupling weights.

Stance-Locked Plasticity

Weight updates are gated by gait phase. During stance, ground reaction forces give the cortex reliable signal — learning fires. During flight, eligibility traces accumulate but weights hold still. On touchdown, a burst multiplier amplifies the strike moment. The gait itself decides when to learn.

The six parameters the brain controls

tonic — drive amplitude. How hard the oscillator pushes.
tau — membrane time constant. Controls step frequency.
tau_v — adaptation time constant. Shape of the oscillation.
w_rec — reciprocal inhibition. How strongly flexor/extensor oppose.
w_con — contralateral coupling. Left-right coordination.
w_ipsi — ipsilateral coupling. Hip-to-knee drive on same side.