Skip to main content

Assessment Package: Module 06 - Motion Planning

Assessment Overview​

ComponentWeightFormatDuration
Theory Quiz15%Multiple choice + algorithm analysis40 minutes
Lab Exercises35%Python implementations3 labs
Simulation Project35%Complete planner + analysis1 week
Ethics Discussion15%Written reflection500 words
Total100%

Theory Quiz​

Time Limit: 40 minutes Passing Score: 70% Attempts: 2

Section A: Multiple Choice (40 points)​

Q1. RRT is classified as which type of motion planning algorithm?

  • a) Graph search
  • b) Potential field
  • c) Sampling-based
  • d) Optimization-based

Q2. For A* to guarantee optimal paths, the heuristic must be:

  • a) Consistent
  • b) Admissible
  • c) Both admissible and consistent
  • d) Neither (A* is always optimal)

Q3. The configuration space (C-space) of a robot arm with n revolute joints has dimension:

  • a) 3 (x, y, z position)
  • b) n (one per joint)
  • c) 6 (position and orientation)
  • d) 2n (position and velocity per joint)

Q4. In RRT, the "nearest" operation finds the tree node that:

  • a) Has the lowest cost-to-come
  • b) Is closest to the randomly sampled configuration
  • c) Is closest to the goal
  • d) Has the fewest children

Q5. Which heuristic is admissible for an 8-connected grid with diagonal movement cost √2?

  • a) Manhattan distance
  • b) Euclidean distance
  • c) Chebyshev distance
  • d) All of the above

Q6. Probabilistic completeness means an algorithm:

  • a) Always finds a path if one exists
  • b) Finds a path with probability approaching 1 as time increases
  • c) Returns optimal paths with high probability
  • d) Has bounded runtime

Q7. The primary advantage of RRT* over RRT is:

  • a) Faster exploration
  • b) Asymptotic optimality
  • c) Simpler implementation
  • d) Lower memory usage

Q8. In trajectory optimization, "direct collocation" refers to:

  • a) Detecting collisions along the trajectory
  • b) Discretizing the trajectory and optimizing all points
  • c) Directly computing the optimal solution analytically
  • d) Collecting data to train a neural network

Q9. A robot with 6-DOF moving among 10 spherical obstacles has a C-space that is:

  • a) 6-dimensional with spherical obstacles
  • b) 6-dimensional with complex-shaped C-obstacles
  • c) 16-dimensional
  • d) Impossible to compute

Q10. Goal bias in RRT helps to:

  • a) Improve path quality
  • b) Speed up goal discovery
  • c) Reduce memory usage
  • d) Guarantee completeness

Section B: Algorithm Analysis (60 points)​

Q11. (20 points) Consider A* on a graph with the following structure:

Start(S) ---2--- A ---3--- Goal(G)
| |
4 1
| |
B ----2---- C

With h(S)=4, h(A)=2, h(B)=3, h(C)=1, h(G)=0:

a) Is this heuristic admissible? Justify your answer. b) List the order in which nodes are expanded by A*. c) What is the optimal path and its cost?

Q12. (20 points) An RRT planner has the following parameters:

  • Step size Ξ΄ = 0.5 rad
  • Goal bias = 0.1
  • Workspace: 2-DOF arm with joint limits [-Ο€, Ο€]

a) If the random sample is q_rand = (1.5, 2.0) and the nearest tree node is q_near = (1.0, 1.5), what is q_new? b) Approximately what fraction of samples will be the goal configuration? c) If after 1000 iterations the tree has 800 nodes, what is the average collision rate?

Q13. (20 points) A trajectory optimizer minimizes:

J=T+0.01∫0T∣∣q¨∣∣2dtJ = T + 0.01 \int_0^T ||\ddot{q}||^2 dt

subject to dynamics and boundary conditions.

a) What does minimizing T encourage? b) What does the integral term encourage? c) If we increase the coefficient from 0.01 to 1.0, how would the optimal trajectory change?


Lab Exercises​

Lab 06-01: RRT Path Planning (30% of lab grade)​

Grading Rubric:

CriterionExcellent (90-100%)Proficient (70-89%)Developing (50-69%)Beginning (Below 50%)
Collision CheckCorrect detection with proper resolutionMinor edge cases missedIncomplete checkingNon-functional
RRT ImplementationProper sampling, steering, tree growthMinor issues with one componentPartial implementationNon-functional
Path FindingReliably finds paths in test scenariosOccasional failuresInconsistent resultsCannot find paths
VisualizationClear C-space and workspace viewsFunctional visualizationBasic plotsNo visualization
Path SmoothingEffective shortcutting maintains validityWorking but suboptimalPartial smoothingNo smoothing

Lab 06-02: A* Path Planning (35% of lab grade)​

Grading Rubric:

CriterionExcellent (90-100%)Proficient (70-89%)Developing (50-69%)Beginning ( Below 50%)
Grid EnvironmentProper obstacle representation and neighborsMinor issuesIncompleteNon-functional
HeuristicsMultiple correct admissible heuristicsSome heuristics incorrectSingle heuristic onlyNo heuristics
A* ImplementationOptimal paths with efficient data structuresWorking but inefficientSuboptimal pathsNon-functional
ComparisonFair comparison with clear conclusionsBasic comparisonLimited analysisNo comparison
C-Space ExtensionWorking configuration space plannerPartial extensionIncompleteNot attempted

Lab 06-03: Trajectory Optimization (35% of lab grade)​

Grading Rubric:

CriterionExcellent (90-100%)Proficient (70-89%)Developing (50-69%)Beginning ( Below 50%)
Problem FormulationCorrect variables, cost, constraintsMinor formulation errorsIncomplete formulationIncorrect formulation
Dynamics ConstraintsProper collocation with tight residualsWorking with loose tolerancesPartially workingNon-functional
OptimizationConverges to valid trajectoryConverges occasionallyRarely convergesDoes not converge
VisualizationComprehensive multi-panel plotsBasic visualizationIncompleteNo visualization
AnalysisInsightful discussion of trade-offsBasic analysisIncompleteMissing

Simulation Project​

Project: Multi-Robot Path Planning​

Objective: Plan collision-free paths for 3 mobile robots navigating a shared warehouse environment.

Duration: 1 week Deliverables: Code repository + 4-page technical report

Requirements​

  1. Environment Setup (15%)

    • Create 2D warehouse map with aisles and obstacles
    • Define start and goal positions for 3 robots
    • Implement collision checking for robot footprints
  2. Single-Robot Planning (25%)

    • Implement either RRT or A* for individual path planning
    • Handle robot geometry (circular footprint, not point)
    • Achieve sub-second planning times
  3. Multi-Robot Coordination (35%)

    • Implement one of: priority-based planning, velocity obstacles, or CBS
    • Ensure robots don't collide with each other
    • Handle cases where robots need to wait or yield
  4. Analysis and Evaluation (25%)

    • Measure: planning time, path length, makespan
    • Test on 5 different scenarios
    • Compare single-robot vs. coordinated planning
    • Discuss scalability to more robots

Grading Rubric​

CriterionPointsDescription
Environment15Correct map representation and collision checking
Single-Robot25Working planner meeting timing requirements
Coordination35Correct multi-robot collision avoidance
Analysis15Thorough evaluation on multiple scenarios
Report10Clear writing, proper figures
Total100

Test Scenarios​

  1. Simple: 3 robots, well-separated start/goals, few obstacles
  2. Crossing: Robots must cross paths to reach goals
  3. Narrow: Single-width corridors requiring sequencing
  4. Congested: Multiple robots in tight space
  5. Custom: Student-designed challenging scenario

Ethics Discussion​

Prompt​

In a 500-word reflection, address the following scenario:

A city is considering allowing autonomous delivery robots on public sidewalks. The robots would use motion planning algorithms to navigate around pedestrians, maintaining minimum clearance distances derived from collision safety studies.

Critics argue that even collision-free robot navigation changes the character of public sidewalks. They point out that:

  • Pedestrians must constantly monitor for and yield to robots
  • Robots move faster than pedestrians, creating "pressure" from behind
  • The presence of many robots changes the sidewalk from a social space to a logistics corridor

The company argues their robots are safer than the alternatives (delivery trucks, cyclists) and provide valuable service to residents.

Address the following:

  • Is collision-free motion planning sufficient for ethical sidewalk navigation? What else should planners optimize for?
  • How should the burden of collision avoidance be distributed between robots and pedestrians?
  • What constraints or requirements would you impose on robot motion planning in public spaces?
  • Who should make these decisionsβ€”companies, cities, engineers, or the public?

Rubric​

CriterionExcellent (90-100%)Proficient (70-89%)Developing (50-69%)Beginning (Below 50%)
Beyond SafetyRecognizes need for social appropriatenessAcknowledges some non-safety concernsFocuses mostly on collision avoidanceOnly considers safety
Burden DistributionThoughtful analysis of yielding responsibilityBasic considerationOversimplifiedIgnores the question
Concrete ProposalsSpecific, implementable constraintsGeneral recommendationsVague suggestionsNo proposals
GovernanceConsiders multiple stakeholdersAcknowledges decision complexitySingle-stakeholder viewIgnores governance
Writing QualityClear, well-organizedClear with minor issuesSome clarity problemsUnclear

Answer Key (Instructor Access Only)​

Quiz Answers​

Section A:

  1. c) Sampling-based
  2. b) Admissible (consistency ensures no reopening but admissibility suffices for optimality)
  3. b) n (one per joint)
  4. b) Is closest to the randomly sampled configuration
  5. b) Euclidean distance (Manhattan overestimates for diagonal movement)
  6. b) Finds a path with probability approaching 1 as time increases
  7. b) Asymptotic optimality
  8. b) Discretizing the trajectory and optimizing all points
  9. b) 6-dimensional with complex-shaped C-obstacles
  10. b) Speed up goal discovery

Section B:

Q11: a) Admissibility check: h must not overestimate true cost.

  • True cost Sβ†’G: min(S-A-G=5, S-B-C-A-G=7) = 5
  • h(S)=4 ≀ 5 βœ“
  • True cost Aβ†’G: 3, h(A)=2 ≀ 3 βœ“
  • True cost Bβ†’G: B-C-A-G=6, h(B)=3 ≀ 6 βœ“
  • True cost Cβ†’G: C-A-G=4, h(C)=1 ≀ 4 βœ“
  • Yes, admissible

b) Expansion order:

  • Start: f(S)=0+4=4
  • Expand S: f(A)=2+2=4, f(B)=4+3=7
  • Expand A: f(G)=5+0=5
  • Expand G (goal reached)
  • Order: S, A, G

c) Optimal path: S β†’ A β†’ G, cost = 5

Q12: a) Direction: (1.5-1.0, 2.0-1.5) = (0.5, 0.5), normalized: (0.707, 0.707) q_new = (1.0, 1.5) + 0.5 Γ— (0.707, 0.707) = (1.354, 1.854)

b) Goal bias = 0.1 means 10% of samples will be the goal.

c) 200 samples rejected out of 1000 β†’ collision rate β‰ˆ 20%

Q13: a) Minimizing T encourages faster motions (minimum time trajectory)

b) The integral term encourages smooth acceleration (jerk minimization equivalent)

c) With higher coefficient: slower, smoother trajectory - less aggressive acceleration/deceleration, longer total time


Export Formats​

This assessment package is available in:

  • Markdown (this document)
  • Canvas LMS import package
  • PDF with answer key (instructor version)
  • Gradescope autograder configuration (for lab submissions)