We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf6b14 commit a2071d0Copy full SHA for a2071d0
MAVProxy/modules/lib/mission_item_protocol.py
@@ -365,6 +365,9 @@ def idle_task_check_opaque_id(self):
365
'''the vehicle may return an identifier for its onboard mission.
366
Check it against what we think is on the vehicle, emit stale
367
message if we detect a mismatch'''
368
+ if self.opaque.autopilot_id == 0:
369
+ # no opaque ID available from autopilot
370
+ return
371
if self.opaque.have_id == self.opaque.autopilot_id:
372
# reset so we work on things straight away:
373
self.opaque.mission_stale_warn_time = 0
0 commit comments