tsid 1.9.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
Loading...
Searching...
No Matches
fwd.hpp
Go to the documentation of this file.
1//
2// Copyright (c) 2017 CNRS
3//
4
5#ifndef __invdyn_math_fwd_hpp__
6#define __invdyn_math_fwd_hpp__
7
8#include <Eigen/Core>
9
10#ifdef EIGEN_RUNTIME_NO_MALLOC
11#define EIGEN_MALLOC_ALLOWED Eigen::internal::set_is_malloc_allowed(true);
12#define EIGEN_MALLOC_NOT_ALLOWED Eigen::internal::set_is_malloc_allowed(false);
13#else
14#define EIGEN_MALLOC_ALLOWED
15#define EIGEN_MALLOC_NOT_ALLOWED
16#endif
17
18namespace tsid {
19namespace math {
20
21typedef double Scalar;
22typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1> Vector;
23typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> Matrix;
24typedef Eigen::VectorXi VectorXi;
25typedef Eigen::Matrix<bool, Eigen::Dynamic, 1> VectorXb;
26
27typedef Eigen::Matrix<Scalar, 3, 1> Vector3;
28typedef Eigen::Matrix<Scalar, 6, 1> Vector6;
29typedef Eigen::Matrix<Scalar, 3, Eigen::Dynamic> Matrix3x;
30
31typedef Eigen::Ref<Vector3> RefVector3;
32typedef const Eigen::Ref<const Vector3> ConstRefVector3;
33
34typedef Eigen::Ref<Vector> RefVector;
35typedef const Eigen::Ref<const Vector> ConstRefVector;
36
37typedef Eigen::Ref<Matrix> RefMatrix;
38typedef const Eigen::Ref<const Matrix> ConstRefMatrix;
39
40typedef std::size_t Index;
41
42// Forward declaration of constraints
47
48} // namespace math
49} // namespace tsid
50
51#endif // ifndef __invdyn_math_fwd_hpp__
Abstract class representing a linear equality/inequality constraint. Equality constraints are represe...
Definition constraint-base.hpp:22
Definition constraint-bound.hpp:13
Definition constraint-equality.hpp:13
Definition constraint-inequality.hpp:13
Eigen::Ref< Matrix > RefMatrix
Definition fwd.hpp:37
std::size_t Index
Definition fwd.hpp:40
Eigen::Matrix< Scalar, 3, Eigen::Dynamic > Matrix3x
Definition fwd.hpp:29
Eigen::Matrix< Scalar, 3, 1 > Vector3
Definition fwd.hpp:27
Eigen::Matrix< Scalar, 6, 1 > Vector6
Definition fwd.hpp:28
const Eigen::Ref< const Matrix > ConstRefMatrix
Definition fwd.hpp:38
const Eigen::Ref< const Vector3 > ConstRefVector3
Definition fwd.hpp:32
const Eigen::Ref< const Vector > ConstRefVector
Definition fwd.hpp:35
Eigen::VectorXi VectorXi
Definition fwd.hpp:24
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
Definition fwd.hpp:22
double Scalar
Definition fwd.hpp:21
Eigen::Ref< Vector > RefVector
Definition fwd.hpp:34
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
Definition fwd.hpp:23
Eigen::Ref< Vector3 > RefVector3
Definition fwd.hpp:31
Eigen::Matrix< bool, Eigen::Dynamic, 1 > VectorXb
Definition fwd.hpp:25
Definition constraint-bound.hpp:25