bindings
python
algorithm
algorithm/expose-geometry.cpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2015-2022 CNRS INRIA
3
//
4
5
#include "
pinocchio/bindings/python/algorithm/algorithms.hpp
"
6
#include "
pinocchio/algorithm/geometry.hpp
"
7
8
namespace
pinocchio
9
{
10
namespace
python
11
{
12
13
void
exposeGeometryAlgo
()
14
{
15
using namespace
Eigen
;
16
17
bp::def(
18
"updateGeometryPlacements"
,
19
&updateGeometryPlacements<double, 0, JointCollectionDefaultTpl, VectorXd>,
20
bp::args(
"model"
,
"data"
,
"geometry_model"
,
"geometry_data"
,
"q"
),
21
"Update the placement of the collision objects according to the current configuration.\n"
22
"The algorithm also updates the current placement of the joint in Data."
);
23
24
bp::def(
25
"updateGeometryPlacements"
, &updateGeometryPlacements<double, 0, JointCollectionDefaultTpl>,
26
bp::args(
"model"
,
"data"
,
"geometry_model"
,
"geometry_data"
),
27
"Update the placement of the collision objects according to the current joint "
28
"placement stored in data."
);
29
}
30
}
// namespace python
31
}
// namespace pinocchio
Eigen
geometry.hpp
pinocchio::python::exposeGeometryAlgo
void exposeGeometryAlgo()
Definition:
algorithm/expose-geometry.cpp:13
algorithms.hpp
python
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:29