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<
22  LieGroupCollectionDefaultTpl>
24  {
27  }
28 
33  makeRn(int n)
34  {
38  }
39 
40  /* --- Expose --------------------------------------------------------- */
42  {
45 
46  {
47  // Switch the scope to the submodule, add methods and classes.
48  bp::scope submoduleScope = getOrCreatePythonNamespace("liegroups");
49 
53  bp::def("Rn", makeRn);
54  bp::def(
56  bp::def(
58  bp::def(
60  bp::def(
62  }
63  }
64  } // namespace python
65 } // namespace pinocchio
liegroups.hpp
pinocchio::SpecialEuclideanOperationTpl
Definition: special-euclidean.hpp:25
boost::python
pinocchio::python::makeLieGroup
CartesianProductOperationVariantTpl< context::Scalar, context::Options, LieGroupCollectionDefaultTpl > makeLieGroup()
Definition: expose-liegroups.cpp:23
pinocchio::LieGroupCollectionDefaultTpl
Definition: liegroup-collection.hpp:18
pinocchio::CartesianProductOperationVariantTpl
Dynamic Cartesian product composed of elementary Lie groups defined in LieGroupVariant.
Definition: cartesian-product-variant.hpp:20
pinocchio::python::makeRn
CartesianProductOperationVariantTpl< context::Scalar, context::Options, LieGroupCollectionDefaultTpl > makeRn(int n)
Definition: expose-liegroups.cpp:33
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:34
python
pinocchio::SpecialOrthogonalOperationTpl
Definition: special-orthogonal.hpp:18
pinocchio::python::LieGroupPythonVisitor
Definition: liegroups.hpp:195
pinocchio::python::context::Options
@ Options
Definition: bindings/python/context/generic.hpp:40
pinocchio::python::exposeLieGroups
void exposeLieGroups()
Definition: expose-liegroups.cpp:41
memory.hpp
fwd.hpp
pinocchio::VectorSpaceOperationTpl
Definition: vector-space.hpp:16
pinocchio::python::context::Scalar
PINOCCHIO_PYTHON_SCALAR_TYPE Scalar
Definition: bindings/python/context/generic.hpp:37
n
Vec3f n
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27
namespace.hpp


pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:43