Updates the data index for the given motor ID.
(self, index: int, motor_id: int)
| 407 | self._data = np.zeros(len(self.motor_ids), dtype=np.float32) |
| 408 | |
| 409 | def _update_data(self, index: int, motor_id: int): |
| 410 | """Updates the data index for the given motor ID.""" |
| 411 | self._data[index] = self.operation.getData(motor_id, self.address, |
| 412 | self.size) |
| 413 | |
| 414 | def _get_data(self): |
| 415 | """Returns a copy of the data.""" |