@@ -11,17 +11,17 @@ import rcsss._core.common
1111
1212__all__ = [
1313 "CameraType" ,
14- "FHConfig" ,
15- "FHState" ,
16- "FR3" ,
17- "FR3Config" ,
18- "FR3State" ,
1914 "FrameSet" ,
20- "FrankaHand" ,
2115 "Sim" ,
2216 "SimCameraConfig" ,
2317 "SimCameraSet" ,
2418 "SimCameraSetConfig" ,
19+ "SimGripper" ,
20+ "SimGripperConfig" ,
21+ "SimGripperState" ,
22+ "SimRobot" ,
23+ "SimRobotConfig" ,
24+ "SimRobotState" ,
2525 "default_free" ,
2626 "fixed" ,
2727 "free" ,
@@ -65,60 +65,6 @@ class CameraType:
6565 @property
6666 def value (self ) -> int : ...
6767
68- class FHConfig (rcsss ._core .common .GConfig ):
69- epsilon_inner : float
70- epsilon_outer : float
71- ignored_collision_geoms : list [str ]
72- seconds_between_callbacks : float
73- def __init__ (self ) -> None : ...
74-
75- class FHState (rcsss ._core .common .GState ):
76- def __init__ (self ) -> None : ...
77- @property
78- def collision (self ) -> bool : ...
79- @property
80- def is_moving (self ) -> bool : ...
81- @property
82- def last_commanded_width (self ) -> float : ...
83- @property
84- def last_width (self ) -> float : ...
85- @property
86- def max_unnormalized_width (self ) -> float : ...
87-
88- class FR3 (rcsss ._core .common .Robot ):
89- def __init__ (
90- self , sim : Sim , id : str , ik : rcsss ._core .common .IK , register_convergence_callback : bool = True
91- ) -> None : ...
92- def get_parameters (self ) -> FR3Config : ...
93- def get_state (self ) -> FR3State : ...
94- def set_joints_hard (self , q : numpy .ndarray [typing .Literal [7 ], numpy .dtype [numpy .float64 ]]) -> None : ...
95- def set_parameters (self , cfg : FR3Config ) -> bool : ...
96-
97- class FR3Config (rcsss ._core .common .RConfig ):
98- joint_rotational_tolerance : float
99- realtime : bool
100- seconds_between_callbacks : float
101- tcp_offset : rcsss ._core .common .Pose
102- trajectory_trace : bool
103- def __init__ (self ) -> None : ...
104-
105- class FR3State (rcsss ._core .common .RState ):
106- def __init__ (self ) -> None : ...
107- @property
108- def collision (self ) -> bool : ...
109- @property
110- def ik_success (self ) -> bool : ...
111- @property
112- def inverse_tcp_offset (self ) -> rcsss ._core .common .Pose : ...
113- @property
114- def is_arrived (self ) -> bool : ...
115- @property
116- def is_moving (self ) -> bool : ...
117- @property
118- def previous_angles (self ) -> numpy .ndarray [typing .Literal [7 ], numpy .dtype [numpy .float64 ]]: ...
119- @property
120- def target_angles (self ) -> numpy .ndarray [typing .Literal [7 ], numpy .dtype [numpy .float64 ]]: ...
121-
12268class FrameSet :
12369 def __init__ (self ) -> None : ...
12470 @property
@@ -128,12 +74,6 @@ class FrameSet:
12874 @property
12975 def timestamp (self ) -> float : ...
13076
131- class FrankaHand (rcsss ._core .common .Gripper ):
132- def __init__ (self , sim : Sim , id : str , cfg : FHConfig ) -> None : ...
133- def get_parameters (self ) -> FHConfig : ...
134- def get_state (self ) -> FHState : ...
135- def set_parameters (self , cfg : FHConfig ) -> bool : ...
136-
13777class Sim :
13878 def __init__ (self , mjmdl : int , mjdata : int ) -> None : ...
13979 def _start_gui_server (self , id : str ) -> None : ...
@@ -172,6 +112,66 @@ class SimCameraSetConfig:
172112 @frame_rate .setter
173113 def frame_rate (self , arg0 : int ) -> None : ...
174114
115+ class SimGripper (rcsss ._core .common .Gripper ):
116+ def __init__ (self , sim : Sim , id : str , cfg : SimGripperConfig ) -> None : ...
117+ def get_parameters (self ) -> SimGripperConfig : ...
118+ def get_state (self ) -> SimGripperState : ...
119+ def set_parameters (self , cfg : SimGripperConfig ) -> bool : ...
120+
121+ class SimGripperConfig (rcsss ._core .common .GripperConfig ):
122+ epsilon_inner : float
123+ epsilon_outer : float
124+ ignored_collision_geoms : list [str ]
125+ seconds_between_callbacks : float
126+ def __init__ (self ) -> None : ...
127+
128+ class SimGripperState (rcsss ._core .common .GripperState ):
129+ def __init__ (self ) -> None : ...
130+ @property
131+ def collision (self ) -> bool : ...
132+ @property
133+ def is_moving (self ) -> bool : ...
134+ @property
135+ def last_commanded_width (self ) -> float : ...
136+ @property
137+ def last_width (self ) -> float : ...
138+ @property
139+ def max_unnormalized_width (self ) -> float : ...
140+
141+ class SimRobot (rcsss ._core .common .Robot ):
142+ def __init__ (
143+ self , sim : Sim , id : str , ik : rcsss ._core .common .IK , register_convergence_callback : bool = True
144+ ) -> None : ...
145+ def get_parameters (self ) -> SimRobotConfig : ...
146+ def get_state (self ) -> SimRobotState : ...
147+ def set_joints_hard (self , q : numpy .ndarray [typing .Literal [7 ], numpy .dtype [numpy .float64 ]]) -> None : ...
148+ def set_parameters (self , cfg : SimRobotConfig ) -> bool : ...
149+
150+ class SimRobotConfig (rcsss ._core .common .RobotConfig ):
151+ joint_rotational_tolerance : float
152+ realtime : bool
153+ seconds_between_callbacks : float
154+ tcp_offset : rcsss ._core .common .Pose
155+ trajectory_trace : bool
156+ def __init__ (self ) -> None : ...
157+
158+ class SimRobotState (rcsss ._core .common .RobotState ):
159+ def __init__ (self ) -> None : ...
160+ @property
161+ def collision (self ) -> bool : ...
162+ @property
163+ def ik_success (self ) -> bool : ...
164+ @property
165+ def inverse_tcp_offset (self ) -> rcsss ._core .common .Pose : ...
166+ @property
167+ def is_arrived (self ) -> bool : ...
168+ @property
169+ def is_moving (self ) -> bool : ...
170+ @property
171+ def previous_angles (self ) -> numpy .ndarray [typing .Literal [7 ], numpy .dtype [numpy .float64 ]]: ...
172+ @property
173+ def target_angles (self ) -> numpy .ndarray [typing .Literal [7 ], numpy .dtype [numpy .float64 ]]: ...
174+
175175def open_gui_window (uuid : str ) -> None : ...
176176
177177default_free : CameraType # value = <CameraType.default_free: 3>
0 commit comments