Capacitor space sensor