A new control method lets soft robots bend into precise shapes in real time with multiple segments. — Synthesis