ANNarchy iCub Interface 1.1.1
Loading...
Searching...
No Matches
SkinPopulation.pyi
1from typing import Tuple
2try:
3 from ANNarchy.intern.SpecificPopulation import SpecificPopulation
4
5except:
6 from ANNarchy.core.SpecificPopulation import SpecificPopulation
7
8
9class SkinPopulation(SpecificPopulation):
10 """
11 ANNarchy population class to connect with the iCub skin.
12 Readout the skin sensor data and set it as population activation.
13 """
14 def __init__(self, geometry: Tuple | None = ..., skin_section: str = ..., ip_address: str = ..., port: int = ..., copied: bool = ..., name: str | None = ...) -> None:
15 '''Init the SkinPopulation.
16
17 Args:
18 geometry (tuple, optional): ANNarchy population geometry. Defaults to None.
19 skin_section (str, optional): Specify the respective skin section of the used arm. Defaults to "".
20 ip_address (str, optional): ip-address of the gRPC connection. Need to fit with the respective kinematic reader module. Defaults to "0.0.0.0".
21 port (int, optional): port of the gRPC connection. Need to fit with the respective kinematic reader module. Defaults to 50015.
22 copied (bool, optional): ANNarchy specific parameter. Defaults to False.
23 name (str, optional): individiual name for the population. Defaults to None.
24 '''
25 @property
26 def ip_address(self): ...
27 @ip_address.setter
28 def ip_address(self, value) -> None: ...
29 @property
30 def port(self): ...
31 @port.setter
32 def port(self, value) -> None: ...
33 def connect(self) -> None:
34 """Connect the population to the gRPC socket. Need to be called once after compile."""
__init__(self, geometry=None, skin_section="", ip_address="0.0.0.0", port=50015, copied=False, name=None)