Commit 39d6f92
Luca Toniolo
motion/control: guard jerk decomposition for identity kinematics only
The S-curve jerk decomposition assumed joint[0,1,2] = X,Y,Z, which is
only true for identity kinematics. For KINEMATICS_BOTH (e.g. XXYYYZ or
rotatekins) joint indices don't map to axis letters, making the
decomposition incorrect. Guard with KINEMATICS_IDENTITY check so
non-trivial kinematics fall back to cubic interpolator jerk values.1 parent 69b1f80 commit 39d6f92
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | | - | |
1402 | | - | |
1403 | | - | |
1404 | | - | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
1405 | 1404 | | |
1406 | | - | |
1407 | | - | |
| 1405 | + | |
| 1406 | + | |
1408 | 1407 | | |
1409 | 1408 | | |
1410 | | - | |
1411 | | - | |
1412 | 1409 | | |
1413 | 1410 | | |
1414 | 1411 | | |
1415 | | - | |
1416 | 1412 | | |
1417 | 1413 | | |
1418 | 1414 | | |
| |||
0 commit comments