Method
__init__
(self,
client: DynamixelClient,
motor_ids: Sequence[int],
pos_scale: float = 1.0,
vel_scale: float = 1.0,
cur_scale: float = 1.0)
Source from the content-addressed store, hash-verified
| 466 | """Reads positions and velocities.""" |
| 467 | |
| 468 | def __init__(self, |
| 469 | client: DynamixelClient, |
| 470 | motor_ids: Sequence[int], |
| 471 | pos_scale: float = 1.0, |
| 472 | vel_scale: float = 1.0, |
| 473 | cur_scale: float = 1.0): |
| 474 | super().__init__( |
| 475 | client, |
| 476 | motor_ids, |
| 477 | address=ADDR_PRESENT_POS_VEL_CUR, |
| 478 | size=LEN_PRESENT_POS_VEL_CUR, |
| 479 | ) |
| 480 | self.pos_scale = pos_scale |
| 481 | |
| 482 | def _initialize_data(self): |
| 483 | """Initializes the cached data.""" |
Callers
nothing calls this directly
Tested by
no test coverage detected