-
Notifications
You must be signed in to change notification settings - Fork 226
Open
Description
Hello,
When a0 = af = 0, the formula for calculating 't2' is incorrect
const double jf = h2 / h1;
profile.t[0] = aMax / jf;
//profile.t[1] = (-2 * aMax * h1 + aMin * aMin * g2) / h2;
profile.t[1] = (-2 * aMax * h1 + aMin * aMin * g2 + aMax * aMax * (aMin * tf * tf - 2 * vf * tf + 2 * pd)) / h2;
profile.t[2] = profile.t[0];
profile.t[3] = 0;
profile.t[4] = -aMin / jf;
profile.t[5] = tf - (2 * profile.t[0] + profile.t[1] + 2 * profile.t[4]);
profile.t[6] = profile.t[4];
And I can't understand why comment code 'Profile UDDU, Solution 1'. Does this mean when (a0 != 0 || af != 0), the true profile is UDUD ?
Metadata
Metadata
Assignees
Labels
No labels