toc

A generic TableOfContents module that is used to fetch, store and manipulate a TOC for logging or parameters.


Classes

Toc

Toc()

Container for TocElements.


Methods

def add_element(self, element)

Add a new TocElement to the TOC container.


def clear(self)

Clear the TOC


def get_element(self, group, name)

Get a TocElement element identified by name and group from the container.


def get_element_by_complete_name(self, complete_name)

Get a TocElement element identified by complete name from the container.


def get_element_by_id(self, ident)

Get a TocElement element identified by index number from the container.


def get_element_id(self, complete_name)

Get the TocElement element id-number of the element with the supplied name.


TocFetcher

TocFetcher(crazyflie, element_class, port, toc_holder, finished_callback, toc_cache)

Fetches TOC entries from the Crazyflie


Methods

def start(self)

Initiate fetching of the TOC.