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
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
CISST_EXPORT
#define CISST_EXPORT
Definition:
cmnExportMacros.h:50
vctDynamicVector< double >
robExport.h
robFunctionRn::Blend
virtual void Blend(robFunction *function, const vctDynamicVector< double > &qd, const vctDynamicVector< double > &qdd)=0
robQuintic
Definition:
robQuintic.h:27
robFunction
Base class for robot function.
Definition:
robFunction.h:31
robQLQRn
Definition:
robQLQRn.h:9
robLinearRn.h
robLinearRn
A linear function (as in Ax=b)
Definition:
robLinearRn.h:24
robQuintic.h
robFunctionRn::Evaluate
virtual void Evaluate(double, vctFixedSizeVector< double, 3 > &, vctFixedSizeVector< double, 3 > &, vctFixedSizeVector< double, 3 > &)
Definition:
robFunctionRn.h:85
robFunctionRn
Definition:
robFunctionRn.h:29
Generated by
1.8.6