Lodestar
An integrated real-time control package in C++
SampledPID.hpp
1
//
2
// Created by Hamza El-Kebir on 6/20/21.
3
//
4
5
#ifndef LODESTAR_SAMPLEDPID_HPP
6
#define LODESTAR_SAMPLEDPID_HPP
7
8
#include "Lodestar/primitives/differentiators/BackwardDifference.hpp"
9
10
11
namespace
ls
{
12
namespace
control {
13
template
<
typename
TScalarType =
double
>
14
class
SampledPID
{
15
public
:
16
SampledPID
() : proportionalGain_(1), integralGain_(1), derivativeGain_(1)
17
{};
18
19
20
21
protected
:
22
TScalarType proportionalGain_, integralGain_, derivativeGain_;
23
};
24
}
25
}
26
27
28
#endif //LODESTAR_SAMPLEDPID_HPP
ls
Main Lodestar code.
Definition:
BilinearTransformation.hpp:12
ls::control::SampledPID
Definition:
SampledPID.hpp:14
Lodestar
control
SampledPID.hpp
Generated by
1.8.17