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
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
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
robFunction
Base class for robot function.
Definition:
robFunction.h:31
robLinearRn
A linear function (as in Ax=b)
Definition:
robLinearRn.h:24
vctFixedSizeVector< double, 3 >
robFunctionRn::Evaluate
virtual void Evaluate(double, vctFixedSizeVector< double, 3 > &, vctFixedSizeVector< double, 3 > &, vctFixedSizeVector< double, 3 > &)
Definition:
robFunctionRn.h:85
robFunctionRn
Definition:
robFunctionRn.h:29
robFunctionRn.h
Generated by
1.8.6