The aerodynamic benefit of wing–wing interaction depends on stroke trajectory in flapping insect wings