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

◆ init()

bool ANN_iCub_Interface.iCub.Joint_Writer.PyJointWriter.init ( self,
ANNiCub_wrapper iCub,
str name,
str part,
int n_pop,
float degr_per_neuron = ...,
float speed = ...,
str ini_path = ... )
Initialize the joint writer with given parameters.

Parameters
----------
iCub : ANNiCub_wrapper
    main interface wrapper
name : str
    name for the joint writer module
part : str
    string representing the robot part, has to match iCub part naming {left_(arm/leg), right_(arm/leg), head, torso}
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 populationencoding the joints angles;
    if set: population size depends on joint working range. (Default value = 0.0)
speed : double
    velocity for the joint movements. (Default value = 10.0)
ini_path : str
    Path to the "interface_param.ini"-file. (Default value = "../data/")

Returns
-------
bool
    return True/False, indicating success/failure

Definition at line 102 of file Joint_Writer.pyi.