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

◆ write_pop_one()

bool ANN_iCub_Interface.iCub.Joint_Writer.PyJointWriter.write_pop_one ( self,
position_pop,
int joint,
str mode,
blocking = ...,
int timeout = ... )
Move a single joint to the joint angle/velocity encoded in the given population.

Parameters
----------
position_pop : NDarray (vector[double]
    population encoding the joint angle/velocity
joint : int
    joint number of the robot part
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 399 of file Joint_Writer.pyi.