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
robCubicSO3.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
18
#ifndef _robCubicSO3_h
19
#define _robCubicSO3_h
20
21
#include <
cisstVector/vctMatrixRotation3.h
>
22
#include <
cisstVector/vctQuaternionRotation3.h
>
23
24
#include <
cisstRobot/robFunctionSO3.h
>
25
#include <
cisstRobot/robExport.h
>
26
27
class
CISST_EXPORT
robCubicSO3
:
public
robFunctionSO3
{
28
29
private
:
30
31
double
wmax;
32
vctQuaternionRotation3<double>
qwmid;
// midpoint orientation
33
34
vctQuaternionRotation3<double>
35
SLERP(
const
vctQuaternionRotation3<double>
&q1,
36
const
vctQuaternionRotation3<double>
&q2,
37
double
t );
38
39
40
public
:
41
43
46
robCubicSO3
(
const
vctMatrixRotation3<double>
& Rw0,
47
const
vctMatrixRotation3<double>
& Rw1,
48
const
vctMatrixRotation3<double>
& Rw2,
49
double
wmax,
50
double
t1 = 0.0 );
51
52
robCubicSO3
(
const
vctQuaternionRotation3<double>
& qw0,
53
const
vctQuaternionRotation3<double>
& qwmid,
54
const
vctQuaternionRotation3<double>
& qw2,
55
double
wmax,
56
double
t1 = 0.0 );
57
59
void
Evaluate
(
double
t,
60
vctQuaternionRotation3<double>
& q,
61
vctFixedSizeVector<double,3>
& w,
62
vctFixedSizeVector<double,3>
& wd );
63
64
void
Blend
(
robFunction
*
function
,
double
wmax,
double
wdmax );
65
66
void
IntermediateState(
vctQuaternionRotation3<double>
& q );
67
68
};
69
70
#endif
CISST_EXPORT
#define CISST_EXPORT
Definition:
cmnExportMacros.h:50
robCubicSO3
Definition:
robCubicSO3.h:27
robFunctionSO3::Blend
virtual void Blend(robFunction *function, double wmax, double wdmax)=0
robExport.h
robFunction
Base class for robot function.
Definition:
robFunction.h:31
vctMatrixRotation3.h
Declaration of vctMatrixRotation3.
robFunctionSO3.h
robFunctionSO3::Evaluate
virtual void Evaluate(double, vctQuaternionRotation3< double > &, vctFixedSizeVector< double, 3 > &, vctFixedSizeVector< double, 3 > &)
Definition:
robFunctionSO3.h:63
vctFixedSizeVector< double, 3 >
vctQuaternionRotation3< double >
vctQuaternionRotation3.h
Declaration of vctQuaternionRotation3.
robFunctionSO3
Definition:
robFunctionSO3.h:27
vctMatrixRotation3< double >
Generated by
1.8.6