sot-talos-balance  2.0.5
Collection of dynamic-graph entities aimed at implementing balance control on talos.
fwd.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2017 CNRS
3 //
4 // This file is part of tsid
5 // tsid is free software: you can redistribute it
6 // and/or modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation, either version
8 // 3 of the License, or (at your option) any later version.
9 // tsid is distributed in the hope that it will be
10 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
11 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // General Lesser Public License for more details. You should have
13 // received a copy of the GNU Lesser General Public License along with
14 // tsid If not, see
15 // <http://www.gnu.org/licenses/>.
16 //
17 
18 #ifndef __invdyn_math_fwd_hpp__
19 #define __invdyn_math_fwd_hpp__
20 
21 #include <Eigen/Core>
22 
23 #ifdef EIGEN_RUNTIME_NO_MALLOC
24 #define EIGEN_MALLOC_ALLOWED Eigen::internal::set_is_malloc_allowed(true);
25 #define EIGEN_MALLOC_NOT_ALLOWED Eigen::internal::set_is_malloc_allowed(false);
26 #else
27 #define EIGEN_MALLOC_ALLOWED
28 #define EIGEN_MALLOC_NOT_ALLOWED
29 #endif
30 namespace dynamicgraph {
31 namespace sot {
32 namespace talos_balance {
33 namespace math {
34 
35 typedef double Scalar;
36 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1> Vector;
37 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> Matrix;
39 typedef Eigen::Matrix<bool, Eigen::Dynamic, 1> VectorXb;
40 
41 typedef Eigen::Matrix<Scalar, 3, 1> Vector3;
42 typedef Eigen::Matrix<Scalar, 6, 1> Vector6;
43 typedef Eigen::Matrix<Scalar, 3, Eigen::Dynamic> Matrix3x;
44 
45 typedef Eigen::Ref<Vector3> RefVector3;
46 typedef const Eigen::Ref<const Vector3> ConstRefVector3;
47 
48 typedef Eigen::Ref<Vector> RefVector;
49 typedef const Eigen::Ref<const Vector> ConstRefVector;
50 
51 typedef Eigen::Ref<Matrix> RefMatrix;
52 typedef const Eigen::Ref<const Matrix> ConstRefMatrix;
53 
54 typedef std::size_t Index;
55 
56 // Forward declaration of constraints
57 class ConstraintBase;
58 class ConstraintEquality;
59 class ConstraintInequality;
60 class ConstraintBound;
61 
62 } // namespace math
63 } // namespace talos_balance
64 } // namespace sot
65 } // namespace dynamicgraph
66 #endif // ifndef __invdyn_math_fwd_hpp__
sot_talos_balance.test.appli_admittance_end_effector.sot
sot
Definition: appli_admittance_end_effector.py:117
dynamicgraph
Definition: treeview.dox:24
dynamicgraph::sot::talos_balance::math::Vector6
Eigen::Matrix< Scalar, 6, 1 > Vector6
Definition: fwd.hh:42
dynamicgraph::sot::talos_balance::math::ConstRefVector3
const typedef Eigen::Ref< const Vector3 > ConstRefVector3
Definition: fwd.hh:46
dynamicgraph::sot::talos_balance::math::Scalar
double Scalar
Definition: fwd.hh:35
dynamicgraph::sot::talos_balance::math::Matrix3x
Eigen::Matrix< Scalar, 3, Eigen::Dynamic > Matrix3x
Definition: fwd.hh:43
dynamicgraph::sot::talos_balance::math::Matrix
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
Definition: fwd.hh:37
dynamicgraph::sot::talos_balance::math::VectorXi
Eigen::VectorXi VectorXi
Definition: fwd.hh:38
dynamicgraph::sot::talos_balance::math::RefVector3
Eigen::Ref< Vector3 > RefVector3
Definition: fwd.hh:45
dynamicgraph::sot::talos_balance::math::RefMatrix
Eigen::Ref< Matrix > RefMatrix
Definition: fwd.hh:51
dynamicgraph::sot::talos_balance::math::Vector3
Eigen::Matrix< Scalar, 3, 1 > Vector3
Definition: fwd.hh:41
dynamicgraph::sot::talos_balance::math::Vector
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
Definition: fwd.hh:36
dynamicgraph::sot::talos_balance::math::ConstRefMatrix
const typedef Eigen::Ref< const Matrix > ConstRefMatrix
Definition: fwd.hh:52
dynamicgraph::sot::talos_balance::math::VectorXb
Eigen::Matrix< bool, Eigen::Dynamic, 1 > VectorXb
Definition: fwd.hh:39
dynamicgraph::sot::talos_balance::math::Index
std::size_t Index
Definition: fwd.hh:54
dynamicgraph::sot::talos_balance::math::ConstRefVector
const typedef Eigen::Ref< const Vector > ConstRefVector
Definition: fwd.hh:49
dynamicgraph::sot::talos_balance::math::RefVector
Eigen::Ref< Vector > RefVector
Definition: fwd.hh:48