(self)
return np.asarray(np.linalg.norm(self.named.data.site_xpos['workspace']))
Returns the distance from the origin to the workspace.
Returns the distance from the origin to the workspace.
Returns the distance from the origin to the workspace .
def origin_distance(self):
    """Returns the distance from the origin to the workspace."""
    return np.asarray(np.linalg.norm(self.named.data.site_xpos['workspace']))
def origin_distance ( self ) : return np . asarray ( np . linalg . norm ( self . named . data . site_xpos [ 'workspace' ] ) )