As always my computer science forefathers were more manly than I am. It really is fascinating how these clever mechanisms can be used to solve a dynamic problem such as fire control.
My first encounter with a CS "forefather" was my CS101 professor. He had a long gray beard , glasses, a pocket protector and could do mental arithmetic in octal. When he started in CS there was no CS, so he was a logician, and then switched to CS. The oldest professor from the philosophy department still refers to him as a "traitor"
The best I can piece together the impetus for these computers followed the Battle of Manila Bay, where Commodore Dewey's gun crews fired off a whole lot of ordinance for very few hits. At the time each gun crew sighted their own gun.
By the Battle of Tsushima in the Russian-Japanese War the Japanese, if not the Russians too, must have had this kind of fire control on their British built ships.