cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstRobot
robPD.h
Go to the documentation of this file.
1
2
3
#ifndef _robPD_H
4
#define _robPD_H
5
6
#include <
cisstRobot/robControllerJoints.h
>
7
#include <
cisstRobot/robExport.h
>
8
9
class
CISST_EXPORT
robPD
:
public
robControllerJoints
{
10
11
double
Kp;
12
double
Kd;
13
14
double
eold;
15
16
public
:
17
18
robPD
(
double
Kp,
double
Kd );
19
20
vctDynamicVector<double>
Control
(
double
dt,
21
const
vctDynamicVector<double>
& qs,
22
const
vctDynamicVector<double>
& q,
23
const
vctDynamicVector<double>
& qds,
24
const
vctDynamicVector<double>
& qd,
25
const
vctDynamicVector<double>
& qdds,
26
const
vctDynamicVector<double>
& qdd );
27
28
};
29
30
31
#endif
robControllerJoints
Definition
robControllerJoints.h:10
robPD::robPD
robPD(double Kp, double Kd)
robPD::Control
vctDynamicVector< double > Control(double dt, const vctDynamicVector< double > &qs, const vctDynamicVector< double > &q, const vctDynamicVector< double > &qds, const vctDynamicVector< double > &qd, const vctDynamicVector< double > &qdds, const vctDynamicVector< double > &qdd)
vctDynamicVector
Definition
vctForwardDeclarations.h:131
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
robControllerJoints.h
robExport.h
Generated by
1.18.0