PX4's simulation

Hello, I want to add the function of simulating the Px4’s flight situation based on the qgroundcontrol’s framwork.Is there any good idea?