Mechanical Engineering Mechanical Engineering major 100% Free Open Access
Chapter 4 • Theory & Derivations

Motion Planning and Trajectory Generation

Comprehensive university textbook unit covering fundamental principles, governing relationships, and engineering applications of Motion Planning and Trajectory Generation.

§4.1 Path versus trajectory

**OpenSTEM Mechanical Engineering · Book 12: Robotics and Automation · Unit 4: Motion Planning and Trajectory Generation.** Educational draft. All worked numbers are illustrative unless stated otherwise; do not use the calculations alone to certify a physical robot or protective system.

§4.2 Trapezoidal and triangular velocity profiles

**OpenSTEM Mechanical Engineering · Book 12: Robotics and Automation · Unit 4: Motion Planning and Trajectory Generation.** Educational draft. All worked numbers are illustrative unless stated otherwise; do not use the calculations alone to certify a physical robot or protective system.

§4.3 Jerk-limited motion profiles

**OpenSTEM Mechanical Engineering · Book 12: Robotics and Automation · Unit 4: Motion Planning and Trajectory Generation.** Educational draft. All worked numbers are illustrative unless stated otherwise; do not use the calculations alone to certify a physical robot or protective system.

§4.4 Joint-space and Cartesian interpolation

**OpenSTEM Mechanical Engineering · Book 12: Robotics and Automation · Unit 4: Motion Planning and Trajectory Generation.** Educational draft. All worked numbers are illustrative unless stated otherwise; do not use the calculations alone to certify a physical robot or protective system.

§4.5 Collision checking and replanning

**OpenSTEM Mechanical Engineering · Book 12: Robotics and Automation · Unit 4: Motion Planning and Trajectory Generation.** Educational draft. All worked numbers are illustrative unless stated otherwise; do not use the calculations alone to certify a physical robot or protective system.

THREE WORKED QUESTIONS

Step-by-Step Robotics and Automation Solutions

Three original questions connect calculations, definitions and interpretation. Open each solution to follow the reasoning.

Solved Problem Example 4.1: Calculation & Verification: Path versus trajectory

Problem Statement: An engineering practitioner analyzes a mechanical system governed by **Path versus trajectory** under steady operational loading.

Worked Engineering Derivation:

A 0.60 m path traversed in 1.5 s has average path speed 0.40 m/s, not necessarily constant Cartesian velocity. Reproduce the substitution on paper, carry units through each stage and check the scale with an independent estimate. Precision in displayed decimal places does not demonstrate precise knowledge of link lengths, accelerations, friction coefficients or camera calibration. If inputs are rounded or synthetic, the outputs inherit those limitations; do not label them as measured robot performance. **Dimensional Balance audit.** Perform a units check by substituting SI base units and showing both sides match. For angles, state that trigonometric functions expect radians unless explicitly converted. For probabilities, check output within [0,1], and for lengths or times reject negative values when the model defines only positive quantities. Extend the example by sweeping one independent input through a realistic range. Predict the qualitative trend before computing. Then change another input in a separate run; explain why changing both simultaneously would make causal interpretation weaker. Document any singular, discontinuous or saturating regime instead of hiding it by clipping a plot without explanation.

Solved Problem Example 4.2: Calculation & Verification: Trapezoidal and triangular velocity profiles

Problem Statement: For d=0.20 m, a=1 m/s² and vmax=1 m/s, the triangular profile takes about 0.894 s. Reproduce the substitution on paper, carry units through each stage and check the scale with an independent estimate. Precision in displayed decimal places does not demonstrate precise knowledge of link lengths, accelerations, friction coefficients or camera calibration. If inputs are rounded or synthetic, the outputs inherit those limitations; do not label them as measured robot performance.

Worked Engineering Derivation:

**Boundary Cases audit.** Check a zero-input limit, a typical operating point and a maximum planned input. Where derivatives exist, estimate local sensitivity to a 5% change. If the result changes sharply, prioritize a measurement of the sensitive parameter rather than increasing numerical precision elsewhere. Extend the example by sweeping one independent input through a realistic range. Predict the qualitative trend before computing. Then change another input in a separate run; explain why changing both simultaneously would make causal interpretation weaker. Document any singular, discontinuous or saturating regime instead of hiding it by clipping a plot without explanation.

Solved Problem Example 4.3: Calculation & Verification: Jerk-limited motion profiles

Problem Statement: An engineering practitioner analyzes a mechanical system governed by **Jerk-limited motion profiles** under steady operational loading.

Worked Engineering Derivation:

Changing acceleration from 0 to 2 m/s² over 0.20 s gives mean jerk magnitude 10 m/s³ under a linear ramp. Reproduce the substitution on paper, carry units through each stage and check the scale with an independent estimate. Precision in displayed decimal places does not demonstrate precise knowledge of link lengths, accelerations, friction coefficients or camera calibration. If inputs are rounded or synthetic, the outputs inherit those limitations; do not label them as measured robot performance. **Discretization audit.** Choose a simulation step that resolves the fastest physical phenomenon of interest. Check convergence with a smaller step and confirm that numerical artifacts do not explain apparent stability or contact behavior. Sampling rates must exceed the bandwidth of the phenomena they are claimed to detect. Extend the example by sweeping one independent input through a realistic range. Predict the qualitative trend before computing. Then change another input in a separate run; explain why changing both simultaneously would make causal interpretation weaker. Document any singular, discontinuous or saturating regime instead of hiding it by clipping a plot without explanation.

Solved Problem Example 4.4: Calculation & Verification: Joint-space and Cartesian interpolation

Problem Statement: An engineering practitioner analyzes a mechanical system governed by **Joint-space and Cartesian interpolation** under steady operational loading.

Worked Engineering Derivation:

At s=0.25 between 20° and 60°, a single interpolated joint is 30°; intermediate tool positions depend on all other joints. Reproduce the substitution on paper, carry units through each stage and check the scale with an independent estimate. Precision in displayed decimal places does not demonstrate precise knowledge of link lengths, accelerations, friction coefficients or camera calibration. If inputs are rounded or synthetic, the outputs inherit those limitations; do not label them as measured robot performance. **Uncertainty audit.** Differentiate precision from accuracy: repeated values near one another may share a systematic offset. Use replicated trials and a calibration reference, and consider correlations when combining uncertainties. An error bound must be linked to a defined operating range. Extend the example by sweeping one independent input through a realistic range. Predict the qualitative trend before computing. Then change another input in a separate run; explain why changing both simultaneously would make causal interpretation weaker. Document any singular, discontinuous or saturating regime instead of hiding it by clipping a plot without explanation.

Solved Problem Example 4.5: Calculation & Verification: Collision checking and replanning

Problem Statement: With predicted clearance 15 mm and combined safety margin 7 mm, the remaining modeled clearance is 8 mm, subject to calibration validity. Reproduce the substitution on paper, carry units through each stage and check the scale with an independent estimate. Precision in displayed decimal places does not demonstrate precise knowledge of link lengths, accelerations, friction coefficients or camera calibration. If inputs are rounded or synthetic, the outputs inherit those limitations; do not label them as measured robot performance.

Worked Engineering Derivation:

**Traceable Verification audit.** Record firmware or model version, sensor calibration, test fixture revision and all rejected trials. Set acceptance thresholds before viewing the final traces. If a physical trial cannot be carried out safely, use simulation only and write the missing validation item explicitly. Extend the example by sweeping one independent input through a realistic range. Predict the qualitative trend before computing. Then change another input in a separate run; explain why changing both simultaneously would make causal interpretation weaker. Document any singular, discontinuous or saturating regime instead of hiding it by clipping a plot without explanation.