MCPcopy Create free account
hub / github.com/bitcraze/crazyflie-lib-python / read_data

Method read_data

cflib/crazyflie/mem/memory_tester.py:76–81  ·  view source on GitHub ↗

Request an update of the memory content

(self, start_address, size, update_finished_cb)

Source from the content-addressed store, hash-verified

74 self._update_finished_cb = None
75
76 def read_data(self, start_address, size, update_finished_cb):
77 """Request an update of the memory content"""
78 if not self._update_finished_cb:
79 self._update_finished_cb = update_finished_cb
80 logger.debug('Reading memory {}'.format(self.id))
81 self.mem_handler.read(self, start_address, size)
82
83 def write_data(self, start_address, size, write_finished_cb):
84 """Write data to the Crazyflie"""

Callers 1

Calls 1

readMethod · 0.80

Tested by

no test coverage detected