callbacks

Callback objects used in the Crazyflie library


Classes

Caller

Caller()

An object were callbacks can be registered and called

Create the object


Methods

def add_callback(self, cb)

Register cb as a new callback. Will not register duplicates.


def call(self, *args)

Call the callbacks registered with the arguments args


def remove_callback(self, cb)

Un-register cb from the callbacks