(self)
return torso_to_toe.dot(torso_frame)
Returns toe positions in egocentric frame.
Returns toe positions in egocentric frame.
Returns toe positions in egocentric frame .
def toe_positions(self):
    """Returns toe positions in egocentric frame."""
    torso_frame = self.named.data.xmat['torso'].reshape(3, 3)
    torso_pos = self.named.data.xpos['torso']
    torso_to_toe = self.named.data.xpos[_TOES] - torso_pos
    return torso_to_toe.dot(torso_frame)
def toe_positions ( self ) : torso_frame = self . named . data . xmat [ 'torso' ] . reshape ( 3 , 3 ) torso_pos = self . named . data . xpos [ 'torso' ] torso_to_toe = self . named . data . xpos [ _TOES ] - torso_pos return torso_to_toe . dot ( torso_frame )