29 double final_time,
double final_pos,
double final_vel,
double final_acc)
41 if(final_time > initial_time)
58 Eigen::MatrixXd time_mat;
59 Eigen::MatrixXd conditions_mat;
62 time_mat <<
powDI(
initial_time_, 5),
powDI(
initial_time_, 4),
powDI(
initial_time_, 3),
powDI(
initial_time_, 2),
initial_time_, 1.0,
65 powDI(
final_time_, 5),
powDI(
final_time_, 4),
powDI(
final_time_, 3),
powDI(
final_time_, 2),
final_time_, 1.0,
69 conditions_mat.resize(6,1);
128 Eigen::MatrixXd time_mat;
129 Eigen::MatrixXd conditions_mat;
131 time_mat.resize(6,6);
132 time_mat <<
powDI(
initial_time_, 5),
powDI(
initial_time_, 4),
powDI(
initial_time_, 3),
powDI(
initial_time_, 2),
initial_time_, 1.0,
135 powDI(
final_time_, 5),
powDI(
final_time_, 4),
powDI(
final_time_, 3),
powDI(
final_time_, 2),
final_time_, 1.0,
139 conditions_mat.resize(6,1);
169 double final_time,
double final_pos,
double final_vel,
double final_acc)
171 if(final_time < initial_time)
Eigen::MatrixXd acceleration_coeff_
FifthOrderPolynomialTrajectory()
Eigen::MatrixXd position_coeff_
Eigen::MatrixXd velocity_coeff_
~FifthOrderPolynomialTrajectory()
void setTime(double time)
Eigen::MatrixXd time_variables_
double powDI(double a, int b)
bool changeTrajectory(double final_pos, double final_vel, double final_acc)