cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
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
robFunction::robFunction
robFunction(void)
robFunction::t1
double t1
Definition
robFunction.h:35
robFunctionSO3::robFunctionSO3
robFunctionSO3(void)
robFunctionSO3::qw1
vctQuaternionRotation3< double > qw1
Definition
robFunctionSO3.h:31
robFunctionSO3::qw2
vctQuaternionRotation3< double > qw2
Definition
robFunctionSO3.h:35
robSLERP::Evaluate
void Evaluate(double t, vctQuaternionRotation3< double > &q, vctFixedSizeVector< double, 3 > &w, vctFixedSizeVector< double, 3 > &wd)
Evaluate the function.
robSLERP::robSLERP
robSLERP(const vctQuaternionRotation3< double > &qw1, const vctQuaternionRotation3< double > &qw2, double wmax, double t1=0.0)
robSLERP::robSLERP
robSLERP(const vctMatrixRotation3< double > &Rw1, const vctMatrixRotation3< double > &Rw2, double wmax, double t1=0.0)
robSLERP::Blend
void Blend(robFunction *function, double wmax, double wdmax)
vctFixedSizeVector
Implementation of a fixed-size vector using template metaprogramming.
Definition
vctFixedSizeVector.h:54
vctMatrixRotation3
Define a rotation matrix for a space of dimension 3.
Definition
vctMatrixRotation3.h:51
vctQuaternionRotation3
Define a rotation quaternion for a space of dimension 3.
Definition
vctQuaternionRotation3.h:50
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
robExport.h
robFunctionSO3.h
Generated by
1.18.0