receiving and sending mavlink messages using pymavlink library
问题 I have created a proxy between QGC(Ground Control Station) and vehicle in Python. Here is the code: gcs_conn = mavutil.mavlink_connection('tcpin:localhost:15795') gcs_conn.wait_heartbeat() print("Heartbeat from system (system %u component %u)" %(gcs_conn.target_system, gcs_conn.target_system)) vehicle = mavutil.mavlink_connection('tcp:localhost:5760') vehicle.wait_heartbeat() # recieving heartbeat from the vehicle print("Heartbeat from system (system %u component %u)" %(vehicle.target_system,