ANNarchy iCub Interface 1.1.1
Loading...
Searching...
No Matches

◆ init()

bool ANN_iCub_Interface.iCub.Joint_Reader.PyJointReader.init ( self,
ANNiCub_wrapper iCub,
str name,
str part,
float sigma,
int n_pop,
float degr_per_neuron = ...,
str ini_path = ... )
Initialize the joint reader with given parameters.

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/")

Returns
-------
bool
    return True, if successful

Definition at line 64 of file Joint_Reader.pyi.