humoto
|
Class implementing simple example foot trajectory between two 3D points.
trajectory along z is composed of two separate trajectories.
Definition at line 21 of file foot_trajectory.h.
#include <foot_trajectory.h>
Public Member Functions | |
Simple3DFootTrajectory () | |
Constructor. More... | |
etools::Vector3 | eval (const double t, const rigidbody::TrajectoryEvaluationType::Type trajectory_type) const |
Evaluate the trajectory. More... | |
void | eval (humoto::rigidbody::RigidBodyState &foot_state, const double t) const |
Evaluate the trajectory. More... | |
double | evalx (const double t, const rigidbody::TrajectoryEvaluationType::Type trajectory_type) const |
Evaluate the foot trajectory along x/y/z coordinate. More... | |
double | evaly (const double t, const rigidbody::TrajectoryEvaluationType::Type trajectory_type) const |
Evaluate the foot trajectory along x/y/z coordinate. More... | |
double | evalz (const double t, const rigidbody::TrajectoryEvaluationType::Type trajectory_type) const |
Evaluate the foot trajectory along x/y/z coordinate. More... | |
void | initialize (const etools::Vector3 &a, const etools::Vector3 &b, const double step_height) |
Constructor. Velocities set to zero at both ends of the trajectory. More... | |
void | initialize (const etools::Vector3 &a, const etools::Vector3 &adot, const etools::Vector3 &b, const etools::Vector3 &bdot, const double step_height) |
Constructor. Velocities set to non-zero at both ends of the trajectory. More... | |
void | initialize (const humoto::rigidbody::PointMassState &a, const humoto::rigidbody::PointMassState &b, const double step_height) |
Constructor. Velocities set to non-zero at both ends of the trajectory. More... | |
Private Attributes | |
humoto::rigidbody::CubicPolynomial1D | x_ |
humoto::rigidbody::CubicPolynomial1D | y_ |
humoto::rigidbody::CubicPolynomial1D | z1_ |
humoto::rigidbody::CubicPolynomial1D | z2_ |
|
inline |
Constructor.
Definition at line 27 of file foot_trajectory.h.
|
inline |
Evaluate the trajectory.
[in] | t | time instant |
[in] | trajectory_type | type of trajectory |
Definition at line 143 of file foot_trajectory.h.
|
inline |
Evaluate the trajectory.
[in,out] | foot_state | state of the foot at the given time instant |
[in] | t | time instant |
Definition at line 162 of file foot_trajectory.h.
|
inline |
Evaluate the foot trajectory along x/y/z coordinate.
[in] | t | time instant |
[in] | trajectory_type | type of trajectory |
Definition at line 101 of file foot_trajectory.h.
|
inline |
Evaluate the foot trajectory along x/y/z coordinate.
[in] | t | time instant |
[in] | trajectory_type | type of trajectory |
Definition at line 111 of file foot_trajectory.h.
|
inline |
Evaluate the foot trajectory along x/y/z coordinate.
[in] | t | time instant |
[in] | trajectory_type | type of trajectory |
Definition at line 121 of file foot_trajectory.h.
|
inline |
Constructor. Velocities set to zero at both ends of the trajectory.
[in] | a | initial 3D configuration [x, y, z] |
[in] | b | final 3D configuration [x, y, z] |
[in] | step_height | height of the step |
Definition at line 40 of file foot_trajectory.h.
|
inline |
Constructor. Velocities set to non-zero at both ends of the trajectory.
[in] | a | initial positions [x, y, z] |
[in] | adot | initial velocities [xdot, ydot, zdot] |
[in] | b | final positions [x, y, z] |
[in] | bdot | final velocities [xdot, ydot, zdot] |
[in] | step_height | height of the step |
Definition at line 62 of file foot_trajectory.h.
|
inline |
Constructor. Velocities set to non-zero at both ends of the trajectory.
[in] | a | initial point mass state |
[in] | b | final point mass state |
[in] | step_height | height of the step |
Definition at line 82 of file foot_trajectory.h.
|
private |
Definition at line 172 of file foot_trajectory.h.
|
private |
Definition at line 173 of file foot_trajectory.h.
|
private |
Definition at line 174 of file foot_trajectory.h.
|
private |
Definition at line 175 of file foot_trajectory.h.