Driver API
Bases: ABC
Minimal interface implemented by vendor-specific drivers.
Source code in dexterous_hand/driver.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | |
command_positions(positions_rad)
abstractmethod
Command target joint positions in radians.
Source code in dexterous_hand/driver.py
23 24 25 | |
connect()
abstractmethod
Open communication with the hand.
Source code in dexterous_hand/driver.py
11 12 13 | |
disconnect()
abstractmethod
Close communication with the hand.
Source code in dexterous_hand/driver.py
15 16 17 | |
read_joints()
abstractmethod
Return the current joint states.
Source code in dexterous_hand/driver.py
19 20 21 | |
stop()
abstractmethod
Stop motion immediately where the hardware supports it.
Source code in dexterous_hand/driver.py
27 28 29 | |
Bases: HandDriver
In-memory driver for tests, demos, and documentation examples.
Source code in dexterous_hand/driver.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | |