ANNarchy iCub Interface 1.1.1
Loading...
Searching...
No Matches
iCub_Interface.pyi
1from typing import NoReturn, Tuple
2
3from .Kinematic_Writer import PyKinematicWriter
4from .Kinematic_Reader import PyKinematicReader
5from .Visual_Reader import PyVisualReader
6from .Skin_Reader import PySkinReader
7from .Joint_Writer import PyJointWriter
8from .Joint_Reader import PyJointReader
9
10
12 """ """
13 @classmethod
14 def __init__(cls, *args, **kwargs) -> None: ...
15
16 def clear(self) -> NoReturn:
17 """Clean-up all initialized interface instances"""
18 ...
19
20 def get_jreader_by_name(self, name: str) -> PyJointReader:
21 """Returns the Joint Reader instance with the given name.
22
23 Parameters
24 ----------
25 name : str
26 Name of the Joint Reader instance.
27
28 Returns
29 -------
30 PyJointReader
31 Joint Reader instance
32 """
33 ...
34
35 def get_jreader_by_part(self, part: str) -> PyJointReader:
36 """Returns the Joint Reader instance with the given part.
37
38 Parameters
39 ----------
40 part : str
41 The robot part which is controlled by the Joint Reader.
42
43 Returns
44 -------
45 PyJointReader
46 Joint Reader instance
47 """
48 ...
49
50 def get_jwriter_by_name(self, name: str) -> PyJointWriter:
51 """Returns the Joint Writer instance with the given name.
52
53 Parameters
54 ----------
55 name : str
56 Name of the Joint Writer instance.
57
58 Returns
59 -------
60 PyJointWriter
61 Joint Writer instance
62 """
63 ...
64
65 def get_jwriter_by_part(self, part: str) -> PyJointWriter:
66 """Returns the Joint Writer instance with the given part.
67
68 Parameters
69 ----------
70 part : str
71 The robot part which is controlled by the Joint Writer.
72
73 Returns
74 -------
75 PyJointWriter
76 Joint Writer instance
77 """
78 ...
79
80 def get_skinreader_by_name(self, name: str) -> PySkinReader:
81 """Returns the Skin Reader instance with the given name.
82
83 Parameters
84 ----------
85 name : str
86 Name of the Skin Reader instance.
87
88 Returns
89 -------
90 PySkinReader
91 Skin Reader instance
92 """
93 ...
94
95 def get_vis_reader_by_name(self, name: str) -> PyVisualReader:
96 """Returns the Visual Reader instance with the given name.
97
98 Parameters
99 ----------
100 name : str
101 Name of the Visual Reader instance.
102
103 Returns
104 -------
105 PyVisualReader
106 Visual Reader instance
107 """
108 ...
109
110 def get_kin_reader_by_name(self, name: str) -> PyKinematicReader:
111 """Returns the Kinematic Reader instance with the given name.
112
113 Parameters
114 ----------
115 name : str
116 Name of the Kinematic Reader instance.
117
118 Returns
119 -------
120 PyKinematicReader
121 Kinematic Reader instance
122 """
123 ...
124
125 def get_kin_writer_by_name(self, name: str) -> PyKinematicWriter:
126 """Returns the Kinematic Writer instance with the given name.
127
128 Parameters
129 ----------
130 name : str
131 Name of the Kinematic Writer instance.
132
133 Returns
134 -------
135 PyKinematicWriter
136 Kinematic Writer instance
137 """
138 ...
139
140
141 def init_robot_from_file(self, xml_file: str) -> Tuple[bool, str]:
142 """Init iCub interface with the modules given in the xml-file
143
144 Parameters
145 ----------
146 xml_file : str
147 filename of the xml-config-file
148
149 Returns
150 -------
151 Tuple[bool, str]
152 Returns a bool value representing the success of the init and a dicionary containing the module names for each module type
153 """
154 ...
155
156 def save_robot_to_file(self, xml_file: str, description: str = ...) -> NoReturn:
157 """Save robot configuration to xml-config file
158
159 Parameters
160 ----------
161 xml_file : str
162 filename for the xml-config-file
163 description : str
164 optional description added as comment in the robot section. Defaults to "".
165
166 Returns
167 -------
168
169 """
170 ...
Tuple[bool, str] init_robot_from_file(self, str xml_file)
NoReturn save_robot_to_file(self, str xml_file, str description=...)
PyKinematicWriter get_kin_writer_by_name(self, str name)
PyKinematicReader get_kin_reader_by_name(self, str name)