-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Force Mavlink Version to 2.0 #935
Comments
I think I may have hacked this into working by adding the following line after the mav connection is verified:
This essentially forces the pymavlink object to re-evaluate the mavlink mode. |
Can you verify that this hack is still your standby for forcing dronekit to use Mavlink 2.0? For this to work, do you need to make changes to pymavlink? It seems like there should be a way to select Mavlink 2.0 in dronekit and I'm surprised there isn't an issue about this. |
Any updates on how to set mavlink protocol version to 2.0 using dronekit ? |
did anybody solve this? |
In pymavlink, I do the following and it helps force the version to MAVLINK 2.0:
However, the same trick does not seem to have an effect in DroneKit. Is there a simple way to force MAVLINK 2.0 instead of 1.0 on default? I am running a custom modfiied version of DroneKit already, so changes to the dronekit package are acceptable in my case. We have a unique comms setup, that boots up before the aircraft. It seems that in some cases, if DroneKit boots first, it will default and stay on MAVLINK 1.0.
The text was updated successfully, but these errors were encountered: