PX4 Firmware modules

Someone help me regarding PX4 for Fixed wing planes.

Can someone post some example and testing code for modules

What are you looking for exactly? The FW controllers are here -


With gazebo you can run PX4 SITL with a plane. https://dev.px4.io/en/simulation/gazebo.html