loco_memory_2


Classes

AnchorData2

AnchorData2(position=(0.0, 0.0, 0.0), is_valid=False)

Holds data for one anchor


Methods

def set_from_mem_data(self, data)

LocoMemory2

LocoMemory2(id, type, size, mem_handler)

Memory interface for accessing data from the Loco Positioning system version 2

Initialize the element with default values


Ancestors (in MRO)

Class variables

ADR_ACTIVE_ID_LIST

ADR_ANCHOR_BASE

ADR_ID_LIST

ANCHOR_PAGE_SIZE

ID_LIST_LEN

MAX_NR_OF_ANCHORS

PAGE_LEN

SIZE_OF_FLOAT

Methods

def disconnect(self)

def new_data(self, mem, addr, data)

Callback for when new memory data has been fetched


def update_active_id_list(self, update_active_ids_finished_cb)

Request an update of the active id list


def update_data(self, update_data_finished_cb)

Request an update of the anchor data


def update_id_list(self, update_ids_finished_cb)

Request an update of the id list