Skip to content

UOperatingSystemPidControllerComponent

#include <OperatingSystemDrone/Private/Components/OperatingSystemPidControllerComponent.h>
class UOperatingSystemPidControllerComponent

Defined in OperatingSystemPidControllerComponent.h:9

Inherits: UActorComponent

---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemPidControllerComponent["UOperatingSystemPidControllerComponent"]
  class UActorComponent["UActorComponent"]
  UActorComponent <|-- UOperatingSystemPidControllerComponent
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemPidControllerComponent {
    +ProportionalGain : float
    +IntegralGain : float
    +DerivativeGain : float
    +IntegralSaturation : float
    +bClampOutput : bool
    +MinOutput : float
    +MaxOutput : float
    +UOperatingSystemPidControllerComponent()
    +Reset()
    +Compute(const float &DeltaTime, const float &Curren float
    +LastError : float
    +LastValue : float
    +StoredIntegration : float
    +bDerivativeInitialized : bool
  }
ReturnNameDescription
floatProportionalGain
floatIntegralGain
floatDerivativeGain
floatIntegralSaturation
boolbClampOutput
floatMinOutput
floatMaxOutput

float ProportionalGain

Defined in OperatingSystemPidControllerComponent.h:17


float IntegralGain

Defined in OperatingSystemPidControllerComponent.h:21


float DerivativeGain

Defined in OperatingSystemPidControllerComponent.h:25


float IntegralSaturation

Defined in OperatingSystemPidControllerComponent.h:29


bool bClampOutput

Defined in OperatingSystemPidControllerComponent.h:32


float MinOutput

Defined in OperatingSystemPidControllerComponent.h:35


float MaxOutput

Defined in OperatingSystemPidControllerComponent.h:38

ReturnNameDescription
UOperatingSystemPidControllerComponent
voidReset
floatCompute

UOperatingSystemPidControllerComponent()

Defined in OperatingSystemPidControllerComponent.h:55

Section titled “Defined in OperatingSystemPidControllerComponent.h:55”
void Reset()

Defined in OperatingSystemPidControllerComponent.h:58


float Compute(const float & DeltaTime, const float & CurrentValue, const float & TargetValue)

Defined in OperatingSystemPidControllerComponent.h:61

ReturnNameDescription
floatLastError
floatLastValue
floatStoredIntegration
boolbDerivativeInitialized

float LastError

Defined in OperatingSystemPidControllerComponent.h:43


float LastValue

Defined in OperatingSystemPidControllerComponent.h:46


float StoredIntegration

Defined in OperatingSystemPidControllerComponent.h:49


bool bDerivativeInitialized

Defined in OperatingSystemPidControllerComponent.h:51