Also check out INAV if you want to build a more DJI-style drone, this would be the Flight Control software: https://github.com/iNavFlight/inav
Other FC software include ArduPilot for more of a groundstation approach, while Betaflight, EmuFlight, and similar FC software are what FPV race, freestyle, and cinematic pilots prefer.