Skip to content

Commit

Permalink
simplify equations
Browse files Browse the repository at this point in the history
  • Loading branch information
pantor committed Jan 8, 2021
1 parent 245f920 commit 18247f7
Show file tree
Hide file tree
Showing 4 changed files with 690 additions and 351 deletions.
3 changes: 3 additions & 0 deletions include/ruckig/ruckig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ class Step2 {
double p0, v0, a0;
double pf, vf, af;

// Pre-calculated expressions
double pd;

bool time_up_acc0_acc1_vel(Profile& profile, double vMax, double aMax, double jMax);
bool time_up_acc1_vel(Profile& profile, double vMax, double aMax, double jMax);
bool time_up_acc0_vel(Profile& profile, double vMax, double aMax, double jMax);
Expand Down
Loading

0 comments on commit 18247f7

Please sign in to comment.