@@ -21,10 +21,10 @@ __all__ = [
2121 "Hand" ,
2222 "HandConfig" ,
2323 "HandState" ,
24- "IK" ,
2524 "IdentityRotMatrix" ,
2625 "IdentityRotQuatVec" ,
2726 "IdentityTranslation" ,
27+ "Kinematics" ,
2828 "LATERAL_GRASP" ,
2929 "POWER_GRASP" ,
3030 "PRECISION_GRASP" ,
@@ -128,13 +128,13 @@ class HandConfig:
128128class HandState :
129129 def __init__ (self ) -> None : ...
130130
131- class IK :
131+ class Kinematics :
132132 def forward (self , q0 : numpy .ndarray [tuple [M ], numpy .dtype [numpy .float64 ]], tcp_offset : Pose = ...) -> Pose : ...
133- def ik (
133+ def inverse (
134134 self , pose : Pose , q0 : numpy .ndarray [tuple [M ], numpy .dtype [numpy .float64 ]], tcp_offset : Pose = ...
135135 ) -> numpy .ndarray [tuple [M ], numpy .dtype [numpy .float64 ]] | None : ...
136136
137- class Pin (IK ):
137+ class Pin (Kinematics ):
138138 def __init__ (self , path : str , frame_id : str = "fr3_link8" , urdf : bool = True ) -> None : ...
139139
140140class Pose :
@@ -195,7 +195,7 @@ class Pose:
195195 def translation (self ) -> numpy .ndarray [tuple [typing .Literal [3 ]], numpy .dtype [numpy .float64 ]]: ...
196196 def xyzrpy (self ) -> numpy .ndarray [tuple [typing .Literal [6 ]], numpy .dtype [numpy .float64 ]]: ...
197197
198- class RL (IK ):
198+ class RL (Kinematics ):
199199 def __init__ (self , urdf_path : str , max_duration_ms : int = 300 ) -> None : ...
200200
201201class RPY :
@@ -223,7 +223,7 @@ class Robot:
223223 def get_base_pose_in_world_coordinates (self ) -> Pose : ...
224224 def get_cartesian_position (self ) -> Pose : ...
225225 def get_config (self ) -> RobotConfig : ...
226- def get_ik (self ) -> IK | None : ...
226+ def get_ik (self ) -> Kinematics | None : ...
227227 def get_joint_position (self ) -> numpy .ndarray [tuple [M ], numpy .dtype [numpy .float64 ]]: ...
228228 def get_state (self ) -> RobotState : ...
229229 def move_home (self ) -> None : ...
0 commit comments