#include <sot/torque_control/utils/trajectory-generators.hh>
Public Member Functions | |
AbstractTrajectoryGenerator (double dt, double traj_time, const Eigen::VectorXd &x_init, const Eigen::VectorXd &x_final) | |
AbstractTrajectoryGenerator (double dt, double traj_time, Eigen::VectorXd::Index size) | |
virtual const Eigen::VectorXd & | compute_next_point ()=0 |
virtual const Eigen::VectorXd & | get_final_point () |
virtual const Eigen::VectorXd & | get_initial_point () |
virtual const Eigen::VectorXd & | getAcc () |
virtual const Eigen::VectorXd & | getPos () |
virtual const Eigen::VectorXd & | getVel () |
virtual bool | isTrajectoryEnded () |
virtual bool | set_final_point (const double &x_final) |
virtual bool | set_final_point (const Eigen::VectorXd &x_final) |
virtual bool | set_initial_point (const double &x_init) |
virtual bool | set_initial_point (const Eigen::VectorXd &x_init) |
virtual bool | set_trajectory_time (double traj_time) |
Protected Member Functions | |
virtual void | resizeAllData (Eigen::VectorXd::Index size) |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const char *file="", int line=0) |
Protected Attributes | |
Eigen::VectorXd | m_ddx |
current velocity More... | |
double | m_dt |
time to go from x_init to x_final (sec) More... | |
Eigen::VectorXd | m_dx |
current position More... | |
Eigen::VectorXd::Index | m_size |
current time More... | |
double | m_t |
control dt (sampling period of the trajectory) More... | |
double | m_traj_time |
final position More... | |
Eigen::VectorXd | m_x |
Eigen::VectorXd | m_x_final |
initial position More... | |
Eigen::VectorXd | m_x_init |
current acceleration More... | |
Definition at line 85 of file trajectory-generators.hh.
|
inline |
Definition at line 112 of file trajectory-generators.hh.
|
inline |
Definition at line 119 of file trajectory-generators.hh.
|
pure virtual |
|
inlinevirtual |
Definition at line 171 of file trajectory-generators.hh.
|
inlinevirtual |
Definition at line 170 of file trajectory-generators.hh.
|
inlinevirtual |
Definition at line 169 of file trajectory-generators.hh.
|
inlinevirtual |
Definition at line 167 of file trajectory-generators.hh.
|
inlinevirtual |
Definition at line 168 of file trajectory-generators.hh.
|
inlinevirtual |
Reimplemented in ConstantAccelerationTrajectoryGenerator, TriangleTrajectoryGenerator, SinusoidTrajectoryGenerator, and NoTrajectoryGenerator.
Definition at line 173 of file trajectory-generators.hh.
|
inlineprotectedvirtual |
Definition at line 98 of file trajectory-generators.hh.
|
inlineprotected |
Definition at line 107 of file trajectory-generators.hh.
|
inlinevirtual |
Definition at line 153 of file trajectory-generators.hh.
|
inlinevirtual |
Definition at line 147 of file trajectory-generators.hh.
|
inlinevirtual |
Definition at line 138 of file trajectory-generators.hh.
|
inlinevirtual |
Definition at line 129 of file trajectory-generators.hh.
|
inlinevirtual |
Reimplemented in ConstantAccelerationTrajectoryGenerator.
Definition at line 159 of file trajectory-generators.hh.
|
protected |
current velocity
Definition at line 89 of file trajectory-generators.hh.
|
protected |
time to go from x_init to x_final (sec)
Definition at line 94 of file trajectory-generators.hh.
|
protected |
current position
Definition at line 88 of file trajectory-generators.hh.
|
protected |
current time
Definition at line 96 of file trajectory-generators.hh.
|
protected |
control dt (sampling period of the trajectory)
Definition at line 95 of file trajectory-generators.hh.
|
protected |
final position
Definition at line 93 of file trajectory-generators.hh.
|
protected |
Definition at line 87 of file trajectory-generators.hh.
|
protected |
initial position
Definition at line 91 of file trajectory-generators.hh.
|
protected |
current acceleration
Definition at line 90 of file trajectory-generators.hh.