>> We use cookies to give you a good experience when visiting bitcraze.io. By using our site, you agree to our use of cookies

---------------
| OK, got it! |
---------------

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