pinocchio
2.4.4
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
liegroup-collection.hpp
1
//
2
// Copyright (c) 2018 CNRS
3
//
4
5
#ifndef __pinocchio_lie_group_collection_hpp__
6
#define __pinocchio_lie_group_collection_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 <boost/variant.hpp>
14
15
namespace
pinocchio
16
{
17
template
<
typename
_Scalar,
int
_Options = 0>
18
struct
LieGroupCollectionDefaultTpl
19
{
20
typedef
_Scalar Scalar;
21
enum
{ Options = _Options };
22
23
typedef
boost::variant<
24
SpecialOrthogonalOperationTpl<2,Scalar,Options>
25
,
SpecialOrthogonalOperationTpl<3,Scalar,Options>
26
,
SpecialEuclideanOperationTpl<2,Scalar,Options>
27
,
SpecialEuclideanOperationTpl<3,Scalar,Options>
28
,
VectorSpaceOperationTpl<1,Scalar,Options>
29
,
VectorSpaceOperationTpl<2,Scalar,Options>
30
,
VectorSpaceOperationTpl<3,Scalar,Options>
31
,
VectorSpaceOperationTpl<Eigen::Dynamic,Scalar,Options>
32
> LieGroupVariant;
33
34
};
35
36
typedef
LieGroupCollectionDefaultTpl<double>
LieGroupCollectionDefault
;
37
38
}
39
40
#endif // ifndef __pinocchio_lie_group_collection_hpp__
41
pinocchio::SpecialEuclideanOperationTpl
Definition:
special-euclidean.hpp:24
pinocchio::VectorSpaceOperationTpl
Definition:
vector-space.hpp:15
pinocchio::SpecialOrthogonalOperationTpl
Definition:
special-orthogonal.hpp:18
pinocchio
Main pinocchio namespace.
Definition:
treeview.dox:24
pinocchio::LieGroupCollectionDefaultTpl
Definition:
liegroup-collection.hpp:18
src
multibody
liegroup
liegroup-collection.hpp
Generated by
1.8.13