pyicub.actions

Classes

ActionsManager()

GazeMotion(lookat_method)

JointsTrajectoryCheckpoint(pose[, duration, ...])

LimbMotion(part)

PyiCubCustomCall(target[, args])

TemplateParameter(name, value)

iCubActionTemplate([name, description, ...])

iCubActionTemplateImportedJSON(JSON_dict)

iCubFullbodyAction([description, name, ...])

iCubFullbodyStep([offset_ms, name, ...])

class pyicub.actions.JointsTrajectoryCheckpoint(pose: JointPose, duration: float = 0.0, timeout: float = 30.0, joints_speed=[])
toJSON()
class pyicub.actions.LimbMotion(part: iCubPart)
createJointsTrajectory(pose: JointPose, duration: float = 0.0, timeout: float = 30.0, joints_speed=[])
toJSON()
class pyicub.actions.PyiCubCustomCall(target, args=())
toJSON()
class pyicub.actions.GazeMotion(lookat_method: str)
addCheckpoint(value: list)
toJSON()
class pyicub.actions.iCubFullbodyStep(offset_ms=None, name=None, JSON_dict=None, JSON_file=None)
prepare()
createCustomCall(target, args=())
createGazeMotion(lookat_method: str)
createPart(name, robot_part, joints_nr, joints_list, joints_speed)
createLimbMotion(part: iCubPart)
exportJSONFile(filepath)
importFromJSONDict(json_dict)
importFromJSONFile(JSON_file)
join(step)
setLimbMotion(limb_motion: LimbMotion)
setCustomCall(custom_call: PyiCubCustomCall)
setGazeMotion(gaze_motion: GazeMotion)
toJSON()
class pyicub.actions.iCubFullbodyAction(description='empty', name=None, offset_ms=None, JSON_dict=None, JSON_file=None)
prepare()
addAction(action)
addStep(step: iCubFullbodyStep, wait_for_completed: bool = True)
importFromJSONDict(json_dict)
importFromJSONFile(JSON_file)
exportJSONFile(filepath)
setName(name)
setDescription(description)
setOffset(offset_ms)
toJSON()
class pyicub.actions.TemplateParameter(name: str, value: object)
value()
name()
exportJSONFile(filepath)
toJSON()
class pyicub.actions.iCubActionTemplate(name='TemplateAction', description='empty', offset_ms=None)
prepare_params()
createParam(name)
getActionDict()
getAction(action_name=None)
getParams()
getParam(name)
setParams(params)
setParam(name, value)
class pyicub.actions.iCubActionTemplateImportedJSON(JSON_dict)
getActionDict()
prepare_params()
prepare()
setParam(JSON_file)
class pyicub.actions.ActionsManager
addAction(action: iCubFullbodyAction, action_id=None)
importActionsFromModule(module)
getAction(action_id: str)
getActions()
exportActions(path)
importTemplateFromJSONFile(JSON_file)
importTemplateFromJSONDict(JSON_dict)
importTemplateJSONFile(JSON_file)