Royal Navy commander Charles Rumney Samson became the first pilot to take a plane into the air off of a ship in motion, when he flew his airplane off of HMS Hibernia 1905 6 , which was moving at a speed of 10 knots .