cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstRobot
robQLQRn.h
Go to the documentation of this file.
1
2
#ifndef _robQLQRn_h
3
#define _robQLQRn_h
4
5
#include <
cisstRobot/robLinearRn.h
>
6
#include <
cisstRobot/robQuintic.h
>
7
#include <
cisstRobot/robExport.h
>
8
9
class
CISST_EXPORT
robQLQRn
:
public
robFunctionRn
{
10
11
private
:
12
13
vctDynamicVector<double>
qdmax;
14
vctDynamicVector<double>
qddmax;
15
16
//double toffset;
17
double
tauin;
18
double
tauout;
19
20
robQuintic
* transitionin;
21
robLinearRn
* cruise;
22
robQuintic
* transitionout;
23
24
double
EvaluateTransitionTime(
const
vctDynamicVector<double>
& q1d,
25
const
vctDynamicVector<double>
& q2d );
26
27
void
CreateInputTransition(
double
tau,
28
const
vctDynamicVector<double>
& q1,
29
const
vctDynamicVector<double>
& q1d,
30
const
vctDynamicVector<double>
& q1dd );
31
32
void
CreateOutputTransition(
double
tau,
33
const
vctDynamicVector<double>
& q2,
34
const
vctDynamicVector<double>
& q2d,
35
const
vctDynamicVector<double>
& q2dd );
36
37
38
public
:
39
40
robQLQRn
(
const
vctDynamicVector<double>
& q1,
41
const
vctDynamicVector<double>
& q2,
42
const
vctDynamicVector<double>
& qd,
43
const
vctDynamicVector<double>
& qdd,
44
double
t1
= 0.0,
45
bool
forceblend =
false
);
46
47
void
Evaluate
(
double
t,
48
vctDynamicVector<double>
& q,
49
vctDynamicVector<double>
& qd,
50
vctDynamicVector<double>
& qdd );
51
52
void
Blend
(
robFunction
* function,
53
const
vctDynamicVector<double>
& qdmax,
54
const
vctDynamicVector<double>
& qddmax );
55
56
void
Blend
(
robFunction
* function,
double
vmax,
double
vdmax );
57
58
};
59
60
#endif
robFunction::robFunction
robFunction(void)
robFunction::t1
double t1
Definition
robFunction.h:35
robFunctionRn::robFunctionRn
robFunctionRn(void)
robLinearRn
A linear function (as in Ax=b).
Definition
robLinearRn.h:24
robQLQRn::Blend
void Blend(robFunction *function, const vctDynamicVector< double > &qdmax, const vctDynamicVector< double > &qddmax)
robQLQRn::robQLQRn
robQLQRn(const vctDynamicVector< double > &q1, const vctDynamicVector< double > &q2, const vctDynamicVector< double > &qd, const vctDynamicVector< double > &qdd, double t1=0.0, bool forceblend=false)
robQLQRn::Blend
void Blend(robFunction *function, double vmax, double vdmax)
robQLQRn::Evaluate
void Evaluate(double t, vctDynamicVector< double > &q, vctDynamicVector< double > &qd, vctDynamicVector< double > &qdd)
robQuintic
Definition
robQuintic.h:27
vctDynamicVector
Definition
vctForwardDeclarations.h:131
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
robExport.h
robLinearRn.h
robQuintic.h
Generated by
1.18.0