Extremly new & want to replace walkera Devo-M unit with ardupilot

Hi please advise before I purchase as I am a tad nervous about getting the wrong stuff! Quad is qr x350 pro, went for a swim, esc’s motors & receiver all ok. I would like to keep all aspects of the present flight modes available.

No problem at all to put a APM in a QR X350. Cables are different but is easy. If you want to kreply the configuration you must to connect the Queen Rui to Mission Planner and make a backup of the parameters. Later you copy it to the APM flight controller. You can find instructions and APM assembling in a QR X350 on YouTube.