|
ANNarchy iCub Interface 1.1.1
|
| bool ANN_iCub_Interface.iCub.Joint_Reader.PyJointReader.init_grpc | ( | self, | |
| ANNiCub_wrapper | iCub, | ||
| str | name, | ||
| str | part, | ||
| float | sigma, | ||
| int | n_pop, | ||
| float | degr_per_neuron = ..., | ||
| str | ini_path = ..., | ||
| str | ip_address = ..., | ||
| int | port = ... ) |
Initialize the joint reader with given parameters, including the gRPC based connection.
Parameters
----------
iCub : ANNiCub_wrapper
main interface wrapper
name : str
name for the joint reader module
part : str
string representing the robot part, has to match iCub part naming {left_(arm/leg), right_(arm/leg), head, torso}
sigma : double
sigma for the joints angles populations coding
n_pop : unsigned int
number of neurons per population, encoding each one joint angle only works if parameter "deg_per_neuron" is not set
degr_per_neuron : double
degree per neuron in the populations, encoding the joints angles
if set: population size depends on joint working range. (Default value = 0.0)
ini_path : str
Path to the "interface_param.ini"-file. (Default value = "../data/")
ip_address : str
gRPC server ip address. (Default value = "0.0.0.0")
port : unsigned int
gRPC server port. (Default value = 50005)
Returns
-------
bool
return True, if successful
Definition at line 94 of file Joint_Reader.pyi.