Answer:
Cannon barrels (the automatic weapon)
Leonardo was seriously concerned by the insufficiencies of contemporary warfare, especially irritated by the time between cannon fire shots, caused by the need for relocation. Leonardo devised a multi-barreled cannon to spin a line of cannons and recharge another: a precursor of the day modern machine gun.