How to attitude control

Hi

Is there a sample code for attitude control in Navio 2?
Is the expandability of Navio 2 development more developed based on Ardupilot?