include
pinocchio
bindings
python
spatial
bindings/python/spatial/classic-acceleration.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2019-2020 INRIA
3
//
4
5
#include "
pinocchio/bindings/python/fwd.hpp
"
6
#include "
pinocchio/spatial/classic-acceleration.hpp
"
7
8
namespace
pinocchio
9
{
10
namespace
python
11
{
12
namespace
bp
=
boost::python
;
13
14
void
exposeClassicAcceleration
()
15
{
16
bp::def(
17
"classicAcceleration"
, &classicAcceleration<context::Motion, context::Motion>,
18
bp::args(
"spatial_velocity"
,
"spatial_acceleration"
),
19
"Computes the classic acceleration from a given spatial velocity and spatial "
20
"acceleration."
);
21
22
bp::def(
23
"classicAcceleration"
,
24
&classicAcceleration<context::Motion, context::Motion, context::Scalar, context::Options>,
25
bp::args(
"spatial_velocity"
,
"spatial_acceleration"
,
"placement"
),
26
"Computes the classic acceleration of a frame B, given the spatial velocity and spatial "
27
"acceleration of a frame A,\n"
28
"and the relative placement A^M_B."
);
29
}
30
31
}
// namespace python
32
}
// namespace pinocchio
boost::python
pinocchio::python::exposeClassicAcceleration
void exposeClassicAcceleration()
Definition:
bindings/python/spatial/classic-acceleration.hpp:14
python
fwd.hpp
classic-acceleration.hpp
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:06