(filename, actuator_name, target_number, data_time,
        default_ja=DEFAULT_JOINT_ANGLES,
        default_ee_pos=DEFAULT_END_EFFECTOR_POSITIONS,
        default_ee_rot=DEFAULT_END_EFFECTOR_ROTATIONS)
return (ja, ee_pos, ee_rot)
Loads a pose for the specified actuator name, target number, and data time.
    Args:
        filename - the target file ('../target.npz')
        actuator_name - the actuator name ('trial_arm', 'auxiliary_arm', etc.)
        target_number - the target number ('0', '1', '2', etc.)
        data_time - either 'initial or 'final'
    Return:
        pose - (joint angle, end effector position, end effector rotation) tuple
Loads a pose for the specified actuator name, target number, and data time.
    Args:
        filename - the target file ('../target.npz')
        actuator_name - the actuator name ('trial_arm', 'auxiliary_arm', etc.)
        target_number - the target number ('0', '1', '2', etc.)
        data_time - either 'initial or 'final'
    Return:
        pose - (joint angle, end effector position, end effector rotation) tuple
Loads a pose for the specified actuator name target number and data time . Args : filename - the target file ( .. / target . npz ) actuator_name - the actuator name ( trial_arm auxiliary_arm etc . ) target_number - the target number ( 0 1 2 etc . ) data_time - either initial or final Return : pose - ( joint angle end effector position end effector rotation ) tuple
def load_pose_from_npz(filename, actuator_name, target_number, data_time,
        default_ja=DEFAULT_JOINT_ANGLES,
        default_ee_pos=DEFAULT_END_EFFECTOR_POSITIONS,
        default_ee_rot=DEFAULT_END_EFFECTOR_ROTATIONS):
    """
    Loads a pose for the specified actuator name, target number, and data time.
    Args:
        filename - the target file ('../target.npz')
        actuator_name - the actuator name ('trial_arm', 'auxiliary_arm', etc.)
        target_number - the target number ('0', '1', '2', etc.)
        data_time - either 'initial or 'final'
    Return:
        pose - (joint angle, end effector position, end effector rotation) tuple 
    """
    ja = load_data_from_npz(filename, actuator_name, target_number, data_time,
                            'ja', default=default_ja)
    ee_pos = load_data_from_npz(filename, actuator_name, target_number,
                                data_time, 'ee_pos', default=default_ee_pos)
    ee_rot = load_data_from_npz(filename, actuator_name, target_number,
                                data_time, 'ee_rot', default=default_ee_rot)
    return (ja, ee_pos, ee_rot)
def load_pose_from_npz ( filename , actuator_name , target_number , data_time , default_ja = DEFAULT_JOINT_ANGLES , default_ee_pos = DEFAULT_END_EFFECTOR_POSITIONS , default_ee_rot = DEFAULT_END_EFFECTOR_ROTATIONS ) : ja = load_data_from_npz ( filename , actuator_name , target_number , data_time , 'ja' , default = default_ja ) ee_pos = load_data_from_npz ( filename , actuator_name , target_number , data_time , 'ee_pos' , default = default_ee_pos ) ee_rot = load_data_from_npz ( filename , actuator_name , target_number , data_time , 'ee_rot' , default = default_ee_rot ) return ( ja , ee_pos , ee_rot )