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