Skip to content

Commit 9057c51

Browse files
committed
style: stubfile generation and linting
1 parent 0297dee commit 9057c51

2 files changed

Lines changed: 205 additions & 120 deletions

File tree

extensions/rcs_fr3/src/rcs_fr3/_core/hw/__init__.pyi

Lines changed: 39 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -195,141 +195,75 @@ class RobotMode:
195195
class RobotState:
196196
def __init__(self) -> None: ...
197197
@property
198-
def EE_T_K(
199-
self,
200-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
198+
def EE_T_K(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
201199
@property
202-
def F_T_EE(
203-
self,
204-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
200+
def F_T_EE(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
205201
@property
206-
def F_T_NE(
207-
self,
208-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
202+
def F_T_NE(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
209203
@property
210-
def F_x_Cee(
211-
self,
212-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
204+
def F_x_Cee(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
213205
@property
214-
def F_x_Cload(
215-
self,
216-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
206+
def F_x_Cload(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
217207
@property
218-
def F_x_Ctotal(
219-
self,
220-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
208+
def F_x_Ctotal(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
221209
@property
222-
def I_ee(
223-
self,
224-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(9)]: ...
210+
def I_ee(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(9)]: ...
225211
@property
226-
def I_load(
227-
self,
228-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(9)]: ...
212+
def I_load(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(9)]: ...
229213
@property
230-
def I_total(
231-
self,
232-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(9)]: ...
214+
def I_total(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(9)]: ...
233215
@property
234-
def K_F_ext_hat_K(
235-
self,
236-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
216+
def K_F_ext_hat_K(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
237217
@property
238-
def NE_T_EE(
239-
self,
240-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
218+
def NE_T_EE(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
241219
@property
242-
def O_F_ext_hat_K(
243-
self,
244-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
220+
def O_F_ext_hat_K(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
245221
@property
246-
def O_T_EE(
247-
self,
248-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
222+
def O_T_EE(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
249223
@property
250-
def O_T_EE_c(
251-
self,
252-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
224+
def O_T_EE_c(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
253225
@property
254-
def O_T_EE_d(
255-
self,
256-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
226+
def O_T_EE_d(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]: ...
257227
@property
258-
def O_dP_EE_c(
259-
self,
260-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
228+
def O_dP_EE_c(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
261229
@property
262-
def O_dP_EE_d(
263-
self,
264-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
230+
def O_dP_EE_d(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
265231
@property
266-
def O_ddP_EE_c(
267-
self,
268-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
232+
def O_ddP_EE_c(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
269233
@property
270-
def O_ddP_O(
271-
self,
272-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
234+
def O_ddP_O(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
273235
@property
274-
def cartesian_collision(
275-
self,
276-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
236+
def cartesian_collision(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
277237
@property
278-
def cartesian_contact(
279-
self,
280-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
238+
def cartesian_contact(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ...
281239
@property
282240
def control_command_success_rate(self) -> float: ...
283241
@property
284242
def current_errors(self) -> ...: ...
285243
@property
286-
def ddelbow_c(
287-
self,
288-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
244+
def ddelbow_c(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
289245
@property
290-
def ddq_d(
291-
self,
292-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
246+
def ddq_d(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
293247
@property
294-
def delbow_c(
295-
self,
296-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
248+
def delbow_c(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
297249
@property
298-
def dq(
299-
self,
300-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
250+
def dq(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
301251
@property
302-
def dq_d(
303-
self,
304-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
252+
def dq_d(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
305253
@property
306-
def dtau_J(
307-
self,
308-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
254+
def dtau_J(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
309255
@property
310-
def dtheta(
311-
self,
312-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
256+
def dtheta(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
313257
@property
314-
def elbow(
315-
self,
316-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
258+
def elbow(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
317259
@property
318-
def elbow_c(
319-
self,
320-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
260+
def elbow_c(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
321261
@property
322-
def elbow_d(
323-
self,
324-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
262+
def elbow_d(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
325263
@property
326-
def joint_collision(
327-
self,
328-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
264+
def joint_collision(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
329265
@property
330-
def joint_contact(
331-
self,
332-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
266+
def joint_contact(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
333267
@property
334268
def last_motion_errors(self) -> ...: ...
335269
@property
@@ -339,31 +273,19 @@ class RobotState:
339273
@property
340274
def m_total(self) -> float: ...
341275
@property
342-
def q(
343-
self,
344-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
276+
def q(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
345277
@property
346-
def q_d(
347-
self,
348-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
278+
def q_d(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
349279
@property
350280
def robot_mode(self) -> RobotMode: ...
351281
@property
352-
def tau_J(
353-
self,
354-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
282+
def tau_J(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
355283
@property
356-
def tau_J_d(
357-
self,
358-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
284+
def tau_J_d(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
359285
@property
360-
def tau_ext_hat_filtered(
361-
self,
362-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
286+
def tau_ext_hat_filtered(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
363287
@property
364-
def theta(
365-
self,
366-
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
288+
def theta(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]: ...
367289
@property
368290
def time(self) -> ...: ...
369291

0 commit comments

Comments
 (0)