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
robSLERP.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 _robSLERP_h
19
#define _robSLERP_h
20
21
#include <
cisstRobot/robFunctionSO3.h
>
22
#include <
cisstRobot/robExport.h
>
23
25
class
CISST_EXPORT
robSLERP
:
public
robFunctionSO3
{
26
27
private
:
28
double
wmax;
29
vctFixedSizeVector<double,3>
w;
30
31
void
ComputeParameters(
double
wmax );
32
33
public
:
34
35
robSLERP
(
const
vctMatrixRotation3<double>
& Rw1,
36
const
vctMatrixRotation3<double>
& Rw2,
37
double
wmax,
38
double
t1 = 0.0 );
39
40
41
robSLERP
(
const
vctQuaternionRotation3<double>
& qw1,
42
const
vctQuaternionRotation3<double>
& qw2,
43
double
wmax,
44
double
t1 = 0.0 );
45
47
void
Evaluate
(
double
t,
48
vctQuaternionRotation3<double>
& q,
49
vctFixedSizeVector<double,3>
& w,
50
vctFixedSizeVector<double,3>
& wd );
51
52
void
Blend
(
robFunction
*
function
,
double
wmax,
double
wdmax );
53
};
54
55
#endif
CISST_EXPORT
#define CISST_EXPORT
Definition:
cmnExportMacros.h:50
robFunctionSO3::Blend
virtual void Blend(robFunction *function, double wmax, double wdmax)=0
robSLERP
Define a spherical linear interpolation function.
Definition:
robSLERP.h:25
robExport.h
robFunction
Base class for robot function.
Definition:
robFunction.h:31
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 >
robFunctionSO3
Definition:
robFunctionSO3.h:27
vctMatrixRotation3< double >
Generated by
1.8.6