Hello!
I am new to pymavlink and am trying to develop a python3 serial communication script to send messages to Mission Planner.
I have tried reading these documents which I generally have found unhelpful and non-descriptive.
I am wondering if someone could help point me to python3 resources or help me get started with basic messaging?
This is my basic code so far:
from pymavlink import mavutil
connection = mavutil.mavlink_connection(IP_address)
connection.wait_heartbeat()
print("Heartbeat from system (system %u component %u)" % (connection
.target_system,
connection.target_component))
connection.mav.send('this is a test')
connection.close()