Hi. i bought CUAV Xtend telem. in my code i can connect with drone. Does any one can help me?
code:
import asyncio
from mavsdk import System
async def run():
drone = System()
await drone.connect(system_address=“serial:///dev/ttyACM0:57600”)
print("Waiting for drone to connect...")
async for state in drone.core.connection_state():
if state.is_connected:
print("Drone discovered with UUID")
break
if name == “main”:
loop = asyncio.get_event_loop()
loop.run_until_complete