Initializes the cached data.
(self)
| 436 | self.cur_scale = cur_scale |
| 437 | |
| 438 | def _initialize_data(self): |
| 439 | """Initializes the cached data.""" |
| 440 | self._pos_data = np.zeros(len(self.motor_ids), dtype=np.float32) |
| 441 | self._vel_data = np.zeros(len(self.motor_ids), dtype=np.float32) |
| 442 | self._cur_data = np.zeros(len(self.motor_ids), dtype=np.float32) |
| 443 | |
| 444 | def _update_data(self, index: int, motor_id: int): |
| 445 | """Updates the data index for the given motor ID.""" |
nothing calls this directly
no outgoing calls
no test coverage detected