@@ -11,37 +11,37 @@ import pybind11_stubgen.typing_ext
1111
1212__all__ = [
1313 "FrankaHandTCPOffset" ,
14- "GConfig" ,
15- "GState" ,
1614 "Gripper" ,
15+ "GripperConfig" ,
16+ "GripperState" ,
1717 "IK" ,
1818 "IdentityRotMatrix" ,
1919 "IdentityRotQuatVec" ,
2020 "IdentityTranslation" ,
2121 "Pose" ,
22- "RConfig" ,
2322 "RPY" ,
24- "RState" ,
2523 "Robot" ,
24+ "RobotConfig" ,
25+ "RobotState" ,
2626]
2727
28- class GConfig :
29- pass
30-
31- class GState :
32- pass
33-
3428class Gripper :
3529 def get_normalized_width (self ) -> float : ...
36- def get_parameters (self ) -> GConfig : ...
37- def get_state (self ) -> GState : ...
30+ def get_parameters (self ) -> GripperConfig : ...
31+ def get_state (self ) -> GripperState : ...
3832 def grasp (self ) -> None : ...
3933 def is_grasped (self ) -> bool : ...
4034 def open (self ) -> None : ...
4135 def reset (self ) -> None : ...
4236 def set_normalized_width (self , width : float , force : float = 0 ) -> None : ...
4337 def shut (self ) -> None : ...
4438
39+ class GripperConfig :
40+ pass
41+
42+ class GripperState :
43+ pass
44+
4545class IK :
4646 def __init__ (self , urdf_path : str , max_duration_ms : int = 300 ) -> None : ...
4747 def ik (
@@ -104,9 +104,6 @@ class Pose:
104104 def translation (self ) -> numpy .ndarray [typing .Literal [3 ], numpy .dtype [numpy .float64 ]]: ...
105105 def xyzrpy (self ) -> numpy .ndarray [typing .Literal [6 ], numpy .dtype [numpy .float64 ]]: ...
106106
107- class RConfig :
108- pass
109-
110107class RPY :
111108 pitch : float
112109 roll : float
@@ -126,23 +123,26 @@ class RPY:
126123 self ,
127124 ) -> numpy .ndarray [tuple [typing .Literal [3 ], typing .Literal [3 ]], numpy .dtype [numpy .float64 ]]: ...
128125
129- class RState :
130- pass
131-
132126class Robot :
133127 def get_base_pose_in_world_coordinates (self ) -> Pose : ...
134128 def get_cartesian_position (self ) -> Pose : ...
135129 def get_ik (self ) -> IK | None : ...
136130 def get_joint_position (self ) -> numpy .ndarray [typing .Literal [7 ], numpy .dtype [numpy .float64 ]]: ...
137- def get_parameters (self ) -> RConfig : ...
138- def get_state (self ) -> RState : ...
131+ def get_parameters (self ) -> RobotConfig : ...
132+ def get_state (self ) -> RobotState : ...
139133 def move_home (self ) -> None : ...
140134 def reset (self ) -> None : ...
141135 def set_cartesian_position (self , pose : Pose ) -> None : ...
142136 def set_joint_position (self , q : numpy .ndarray [typing .Literal [7 ], numpy .dtype [numpy .float64 ]]) -> None : ...
143137 def to_pose_in_robot_coordinates (self , pose_in_world_coordinates : Pose ) -> Pose : ...
144138 def to_pose_in_world_coordinates (self , pose_in_robot_coordinates : Pose ) -> Pose : ...
145139
140+ class RobotConfig :
141+ pass
142+
143+ class RobotState :
144+ pass
145+
146146def FrankaHandTCPOffset () -> numpy .ndarray [tuple [typing .Literal [4 ], typing .Literal [4 ]], numpy .dtype [numpy .float64 ]]: ...
147147def IdentityRotMatrix () -> numpy .ndarray [tuple [typing .Literal [3 ], typing .Literal [3 ]], numpy .dtype [numpy .float64 ]]: ...
148148def IdentityRotQuatVec () -> numpy .ndarray [typing .Literal [4 ], numpy .dtype [numpy .float64 ]]: ...
0 commit comments