Arduino hardware is barely capable of running a simple one-variable PID loop at a high sampling rate, say 1Khz. A rocket control software will require a full-blown MIMO model with complex transfer functions. You'll also need high ports speed; Arduino won't cut it. At the very least you'll need something like a Cortex-R5.