Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DroneKit using any flight controller #1199

Closed
Giol-Vinyals-i-Roca opened this issue Jul 27, 2023 · 2 comments
Closed

DroneKit using any flight controller #1199

Giol-Vinyals-i-Roca opened this issue Jul 27, 2023 · 2 comments

Comments

@Giol-Vinyals-i-Roca
Copy link

Is it possible to use drone kit with a Raspberry Pi and communicate to a “normal” (non ardupilot) flight controller, via serial?

@Shreyas-dotcom
Copy link

DroneKit should be compatible with any flight controller that uses the Mavlink flight communications protocol. Keep in mind though - if you're using a non ardupilot FC, there's a good chance some of the features may not work, and you'd have to edit some of the code to get it working.

@hamishwillee
Copy link
Contributor

Yes-ish.

MAVLink is supposed to be flight-stack agnostic but the fact is that there are differences between flight stack implementations even in core services such as parameter exchange and mission upload. For example, ArduPilot keeps the home location in the zeroth item of a mission, while PX4 does not, and if working with raw MAVlink, you need to be aware of that.

DroneKit is "somewhat aware" of the differences between ArduPilot and PX4 so to some extent you can use it for either. However it was developed/tested against ArduPilot. That means that you can use it with PX4 but it isn't as well tested. If you're using some other flight stack it could be even less useful.

If working with PX4 I'd recommend MAVSDK - https://mavsdk.mavlink.io/main/en/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants