cisst-saw
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
catkin_ws
src
cisst-saw
sawControllers
include
sawControllers
osaPIDAntiWindup.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab:*/
3
4
/*
5
$Id: osaPIDAntiWindup.h 4416 2013-08-20 01:45:09Z sleonar7 $
6
7
Author(s): Simon Leonard
8
Created on: 2013-11-30
9
10
(C) Copyright 2013 Johns Hopkins University (JHU), All Rights Reserved.
11
12
--- begin cisst license - do not edit ---
13
14
This software is provided "as is" under an open source license, with
15
no warranty. The complete license can be found in license.txt and
16
http://www.cisst.org/cisst/license.txt.
17
18
--- end cisst license ---
19
*/
20
21
#ifndef _osaPIDAntiWindup_h
22
#define _osaPIDAntiWindup_h
23
24
#include <
cisstVector/vctDynamicVector.h
>
25
#include <
sawControllers/sawControllersExport.h
>
26
27
class
CISST_EXPORT
osaPIDAntiWindup
{
28
29
public
:
30
31
enum
Errno
{
ESUCCESS
, EFAILURE };
32
33
private
:
34
36
vctDynamicVector<double>
Kp;
37
39
vctDynamicVector<double>
Ki;
40
42
vctDynamicVector<double>
Kd;
43
45
vctDynamicVector<double>
Kt;
46
48
vctDynamicVector<double>
I;
49
51
vctDynamicVector<double>
commands;
52
54
vctDynamicVector<double>
outputs;
55
57
vctDynamicVector<double>
limits;
58
60
vctDynamicVector<double>
qold;
61
63
vctDynamicVector<double>
eold;
64
65
protected
:
66
67
68
public
:
69
71
79
osaPIDAntiWindup
(
const
vctDynamicVector<double>
& Kp,
80
const
vctDynamicVector<double>
& Ki,
81
const
vctDynamicVector<double>
& Kd,
82
const
vctDynamicVector<double>
& Kt,
83
const
vctDynamicVector<double>
& limits,
84
const
vctDynamicVector<double>
& qinit );
85
87
94
osaPIDAntiWindup::Errno
Evaluate(
const
vctDynamicVector<double>
& qs,
95
const
vctDynamicVector<double>
& q,
96
vctDynamicVector<double>
& tau,
97
double
dt );
98
99
};
100
101
#endif
CISST_EXPORT
#define CISST_EXPORT
Definition:
cmnExportMacros.h:50
vctDynamicVector< double >
osaPIDAntiWindup::ESUCCESS
Definition:
osaPIDAntiWindup.h:31
sawControllersExport.h
vctDynamicVector.h
Declaration of vctDynamicVector.
osaPIDAntiWindup::Errno
Errno
Definition:
osaPIDAntiWindup.h:31
osaPIDAntiWindup
Definition:
osaPIDAntiWindup.h:27
Generated by
1.8.6