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
| 532 | """Reads positions and velocities.""" |
| 533 | |
| 534 | def __init__(self, |
| 535 | client: DynamixelClient, |
| 536 | motor_ids: Sequence[int], |
| 537 | pos_scale: float = 1.0, |
| 538 | vel_scale: float = 1.0, |
| 539 | cur_scale: float = 1.0): |
| 540 | super().__init__( |
| 541 | client, |
| 542 | motor_ids, |
| 543 | address=ADDR_PRESENT_POS_VEL_CUR, |
| 544 | size=LEN_PRESENT_POS_VEL_CUR, |
| 545 | ) |
| 546 | self.cur_scale = cur_scale |
| 547 | |
| 548 | def _initialize_data(self): |
| 549 | """Initializes the cached data.""" |
Callers
nothing calls this directly
Tested by
no test coverage detected