The self-contained robot developed by Massachusetts Institute of Technology is capable of rapid body motion.
The continuous curvature of the fish's body when it flexes is what allows it to change direction so quickly.
"A rigid-body robot could not do continuous bending," said Daniela Rus, a professor of computer science and engineering, director of MIT's Computer Science and Artificial Intelligence Laboratory, and one of the researchers who designed and built the fish.
Each side of the fish's tail is bored through with a long, tightly undulating channel, researchers explained.
More From This Section
Carbon dioxide released from a canister in the fish's abdomen causes the channel to inflate, bending the tail in the opposite direction, they said.
Each half of the fish tail has just two control parameters: the diameter of the nozzle that releases gas into the channel and the amount of time it's left open.
That "decoupling" of the two parameters, he said, is something that biologists had observed in real fish.
"To be honest, that's not something I designed for. I designed for it to look like a fish, but we got the same inherent parameter decoupling that real fish have," Marchese said.
Marchese used a 3-D printer to build the mould in which he cast the fish's tail and head from silicone rubber and the polymer ring that protects the electronics in the fish's guts.
But the comparatively simple manoeuvre of swimming back and forth across a tank drains the canister quickly.
"The fish was designed to explore performance capabilities, not long-term operation," Marchese said.
A new version of the fish that should be able to swim continuously for around 30 minutes will use pumped water instead of carbon dioxide to inflate the channels, but otherwise, it will use the same body design, Marchese said.
Rus said that such a robot could infiltrate schools of real fish to gather detailed information about their behaviour in the natural habitat.