Hi guys, I’m using Jetson Nano to run a Python script to control FC SpeedybeeF405WING through UART /dev/ttyTHS1 in Jetson Nano and Serial1 in FC. But I have a Link timeout problem when I run the script as pictured below:
Here is my python code:
import os
import platform
import sys
from dronekit import connect, VehicleMode,LocationGlobal,LocationGlobalRelative
from pymavlink import mavutil
#############################
############DRONEKIT#################
vehicle = connect("/dev/ttyTHS1", baud=56700, wait_ready=True)
vehicle.wait_ready(True, raise_exception=False)
Before that, I tried the connection using mavproxy.py --master=/dev/ttyTHS1
and the result as below:
My FC is using the latest FW 4.5.7 ardupilot
and this is my setting for serial1