MCPcopy Create free account
hub / github.com/bitcraze/crazyflie-lib-python / __init__

Method __init__

cflib/crazyflie/__init__.py:360–363  ·  view source on GitHub ↗
(self, cf)

Source from the content-addressed store, hash-verified

358 """Handles incoming packets and sends the data to the correct receivers"""
359
360 def __init__(self, cf):
361 Thread.__init__(self)
362 self.cf = cf
363 self.cb = []
364
365 def add_port_callback(self, port, cb):
366 """Add a callback for data that comes on a specific port"""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected