cisst-saw
Loading...
Searching...
No Matches
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
11This software is provided "as is" under an open source license, with
12no warranty. The complete license can be found in license.txt and
13http://www.cisst.org/cisst/license.txt.
14
15--- end cisst license ---
16*/
17#ifndef _robLinearRn_h
18#define _robLinearRn_h
19
22
25
26 private:
27
30
31 void ComputeParameters();
32
33 public:
34
36
47 double vmax,
48 double t1 = 0.0 );
49
51
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,
91
92
94
103 void Evaluate( double t,
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
116
117};
118
119#endif
robFunction(void)
double t1
Definition robFunction.h:35
robFunctionRn(void)
vctDynamicVector< double > y2
Definition robFunctionRn.h:37
vctDynamicVector< double > y1
Definition robFunctionRn.h:33
void Evaluate(double t, vctFixedSizeVector< double, 3 > &p, vctFixedSizeVector< double, 3 > &v, vctFixedSizeVector< double, 3 > &vd)
Evaluate the function.
void Blend(robFunction *function, double vmax, double vdmax)
void Evaluate(double t, vctDynamicVector< double > &y, vctDynamicVector< double > &yd, vctDynamicVector< double > &ydd)
Evaluate the function.
void Evaluate(double t, double &y, double &yd, double &ydd)
Evaluate the function.
robLinearRn(const vctFixedSizeVector< double, 3 > &y1, const vctFixedSizeVector< double, 3 > &y2, double vmax, double t1=0.0)
Define a linear function .
void Blend(robFunction *function, const vctDynamicVector< double > &qd, const vctDynamicVector< double > &qdd)
vctDynamicVector< double > Slope() const
robLinearRn(const vctDynamicVector< double > &y1, const vctDynamicVector< double > &y2, const vctDynamicVector< double > &ydmax, double t1=0.0)
Define a linear function .
Definition vctForwardDeclarations.h:131
Implementation of a fixed-size vector using template metaprogramming.
Definition vctFixedSizeVector.h:54
#define CISST_EXPORT
Definition cmnExportMacros.h:50