|
|
@ -1256,6 +1256,7 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
|
|
|
|
v_exit *= v_factor;
|
|
|
|
v_exit *= v_factor;
|
|
|
|
v_entry *= v_factor;
|
|
|
|
v_entry *= v_factor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Calculate jerk depending on whether the axis is coasting in the same direction or reversing.
|
|
|
|
// Calculate jerk depending on whether the axis is coasting in the same direction or reversing.
|
|
|
|
const float jerk = (v_exit > v_entry)
|
|
|
|
const float jerk = (v_exit > v_entry)
|
|
|
|
? // coasting axis reversal
|
|
|
|
? // coasting axis reversal
|
|
|
|