pinocchio 4.1.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Loading...
Searching...
No Matches
compute-all-terms.hpp
1//
2// Copyright (c) 2015-2021 CNRS INRIA
3//
4
5#pragma once
6
7// IWYU pragma: begin_keep
8#include <Eigen/Core>
9
10#include <cassert>
11#include <type_traits>
12#include <vector>
13
14#include <boost/fusion/container/vector.hpp>
15
16#include "pinocchio/macros.hpp"
17#include "pinocchio/fwd.hpp"
18//
19#include "pinocchio/math.hpp"
20
21#include "pinocchio/spatial.hpp"
22
23#include "pinocchio/multibody.hpp"
24#include "pinocchio/multibody/joint.hpp"
25#include "pinocchio/multibody/visitor.hpp"
26
27#include "pinocchio/algorithm/center-of-mass.hpp"
28#include "pinocchio/algorithm/energy.hpp"
29#include "pinocchio/algorithm/check.hpp"
30// IWYU pragma: end_keep
31
32namespace pinocchio
33{
60 template<
61 typename Scalar,
62 int Options,
63 template<typename, int> class JointCollectionTpl,
64 typename ConfigVectorType,
65 typename TangentVectorType>
67 const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
68 DataTpl<Scalar, Options, JointCollectionTpl> & data,
69 const Eigen::MatrixBase<ConfigVectorType> & q,
70 const Eigen::MatrixBase<TangentVectorType> & v);
71
72} // namespace pinocchio
73
74// IWYU pragma: begin_exports
75#include "pinocchio/src/algorithm/compute-all-terms.hxx"
76// IWYU pragma: end_exports
Main pinocchio namespace.
Definition treeview.dox:11
void computeAllTerms(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType > &v)
Computes efficiently all the terms needed for dynamic simulation. It is equivalent to the call at the...