Modelling and control of a flying robot interacting with the environment