im working on my AUV project now,
i was sending mavlink code from my raspberry pi to companion raspberry pi, but when i changed flight mode with mavlink code there is an error:
Traceback (most recent call last):
File “tes.py”, line 14, in
mode_id = master.mode_mapping()[mode]
TypeError: ‘NoneType’ object has no attribute ‘getitem’
the rest of mavlink code work fine without it.