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

◆ write_pop_multiple()

bool ANN_iCub_Interface.iCub.Joint_Writer.PyJointWriter.write_pop_multiple ( self,
position_pops,
joints,
str mode,
blocking = ...,
int timeout = ... )
Move multiple joints to the joint angles/velocities encoded in the given vector of populations.

Parameters
----------
position_pops : NDarray (vector[vector[double]]
    vector of populations, each encoding the angle/velocity for a single joint
joints : list/NDarray (vector[int]
    Joint indizes of the joints, which should be moved (head: [3, 4, 5] -> all eye movements)
mode : str
    string to select the motion mode:
        'abs' for absolute joint angle positions;
        'rel' for relative joint angles;
        'vel' for velocity values: DO NOT USE "VEL" AS BLOCKING MOTION!!!
blocking : bool
    if True, complete motion before continuation. (Default value = True)
timeout : int
    Timeout in seconds to stop the block mode. Set to 0 for not timeout. (Default value = 0)

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

Definition at line 373 of file Joint_Writer.pyi.