ANNarchy iCub Interface 1.1.1
Loading...
Searching...
No Matches
VisionPopulation.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 VisionPopulation(SpecificPopulation):
10 """
11 ANNarchy population class to connect with the iCub cameras.
12 Read the camera images from the iCub, preprocess the images and set it as activation for the ANNarchy population.
13 """
14 def __init__(self, geometry: Tuple =..., ip_address: str = ..., port: int = ..., copied: bool = ..., name: str | None = ...) -> None:
15 '''Init the VisionPopulation.
16
17 Args:
18 geometry (tuple, optional): ANNarchy population geometry. Defaults to (320,240).
19 ip_address (str, optional): ip-address of the gRPC connection. Need to fit with the respective visual reader module. Defaults to "0.0.0.0".
20 port (int, optional): port of the gRPC connection. Need to fit with the respective visual reader module. Defaults to 50000.
21 copied (bool, optional): ANNarchy specific parameter. Defaults to False.
22 name (str, optional): individiual name for the population. Defaults to None.
23 '''
24 @property
25 def ip_address(self): ...
26 @ip_address.setter
27 def ip_address(self, value) -> None: ...
28 @property
29 def port(self): ...
30 @port.setter
31 def port(self, value) -> None: ...
32 @property
33 def period(self): ...
34 @period.setter
35 def period(self, value) -> None: ...
36 @property
37 def offset(self): ...
38 @offset.setter
39 def offset(self, value) -> None: ...
40 def connect(self) -> None:
41 """Connect the population to the gRPC socket. Need to be called once after compile."""
__init__(self, geometry=(320, 240), ip_address="0.0.0.0", port=50000, copied=False, name=None)