Practice · Unit 6 Trajectory Planning
Trajectory planning
Pick the polynomial degree, compute linear and cubic coefficients, synchronise joints under a speed limit, analyse q(t), and run straight lines through the workspace. Live plots of q, q̇ and q̈ show where the jerk comes from.
The method formulary · (6.1)–(6.5), (6.17), Q87–101
Degree
- start + end position: n = 1
- + start/end velocity: n = 3
- + start/end acceleration: n = 5
Limits (|q̇| ≤ 50°/s) and the duration T are not conditions. They never raise the degree.
Linear (point to point)
Plug in t = 0 first, then t = T. q̇ = a₁ is constant, q̈ = 0 (Q92, Q93).
Cubic (6.2)–(6.5)
Rest to rest: a₂ = 3Δq/T², a₃ = −2Δq/T³. Forgot it? Write one equation per condition and use Gauss.
Speed limit, synchronous
Synchronous = all joints start and stop together. The slowest joint decides; then redo every joint with that T (Q94, Q95).
Line in the workspace
r(0) = 0 is the start, r(T) = 1 the end. It's a Lerp (Q97 to Q100).
Sample time
Count both ends: T = 1 s with Δt = 100 ms gives 11 states (Q101).
Play with it one joint, at rest before and after
Drill endless, mixed
Angles in degrees, time in seconds. Fractions work in the boxes (10/3, −2/9).