-
Notifications
You must be signed in to change notification settings - Fork 219
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
can't connect to QGC via UDP connection using mavsdk #714
Comments
Can you elaborate on your use-case? Do you want MAVSDK to behave like an autopilot? Because your code above tries to connect MAVSDK as a ground station to QGC, which probably won't work. |
Yes, I want that MAVSDK behave like a generic autopilot and I want to connect the QGC, in another words - what do I require for a connection to be established with a generic autopilot? |
You need to create the autopilot as a plugin. I don't think this has been attempted using a language wrapper (like Python) yet. I'm not certain it will work. I would suggest to do it using MAVSDK in C++ and start with this example: |
I want to connect to QGC, i using this code, but QGC still shows on the main screen disconnected. why is this happen?
import asyncio
from mavsdk import System
async def run():
# Create a MAVSDK system object
drone = System()
if name == "main":
loop = asyncio.get_event_loop()
loop.run_until_complete(run())
The text was updated successfully, but these errors were encountered: