expose-liegroups.cpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2015-2020 CNRS INRIA
3 //
4 
8 
9 #include <eigenpy/memory.hpp>
10 
11 namespace pinocchio
12 {
13 namespace python
14 {
15 
16 namespace bp = boost::python;
17 
18 template<typename LgType>
19 CartesianProductOperationVariantTpl<double,0,LieGroupCollectionDefaultTpl>
21 {
23 }
24 
26 makeRn(int n)
27 {
30 }
31 
32 
33 /* --- Expose --------------------------------------------------------- */
35 {
38  >::expose("LieGroup");
39 
40  {
41  // Switch the scope to the submodule, add methods and classes.
42  bp::scope submoduleScope = getOrCreatePythonNamespace("liegroups");
43 
47  bp::def("Rn", makeRn);
52  }
53 }
54 } // namespace python
55 } // namespace pinocchio
liegroups.hpp
pinocchio::python::makeLieGroup
CartesianProductOperationVariantTpl< double, 0, LieGroupCollectionDefaultTpl > makeLieGroup()
Definition: expose-liegroups.cpp:20
pinocchio::SpecialEuclideanOperationTpl
Definition: special-euclidean.hpp:24
boost::python
pinocchio::CartesianProductOperationVariantTpl
Dynamic Cartesian product composed of elementary Lie groups defined in LieGroupVariant.
Definition: cartesian-product-variant.hpp:18
pinocchio::python::getOrCreatePythonNamespace
boost::python::object getOrCreatePythonNamespace(const std::string &submodule_name)
Helper to create or simply return an existing namespace in Python.
Definition: namespace.hpp:22
pinocchio::python::makeRn
CartesianProductOperationVariantTpl< double, 0, LieGroupCollectionDefaultTpl > makeRn(int n)
Definition: expose-liegroups.cpp:26
python
pinocchio::SpecialOrthogonalOperationTpl
Definition: special-orthogonal.hpp:18
pinocchio::python::LieGroupPythonVisitor
Definition: liegroups.hpp:172
pinocchio::python::exposeLieGroups
void exposeLieGroups()
Definition: expose-liegroups.cpp:34
memory.hpp
fwd.hpp
pinocchio::VectorSpaceOperationTpl
Definition: vector-space.hpp:15
n
Vec3f n
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:28
namespace.hpp


pinocchio
Author(s):
autogenerated on Tue Feb 13 2024 03:43:58