cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstRobot
robLinearRn.h
Go to the documentation of this file.
1
/*
2
3
Author(s): Simon Leonard
4
Created on: Nov 11 2009
5
6
(C) Copyright 2008 Johns Hopkins University (JHU), All Rights
7
Reserved.
8
9
--- begin cisst license - do not edit ---
10
11
This software is provided "as is" under an open source license, with
12
no warranty. The complete license can be found in license.txt and
13
http://www.cisst.org/cisst/license.txt.
14
15
--- end cisst license ---
16
*/
17
#ifndef _robLinearRn_h
18
#define _robLinearRn_h
19
20
#include <
cisstRobot/robFunctionRn.h
>
21
#include <
cisstRobot/robExport.h
>
22
24
class
CISST_EXPORT
robLinearRn
:
public
robFunctionRn
{
25
26
private
:
27
28
vctDynamicVector<double>
m;
29
vctDynamicVector<double>
b;
30
31
void
ComputeParameters();
32
33
public
:
34
36
45
robLinearRn
(
const
vctFixedSizeVector<double,3>
&
y1
,
46
const
vctFixedSizeVector<double,3>
&
y2
,
47
double
vmax,
48
double
t1
= 0.0 );
49
51
60
robLinearRn
(
const
vctDynamicVector<double>
&
y1
,
61
const
vctDynamicVector<double>
&
y2
,
62
const
vctDynamicVector<double>
& ydmax,
63
double
t1
= 0.0 );
64
66
75
void
Evaluate
(
double
t,
double
& y,
double
& yd,
double
& ydd );
76
78
87
void
Evaluate
(
double
t,
88
vctFixedSizeVector<double,3>
& p,
89
vctFixedSizeVector<double,3>
& v,
90
vctFixedSizeVector<double,3>
& vd );
91
92
94
103
void
Evaluate
(
double
t,
104
vctDynamicVector<double>
& y,
105
vctDynamicVector<double>
& yd,
106
vctDynamicVector<double>
& ydd );
107
108
void
Blend
(
robFunction
* function,
109
const
vctDynamicVector<double>
& qd,
110
const
vctDynamicVector<double>
& qdd );
111
112
void
Blend
(
robFunction
* function,
double
vmax,
double
vdmax );
113
114
115
vctDynamicVector<double>
Slope
()
const
;
116
117
};
118
119
#endif
robFunction::robFunction
robFunction(void)
robFunction::t1
double t1
Definition
robFunction.h:35
robFunctionRn::robFunctionRn
robFunctionRn(void)
robFunctionRn::y2
vctDynamicVector< double > y2
Definition
robFunctionRn.h:37
robFunctionRn::y1
vctDynamicVector< double > y1
Definition
robFunctionRn.h:33
robLinearRn::Evaluate
void Evaluate(double t, vctFixedSizeVector< double, 3 > &p, vctFixedSizeVector< double, 3 > &v, vctFixedSizeVector< double, 3 > &vd)
Evaluate the function.
robLinearRn::Blend
void Blend(robFunction *function, double vmax, double vdmax)
robLinearRn::Evaluate
void Evaluate(double t, vctDynamicVector< double > &y, vctDynamicVector< double > &yd, vctDynamicVector< double > &ydd)
Evaluate the function.
robLinearRn::Evaluate
void Evaluate(double t, double &y, double &yd, double &ydd)
Evaluate the function.
robLinearRn::robLinearRn
robLinearRn(const vctFixedSizeVector< double, 3 > &y1, const vctFixedSizeVector< double, 3 > &y2, double vmax, double t1=0.0)
Define a linear function .
robLinearRn::Blend
void Blend(robFunction *function, const vctDynamicVector< double > &qd, const vctDynamicVector< double > &qdd)
robLinearRn::Slope
vctDynamicVector< double > Slope() const
robLinearRn::robLinearRn
robLinearRn(const vctDynamicVector< double > &y1, const vctDynamicVector< double > &y2, const vctDynamicVector< double > &ydmax, double t1=0.0)
Define a linear function .
vctDynamicVector
Definition
vctForwardDeclarations.h:131
vctFixedSizeVector
Implementation of a fixed-size vector using template metaprogramming.
Definition
vctFixedSizeVector.h:54
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
robExport.h
robFunctionRn.h
Generated by
1.18.0