I start learning the ardupilot firmware source code, but I don’t know what features can I add on the souce code
So open question man… Try to be more specific on what you are thinking.
This link can help to introduce you to this new world, enjoy it:
You could try adding support for airframe_configuration message to plane. It handles landing gear.