@@ -13,14 +13,21 @@ __all__ = [
1313 "BaseCameraConfig" ,
1414 "FR3" ,
1515 "FrankaHandTCPOffset" ,
16+ "GraspType" ,
1617 "Gripper" ,
1718 "GripperConfig" ,
1819 "GripperState" ,
1920 "HARDWARE" ,
21+ "Hand" ,
22+ "HandConfig" ,
23+ "HandState" ,
2024 "IK" ,
2125 "IdentityRotMatrix" ,
2226 "IdentityRotQuatVec" ,
2327 "IdentityTranslation" ,
28+ "LATERAL_GRASP" ,
29+ "POWER_GRASP" ,
30+ "PRECISION_GRASP" ,
2431 "Pin" ,
2532 "Pose" ,
2633 "RL" ,
@@ -33,6 +40,7 @@ __all__ = [
3340 "RobotType" ,
3441 "SIMULATION" ,
3542 "SO101" ,
43+ "TRIPOD_GRASP" ,
3644 "UR5e" ,
3745 "XArm7" ,
3846 "robots_meta_config" ,
@@ -47,6 +55,41 @@ class BaseCameraConfig:
4755 resolution_width : int
4856 def __init__ (self , identifier : str , frame_rate : int , resolution_width : int , resolution_height : int ) -> None : ...
4957
58+ class GraspType :
59+ """
60+ Members:
61+
62+ POWER_GRASP
63+
64+ PRECISION_GRASP
65+
66+ LATERAL_GRASP
67+
68+ TRIPOD_GRASP
69+ """
70+
71+ LATERAL_GRASP : typing .ClassVar [GraspType ] # value = <GraspType.LATERAL_GRASP: 2>
72+ POWER_GRASP : typing .ClassVar [GraspType ] # value = <GraspType.POWER_GRASP: 0>
73+ PRECISION_GRASP : typing .ClassVar [GraspType ] # value = <GraspType.PRECISION_GRASP: 1>
74+ TRIPOD_GRASP : typing .ClassVar [GraspType ] # value = <GraspType.TRIPOD_GRASP: 3>
75+ __members__ : typing .ClassVar [
76+ dict [str , GraspType ]
77+ ] # value = {'POWER_GRASP': <GraspType.POWER_GRASP: 0>, 'PRECISION_GRASP': <GraspType.PRECISION_GRASP: 1>, 'LATERAL_GRASP': <GraspType.LATERAL_GRASP: 2>, 'TRIPOD_GRASP': <GraspType.TRIPOD_GRASP: 3>}
78+ def __eq__ (self , other : typing .Any ) -> bool : ...
79+ def __getstate__ (self ) -> int : ...
80+ def __hash__ (self ) -> int : ...
81+ def __index__ (self ) -> int : ...
82+ def __init__ (self , value : int ) -> None : ...
83+ def __int__ (self ) -> int : ...
84+ def __ne__ (self , other : typing .Any ) -> bool : ...
85+ def __repr__ (self ) -> str : ...
86+ def __setstate__ (self , state : int ) -> None : ...
87+ def __str__ (self ) -> str : ...
88+ @property
89+ def name (self ) -> str : ...
90+ @property
91+ def value (self ) -> int : ...
92+
5093class Gripper :
5194 def get_normalized_width (self ) -> float : ...
5295 def get_parameters (self ) -> GripperConfig : ...
@@ -64,6 +107,24 @@ class GripperConfig:
64107class GripperState :
65108 pass
66109
110+ class Hand :
111+ def __init__ (self ) -> None : ...
112+ def get_normalized_joint_poses (self ) -> numpy .ndarray [tuple [M ], numpy .dtype [numpy .float64 ]]: ...
113+ def get_parameters (self ) -> HandConfig : ...
114+ def get_state (self ) -> HandState : ...
115+ def grasp (self ) -> None : ...
116+ def is_grasped (self ) -> bool : ...
117+ def open (self ) -> None : ...
118+ def reset (self ) -> None : ...
119+ def set_normalized_joint_poses (self , q : numpy .ndarray [tuple [M ], numpy .dtype [numpy .float64 ]]) -> None : ...
120+ def shut (self ) -> None : ...
121+
122+ class HandConfig :
123+ def __init__ (self ) -> None : ...
124+
125+ class HandState :
126+ def __init__ (self ) -> None : ...
127+
67128class IK :
68129 def forward (self , q0 : numpy .ndarray [tuple [M ], numpy .dtype [numpy .float64 ]], tcp_offset : Pose = ...) -> Pose : ...
69130 def ik (
@@ -256,7 +317,11 @@ def robots_meta_config(robot_type: RobotType) -> RobotMetaConfig: ...
256317
257318FR3 : RobotType # value = <RobotType.FR3: 0>
258319HARDWARE : RobotPlatform # value = <RobotPlatform.HARDWARE: 1>
320+ LATERAL_GRASP : GraspType # value = <GraspType.LATERAL_GRASP: 2>
321+ POWER_GRASP : GraspType # value = <GraspType.POWER_GRASP: 0>
322+ PRECISION_GRASP : GraspType # value = <GraspType.PRECISION_GRASP: 1>
259323SIMULATION : RobotPlatform # value = <RobotPlatform.SIMULATION: 0>
260324SO101 : RobotType # value = <RobotType.SO101: 2>
325+ TRIPOD_GRASP : GraspType # value = <GraspType.TRIPOD_GRASP: 3>
261326UR5e : RobotType # value = <RobotType.UR5e: 1>
262327XArm7 : RobotType # value = <RobotType.XArm7: 3>
0 commit comments