(self, physics: 'mjcf.Physics')
return np.array([normalized_time_in_clip])
Observation of the normalized time in the mocap clip.
Observation of the normalized time in the mocap clip.
Observation of the normalized time in the mocap clip .
def get_normalized_time_in_clip(self, physics: 'mjcf.Physics'):
    """Observation of the normalized time in the mocap clip."""
    normalized_time_in_clip = (self._current_start_time +
                               physics.time()) / self._current_clip.duration
    return np.array([normalized_time_in_clip])
def get_normalized_time_in_clip ( self , physics : 'mjcf.Physics' ) : normalized_time_in_clip = ( self . _current_start_time + physics . time ( ) ) / self . _current_clip . duration return np . array ( [ normalized_time_in_clip ] )