cfusb

USB driver for the Crazyflie.


Classes

CfUsb

CfUsb(device=None, devid=0)

Used for communication with the Crazyradio USB dongle

Create object and scan for USB dongle if no device is supplied


Methods

def close(self)

def get_serial(self)

def receive_packet(self)

def scan(self)

def send_packet(self, dataOut)

Send a packet and receive the ack from the radio dongle The ack contains information about the packet transmission and a data payload if the ack packet contained any


def set_crtp_to_usb(self, crtp_to_usb: bool)