platformservice

Used for sending control setpoints to the Crazyflie


Classes

PlatformService

PlatformService(crazyflie=None)

Used for sending control setpoints to the Crazyflie

Initialize the platform object.


Methods

def fetch_platform_informations(self, callback)

Fetch platform info from the firmware Should be called at the earliest in the connection sequence


def get_protocol_version(self)

Return version of the CRTP protocol


def send_arming_request(self, do_arm: bool)

Send system arm/disarm request

Args: do_arm (bool): True = arm the system, False = disarm the system


def set_continous_wave(self, enabled)

Enable/disable the client side X-mode. When enabled this recalculates the setpoints before sending them to the Crazyflie.