(self)
return np.abs(np.dot(
        self.GetMotorTorques(),
        self.GetMotorVelocities())) * self.time_step * self._action_repeat
Get the amount of energy used in last one time step.

    Returns:
      Energy Consumption based on motor velocities and torques (Nm^2/s).
Get the amount of energy used in last one time step.
Get the amount of energy used in last one time step .
def GetEnergyConsumptionPerControlStep(self):
    """Get the amount of energy used in last one time step.

    Returns:
      Energy Consumption based on motor velocities and torques (Nm^2/s).
    """
    return np.abs(np.dot(
        self.GetMotorTorques(),
        self.GetMotorVelocities())) * self.time_step * self._action_repeat
def GetEnergyConsumptionPerControlStep ( self ) : return np . abs ( np . dot ( self . GetMotorTorques ( ) , self . GetMotorVelocities ( ) ) ) * self . time_step * self . _action_repeat