MCPcopy
hub / github.com/dronekit/dronekit-python / fix_targets

Method fix_targets

dronekit/mavlink.py:274–277  ·  view source on GitHub ↗

Set correct target IDs for our vehicle

(self, message)

Source from the content-addressed store, hash-verified

272 self.master = mavutil.mavlink_connection(self.master.address)
273
274 def fix_targets(self, message):
275 """Set correct target IDs for our vehicle"""
276 if hasattr(message, 'target_system'):
277 message.target_system = self.target_system
278
279 def forward_loop(self, fn):
280 """

Callers 4

newsendfnMethod · 0.95
callbackMethod · 0.80
listenerMethod · 0.80
addMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected