Rare planner bug fix and added simulator defaults.
- Planner bug when moving along a diagonal back and forth on the same path. Rare for the fact that most CAM programs don’t program this type of motion, neither does jogging. Fixed in this update. - Added grbl_sim defaults for testing purposes.
This commit is contained in:
parent
bf37ab7e7b
commit
a358c6de0b
4 changed files with 41 additions and 1 deletions
|
|
@ -388,6 +388,7 @@ uint8_t plan_check_full_buffer()
|
|||
change the overall maximum entry speed conditions of all blocks.
|
||||
*/
|
||||
// NOTE: Computed without any expensive trig, sin() or acos(), by trig half angle identity of cos(theta).
|
||||
junction_cos_theta = min(junction_cos_theta, 1.0); // Check for numerical round-off.
|
||||
float sin_theta_d2 = sqrt(0.5*(1.0-junction_cos_theta)); // Trig half angle identity. Always positive.
|
||||
|
||||
// TODO: Technically, the acceleration used in calculation needs to be limited by the minimum of the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue