(self)
return observable.MJCFFeature(
        'sensordata',
        self._entity.mjcf_model.sensor.torque,
        corruptor=lambda v, random_state: np.tanh(2 * v / _TORQUE_THRESHOLD)
        )
Observe the torque sensors.
Observe the torque sensors.
Observe the torque sensors .
def sensors_torque(self):
    """Observe the torque sensors."""
    return observable.MJCFFeature(
        'sensordata',
        self._entity.mjcf_model.sensor.torque,
        corruptor=lambda v, random_state: np.tanh(2 * v / _TORQUE_THRESHOLD)
        )
def sensors_torque ( self ) : return observable . MJCFFeature ( 'sensordata' , self . _entity . mjcf_model . sensor . torque , corruptor = lambda v , random_state : np . tanh ( 2 * v / _TORQUE_THRESHOLD ) )