|
ANNarchy iCub Interface 1.1.1
|
| bool ANN_iCub_Interface.iCub.Joint_Writer.PyJointWriter.write_pop_all | ( | self, | |
| position_pops, | |||
| str | mode, | ||
| blocking = ..., | |||
| int | timeout = ... ) |
Move all 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
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 349 of file Joint_Writer.pyi.