|
|
@ -7574,7 +7574,7 @@ Also, ignores heartbeats not from our target system''' |
|
|
|
raise NotAchievedException("Received MISSION_ACK while waiting for MISSION_COUNT") |
|
|
|
raise NotAchievedException("Received MISSION_ACK while waiting for MISSION_COUNT") |
|
|
|
if m.get_type() != 'MISSION_COUNT': |
|
|
|
if m.get_type() != 'MISSION_COUNT': |
|
|
|
continue |
|
|
|
continue |
|
|
|
if m.target_component != 250: # FIXME: constant?! |
|
|
|
if m.target_component != self.mav.source_system: |
|
|
|
continue |
|
|
|
continue |
|
|
|
if m.mission_type != mission_type: |
|
|
|
if m.mission_type != mission_type: |
|
|
|
raise NotAchievedException("Mission count response of incorrect type") |
|
|
|
raise NotAchievedException("Mission count response of incorrect type") |
|
|
|