cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
robQLQRn.h
Go to the documentation of this file.
1 
2 #ifndef _robQLQRn_h
3 #define _robQLQRn_h
4 
7 #include <cisstRobot/robExport.h>
8 
10 
11  private:
12 
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 
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,
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
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
virtual void Blend(robFunction *function, const vctDynamicVector< double > &qd, const vctDynamicVector< double > &qdd)=0
Definition: robQuintic.h:27
Base class for robot function.
Definition: robFunction.h:31
Definition: robQLQRn.h:9
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