DroneKit is no longer recommended.
You should instead use MAVSDKarrow-up-right with PX4, as this is far better in almost every way: features, speed, programming language support, maintenance, etc.
Documentation on using DroneKit with PX4 can be found here: PX4 v1.12 > DroneKitarrow-up-right.
Last updated 2 years ago