Hi,I’m trying to get mavlink messages from component 1.
from pymavlink import mavutil
the_connection = mavutil.mavlink_connection('/dev/ttyS0', 921600,source_component=1)
the_connection.wait_heartbeat()
print("Heartbeat from system (system %u component %u)" %(the_connection.target_system, the_connection.target_component))
while True:
response = the_connection.recv_match(blocking=True)
print(response)
But the response only has heartbeat from component 0