hpp-bezier-com-traj 6.0.0
Multi contact trajectory generation for the COM using Bezier curves
Loading...
Searching...
No Matches
definitions.hh
Go to the documentation of this file.
1/*
2 * Copyright 2018, LAAS-CNRS
3 * Author: Steve Tonneau
4 */
5
6#ifndef BEZIER_COM_TRAJ_DEFINITIONS_H
7#define BEZIER_COM_TRAJ_DEFINITIONS_H
8
9#include <ndcurves/bezier_curve.h>
10
11#include <Eigen/Dense>
12#include <hpp/centroidal-dynamics/centroidal_dynamics.hh>
13
14namespace bezier_com_traj {
15
16typedef double value_type;
17typedef Eigen::Matrix<value_type, 3, 3> Matrix3;
18typedef Eigen::Matrix<value_type, 6, 3> Matrix63;
19typedef Eigen::Matrix<value_type, 3, 9> Matrix39;
20typedef Eigen::Matrix<value_type, Eigen::Dynamic, 3> MatrixX3;
21typedef Eigen::Matrix<value_type, Eigen::Dynamic, Eigen::Dynamic> MatrixXX;
22typedef centroidal_dynamics::Vector3 Vector3;
23typedef centroidal_dynamics::Vector6 Vector6;
24typedef centroidal_dynamics::VectorX VectorX;
25
26typedef Eigen::Ref<Vector3> Ref_vector3;
27typedef Eigen::Ref<VectorX> Ref_vectorX;
28typedef Eigen::Ref<MatrixX3> Ref_matrixX3;
29typedef Eigen::Ref<MatrixXX> Ref_matrixXX;
30
31typedef const Eigen::Ref<const Vector3>& Cref_vector3;
32typedef const Eigen::Ref<const Vector6>& Cref_vector6;
33typedef const Eigen::Ref<const VectorX>& Cref_vectorX;
34typedef const Eigen::Ref<const MatrixXX>& Cref_matrixXX;
35typedef const Eigen::Ref<const MatrixX3>& Cref_matrixX3;
36
41
42typedef Eigen::Vector3d point_t;
43typedef const Eigen::Ref<const point_t>& point_t_tC;
44
50typedef std::pair<matrix6_t, point6_t> waypoint6_t;
51typedef std::pair<matrix3_t, point3_t> waypoint3_t;
52typedef std::pair<Matrix39, point3_t> waypoint9_t;
53struct waypoint_t; // forward declaration
54
55typedef ndcurves::bezier_curve<double, double, true, point_t> bezier_t;
56typedef ndcurves::bezier_curve<double, double, true, waypoint_t> bezier_wp_t;
57typedef ndcurves::bezier_curve<double, double, true, point6_t> bezier6_t;
58
59typedef std::vector<std::pair<double, int> > T_time;
60typedef T_time::const_iterator CIT_time;
61
62typedef std::pair<double, point3_t> coefs_t;
63
64} // end namespace bezier_com_traj
65
66#endif
Definition common_solve_methods.hh:15
const Eigen::Ref< const Vector3 > & Cref_vector3
Definition definitions.hh:31
centroidal_dynamics::VectorX VectorX
Definition definitions.hh:24
double value_type
Definition definitions.hh:16
Eigen::Matrix< value_type, 3, 3 > Matrix3
Definition definitions.hh:17
T_time::const_iterator CIT_time
Definition definitions.hh:60
centroidal_dynamics::Vector3 Vector3
Definition definitions.hh:22
const Eigen::Ref< const VectorX > & Cref_vectorX
Definition definitions.hh:33
Vector3 point3_t
Definition definitions.hh:40
centroidal_dynamics::Vector6 Vector6
Definition definitions.hh:23
const Eigen::Ref< const MatrixX3 > & Cref_matrixX3
Definition definitions.hh:35
std::pair< Matrix39, point3_t > waypoint9_t
Definition definitions.hh:52
const Eigen::Ref< const point_t > & point_t_tC
Definition definitions.hh:43
std::vector< std::pair< double, int > > T_time
Definition definitions.hh:59
std::pair< matrix3_t, point3_t > waypoint3_t
Definition definitions.hh:51
Eigen::Matrix< value_type, Eigen::Dynamic, 3 > MatrixX3
Definition definitions.hh:20
Eigen::Ref< Vector3 > Ref_vector3
Definition definitions.hh:26
std::pair< double, point3_t > coefs_t
Definition definitions.hh:62
Matrix3 matrix3_t
Definition definitions.hh:39
Eigen::Ref< VectorX > Ref_vectorX
Definition definitions.hh:27
ndcurves::bezier_curve< double, double, true, point6_t > bezier6_t
Definition definitions.hh:57
const Eigen::Ref< const Vector6 > & Cref_vector6
Definition definitions.hh:32
Eigen::Matrix< value_type, 6, 3 > Matrix63
Definition definitions.hh:18
Eigen::Matrix< value_type, 3, 9 > Matrix39
Definition definitions.hh:19
Eigen::Vector3d point_t
Definition definitions.hh:42
ndcurves::bezier_curve< double, double, true, point_t > bezier_t
Definition definitions.hh:55
const Eigen::Ref< const MatrixXX > & Cref_matrixXX
Definition definitions.hh:34
Eigen::Ref< MatrixXX > Ref_matrixXX
Definition definitions.hh:29
Vector6 point6_t
Definition definitions.hh:38
Eigen::Ref< MatrixX3 > Ref_matrixX3
Definition definitions.hh:28
ndcurves::bezier_curve< double, double, true, waypoint_t > bezier_wp_t
Definition definitions.hh:56
Eigen::Matrix< value_type, Eigen::Dynamic, Eigen::Dynamic > MatrixXX
Definition definitions.hh:21
std::pair< matrix6_t, point6_t > waypoint6_t
waypoint_t a waypoint is composed of a 6*3 matrix that depend on the variable x, and of a 6d vector i...
Definition definitions.hh:50
Matrix63 matrix6_t
Definition definitions.hh:37
Definition utils.hh:25