Tetrapod Project
gaits.h File Reference
#include <cmath>
#include <Eigen/Core>
#include "kinematics/kinematics.h"
#include <eigen3/unsupported/Eigen/Polynomials>
Include dependency graph for gaits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Eigen::Vector3d classicGait (double t, Kinematics::LegType leg)
 
double polynomialSpine (double t, double t_tot, double d_tot, double a_max, double v_rob)
 
void CalculatePolynomialTrajectory (double t, double swing_period, double rise_percentage, double distance, double vel_cmd, double &_pos, double &_vel, double &_acc, double &_jerk)
 
void CalculateFourthOrderPolynomialTrajectory (double t, double swing_period, double distance, double &_pos, double &_vel, double _acc)
 

Function Documentation

◆ classicGait()

Eigen::Vector3d classicGait ( double  t,
Kinematics::LegType  leg 
)

Definition at line 27 of file gaits.cpp.

◆ polynomialSpine()

double polynomialSpine ( double  t,
double  t_tot,
double  d_tot,
double  a_max,
double  v_rob 
)

Definition at line 95 of file gaits.cpp.

◆ CalculatePolynomialTrajectory()

void CalculatePolynomialTrajectory ( double  t,
double  swing_period,
double  rise_percentage,
double  distance,
double  vel_cmd,
double &  _pos,
double &  _vel,
double &  _acc,
double &  _jerk 
)

Definition at line 196 of file gaits.cpp.

◆ CalculateFourthOrderPolynomialTrajectory()

void CalculateFourthOrderPolynomialTrajectory ( double  t,
double  swing_period,
double  distance,
double &  _pos,
double &  _vel,
double  _acc 
)

Definition at line 277 of file gaits.cpp.