cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
21 #include <cisstRobot/robExport.h>
22 
25 
26  private:
27 
30 
31  void ComputeParameters();
32 
33  public:
34 
36 
47  double vmax,
48  double t1 = 0.0 );
49 
51 
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,
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 
115  vctDynamicVector<double> Slope() const;
116 
117 };
118 
119 #endif
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
virtual void Blend(robFunction *function, const vctDynamicVector< double > &qd, const vctDynamicVector< double > &qdd)=0
Base class for robot function.
Definition: robFunction.h:31
A linear function (as in Ax=b)
Definition: robLinearRn.h:24
virtual void Evaluate(double, vctFixedSizeVector< double, 3 > &, vctFixedSizeVector< double, 3 > &, vctFixedSizeVector< double, 3 > &)
Definition: robFunctionRn.h:85
Definition: robFunctionRn.h:29