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 (deprecated).

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

Deprecated: Use supervisor.send_arming_request(do_arm) instead.


def send_crash_recovery_request(self)

Send crash recovery request (deprecated).

Deprecated: Use supervisor.send_crash_recovery_request() instead.


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.