(self, motor_commands, motor_control_mode=None)
Clips and then apply the motor commands using the motor model.

    Args:
      motor_commands: np.array. Can be motor angles, torques, hybrid commands,
        or motor pwms (for Minitaur only).N
      motor_control_mode: A MotorControlMode enum.
Clips and then apply the motor commands using the motor model.
Clips and then apply the motor commands using the motor model .
def ApplyAction(self, motor_commands, motor_control_mode=None):
    """Clips and then apply the motor commands using the motor model.

    Args:
      motor_commands: np.array. Can be motor angles, torques, hybrid commands,
        or motor pwms (for Minitaur only).N
      motor_control_mode: A MotorControlMode enum.
    """
    if self._enable_clip_motor_commands:
      motor_commands = self._ClipMotorCommands(motor_commands)
    super(A1, self).ApplyAction(motor_commands, motor_control_mode)
def ApplyAction ( self , motor_commands , motor_control_mode = None ) : if self . _enable_clip_motor_commands : motor_commands = self . _ClipMotorCommands ( motor_commands ) super ( A1 , self ) . ApplyAction ( motor_commands , motor_control_mode )