setlistener("/controls/engines/engine[0]/cowl-flaps-cmd", func(v) {
  interpolate("/controls/engines/engine[0]/cowl-flaps-pos", v.getValue(), 0.25);
});

setlistener("/controls/engines/engine[1]/cowl-flaps-cmd", func(v) {
  interpolate("/controls/engines/engine[1]/cowl-flaps-pos", v.getValue(), 0.25);
});
