ANNarchy iCub Interface 1.1.1
Loading...
Searching...
No Matches
Special_Features.pyi
1from typing import NoReturn, Tuple
2from iCub.iCub_Interface import ANNiCub_wrapper
3
4
5def create_robot_interface_file(filename_config: str, filename_interface: str = ...) -> NoReturn:
6 """Create file with interface init code.
7
8 Parameters
9 ----------
10 filename_config :
11 filename of XML config file
12 filename_interface :
13 filename of created interface file (Default value = "./robot_interface.py")
14
15 Returns
16 -------
17
18 """
19
20def init_robot_from_file(iCub: ANNiCub_wrapper, xml_file: str) -> Tuple[bool, str]:
21 """Init iCub interface with the modules given in the xml-file
22
23 Parameters
24 ----------
25 iCub : ANNiCub_wrapper
26 main interface wrapper
27 xml_file : str
28 filename of the xml-config-file
29
30 Returns
31 -------
32 Tuple[bool, str]
33 Returns a bool value representing the success of the init and a dicionary containing the module names for each module type
34 """
35 ...
36
37def save_robot_to_file(iCub: ANNiCub_wrapper, xml_file: str, description: str = ...) -> NoReturn:
38 """Save robot configuration to xml-config file
39
40 Parameters
41 ----------
42 iCub : ANNiCub_wrapper
43 main interface wrapper
44 xml_file : str
45 filename for the xml-config-file
46 description : str
47 optional description added as comment in the robot section. Defaults to "".
48
49 Returns
50 -------
51
52 """
53 ...