energy.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2016-2020 CNRS INRIA
3 //
4 
5 #ifndef __pinocchio_algorithm_energy_hpp__
6 #define __pinocchio_algorithm_energy_hpp__
7 
12 
13 namespace pinocchio
14 {
15 
27  template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
29  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
30  DataTpl<Scalar, Options, JointCollectionTpl> & data);
31 
47  template<
48  typename Scalar,
49  int Options,
50  template<typename, int>
51  class JointCollectionTpl,
52  typename ConfigVectorType,
53  typename TangentVectorType>
55  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
56  DataTpl<Scalar, Options, JointCollectionTpl> & data,
57  const Eigen::MatrixBase<ConfigVectorType> & q,
58  const Eigen::MatrixBase<TangentVectorType> & v);
59 
79  template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
81  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
82  DataTpl<Scalar, Options, JointCollectionTpl> & data);
83 
103  template<
104  typename Scalar,
105  int Options,
106  template<typename, int>
107  class JointCollectionTpl,
108  typename ConfigVectorType>
110  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
111  DataTpl<Scalar, Options, JointCollectionTpl> & data,
112  const Eigen::MatrixBase<ConfigVectorType> & q);
113 
125  template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
127  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
128  DataTpl<Scalar, Options, JointCollectionTpl> & data);
129 
146  template<
147  typename Scalar,
148  int Options,
149  template<typename, int>
150  class JointCollectionTpl,
151  typename ConfigVectorType,
152  typename TangentVectorType>
154  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
155  DataTpl<Scalar, Options, JointCollectionTpl> & data,
156  const Eigen::MatrixBase<ConfigVectorType> & q,
157  const Eigen::MatrixBase<TangentVectorType> & v);
158 
159 } // namespace pinocchio
160 
161 #include "pinocchio/algorithm/energy.hxx"
162 
163 #if PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
164  #include "pinocchio/algorithm/energy.txx"
165 #endif // PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
166 
167 #endif // __pinocchio_algorithm_energy_hpp__
pinocchio::computePotentialEnergy
Scalar computePotentialEnergy(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data)
Computes the potential energy of the system, i.e. the potential energy linked to the gravity field....
pinocchio::Options
Options
Definition: joint-configuration.hpp:1116
kinematics.hpp
model.hpp
setup.data
data
Definition: cmake/cython/setup.in.py:48
pinocchio::python::Scalar
context::Scalar Scalar
Definition: admm-solver.cpp:29
pinocchio::computeMechanicalEnergy
Scalar computeMechanicalEnergy(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data)
Computes the mechanical energy of the system stored in data.mechanical_energy. The result is accessib...
data.hpp
pinocchio::q
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
Definition: joint-configuration.hpp:1117
pinocchio::computeKineticEnergy
Scalar computeKineticEnergy(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data)
Computes the kinetic energy of the system. The result is accessible through data.kinetic_energy.
pinocchio::v
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > const Eigen::MatrixBase< TangentVectorType > & v
Definition: joint-configuration.hpp:1118
check.hpp
pinocchio::model
JointCollectionTpl & model
Definition: joint-configuration.hpp:1116
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27


pinocchio
Author(s):
autogenerated on Tue Jun 25 2024 02:42:37