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

Method __init__

cflib/crazyflie/appchannel.py:42–48  ·  view source on GitHub ↗
(self, crazyflie)

Source from the content-addressed store, hash-verified

40
41class Appchannel:
42 def __init__(self, crazyflie):
43 self._cf = crazyflie
44
45 self.packet_received = Caller()
46
47 self._cf.add_port_callback(CRTPPort.PLATFORM,
48 self._incoming)
49
50 def send_packet(self, data):
51 packet = CRTPPacket()

Callers

nothing calls this directly

Calls 2

CallerClass · 0.90
add_port_callbackMethod · 0.45

Tested by

no test coverage detected