include
pinocchio
multibody
liegroup
liegroup.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2016-2019 CNRS INRIA
3
//
4
5
#ifndef __pinocchio_lie_group_hpp__
6
#define __pinocchio_lie_group_hpp__
7
8
#include "
pinocchio/multibody/liegroup/vector-space.hpp
"
9
#include "
pinocchio/multibody/liegroup/cartesian-product.hpp
"
10
#include "
pinocchio/multibody/liegroup/special-orthogonal.hpp
"
11
#include "
pinocchio/multibody/liegroup/special-euclidean.hpp
"
12
13
#include "
pinocchio/multibody/joint/fwd.hpp
"
14
15
namespace
pinocchio
16
{
17
struct
LieGroupMap
18
{
19
template
<
typename
Jo
int
Model>
20
struct
operation
21
{
22
typedef
VectorSpaceOperationTpl
<
23
JointModel::NQ
,
24
typename
JointModel::Scalar
,
25
JointModel::Options
>
26
type
;
27
};
28
};
29
30
template
<
typename
Jo
int
Model>
31
struct
LieGroup
32
{
33
typedef
typename
LieGroupMap::operation<JointModel>::type
type
;
34
};
35
36
template
<
typename
Scalar,
int
Options,
template
<
typename
S,
int
O>
class
JointCollectionTpl>
37
struct
LieGroupMap::operation
<
JointModelCompositeTpl
<
Scalar
,
Options
, JointCollectionTpl>>
38
{
39
};
40
41
template
<
typename
Scalar,
int
Options>
42
struct
LieGroupMap::operation
<
JointModelSphericalTpl
<
Scalar
,
Options
>>
43
{
44
typedef
SpecialOrthogonalOperationTpl<3, Scalar, Options>
type
;
45
};
46
47
template
<
typename
Scalar,
int
Options>
48
struct
LieGroupMap::operation
<
JointModelFreeFlyerTpl
<
Scalar
,
Options
>>
49
{
50
typedef
SpecialEuclideanOperationTpl<3, Scalar, Options>
type
;
51
};
52
53
template
<
typename
Scalar,
int
Options>
54
struct
LieGroupMap::operation
<
JointModelPlanarTpl
<
Scalar
,
Options
>>
55
{
56
typedef
SpecialEuclideanOperationTpl<2, Scalar, Options>
type
;
57
};
58
59
template
<
typename
Scalar,
int
Options,
int
axis>
60
struct
LieGroupMap::operation
<
JointModelRevoluteUnboundedTpl
<
Scalar
,
Options
,
axis
>>
61
{
62
typedef
SpecialOrthogonalOperationTpl<2, Scalar, Options>
type
;
63
};
64
65
template
<
typename
Scalar,
int
Options>
66
struct
LieGroupMap::operation
<
JointModelRevoluteUnboundedUnalignedTpl
<
Scalar
,
Options
>>
67
{
68
typedef
SpecialOrthogonalOperationTpl<2, Scalar, Options>
type
;
69
};
70
71
}
// namespace pinocchio
72
73
#endif // ifndef __pinocchio_lie_group_hpp__
pinocchio::SpecialEuclideanOperationTpl
Definition:
special-euclidean.hpp:25
pinocchio::JointModelRevoluteUnboundedUnalignedTpl
Definition:
multibody/joint/fwd.hpp:46
pinocchio::JointModelPlanarTpl
Definition:
multibody/joint/fwd.hpp:118
cartesian-product.hpp
pinocchio::Options
Options
Definition:
joint-configuration.hpp:1082
pinocchio::python::Scalar
context::Scalar Scalar
Definition:
admm-solver.cpp:29
pinocchio::JointModelFreeFlyerTpl
Definition:
multibody/joint/fwd.hpp:110
pinocchio::LieGroupMap::operation< JointModelRevoluteUnboundedTpl< Scalar, Options, axis > >::type
SpecialOrthogonalOperationTpl< 2, Scalar, Options > type
Definition:
liegroup.hpp:62
pinocchio::python::Options
@ Options
Definition:
expose-contact-inverse-dynamics.cpp:22
pinocchio::LieGroupMap::operation< JointModelSphericalTpl< Scalar, Options > >::type
SpecialOrthogonalOperationTpl< 3, Scalar, Options > type
Definition:
liegroup.hpp:44
pinocchio::LieGroupMap::operation::type
VectorSpaceOperationTpl< JointModel::NQ, typename JointModel::Scalar, JointModel::Options > type
Definition:
liegroup.hpp:26
pinocchio::LieGroupMap
Definition:
liegroup.hpp:17
pinocchio::SpecialOrthogonalOperationTpl
Definition:
special-orthogonal.hpp:18
special-orthogonal.hpp
vector-space.hpp
pinocchio::LieGroupMap::operation< JointModelPlanarTpl< Scalar, Options > >::type
SpecialEuclideanOperationTpl< 2, Scalar, Options > type
Definition:
liegroup.hpp:56
pinocchio::JointModelSphericalTpl
Definition:
multibody/joint/fwd.hpp:73
axis
axis
pinocchio::LieGroupMap::operation
Definition:
liegroup.hpp:20
pinocchio::LieGroup
Definition:
liegroup.hpp:31
pinocchio::JointModelCompositeTpl
Definition:
multibody/joint/fwd.hpp:141
pinocchio::LieGroupMap::operation< JointModelRevoluteUnboundedUnalignedTpl< Scalar, Options > >::type
SpecialOrthogonalOperationTpl< 2, Scalar, Options > type
Definition:
liegroup.hpp:68
pinocchio::LieGroup::type
LieGroupMap::operation< JointModel >::type type
Definition:
liegroup.hpp:33
fwd.hpp
special-euclidean.hpp
pinocchio::VectorSpaceOperationTpl
Definition:
vector-space.hpp:16
pinocchio::LieGroupMap::operation< JointModelFreeFlyerTpl< Scalar, Options > >::type
SpecialEuclideanOperationTpl< 3, Scalar, Options > type
Definition:
liegroup.hpp:50
dpendulum.NQ
int NQ
Definition:
dpendulum.py:9
pinocchio::JointModelRevoluteUnboundedTpl
Definition:
multibody/joint/fwd.hpp:55
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Sun Nov 10 2024 03:43:00