MSc Robotics Dissertation · PDE4445 · 2025–2026
Natural Language Task Planning for Autonomous Robot Navigation via Large Language Models
Research Question
How reliably can a prompt-engineered Large Language Model translate natural language commands into structured ROS2 Nav2 waypoint sequences across five levels of command complexity?
Goal
A mobile robot that a non-technical operator can command in typed plain English — “patrol the storage aisles, then check the loading dock” — with the LLM translating intent into structured Nav2 navigation plans. Grounded in a warehouse patrol & inspection use case, evaluated in simulation.
Objectives
- Prompt architecture — design a system prompt that maps free-form natural language onto a structured JSON waypoint schema, using a labelled map injected into context (no fine-tuning or model training)
- Simulation pipeline — ROS2 Humble + Gazebo Classic 11 warehouse world, a scripted occupancy map and ground-truth localisation, with Nav2 executing saved plans
- Five-level evaluation framework — measure translation reliability from direct to ambiguous commands using parse validity, schema adherence, map validity and semantic correctness; record planner-call latency separately
- Validated results — a quantified answer to the research question, written up as an ~8-page research article
Declared out of scope: manipulation (gripping/lifting), multi-robot coordination and voice input. Commands are typed.
Planned timeline and recorded progress
Status at 22 September 2026. The upper section preserves selected dates from the 2 July plan; the lower section shows dated evidence. Actual milestone dates use Dubai local time; the replay archive is timestamped 11 September in UTC. Actual events are milestones because the records establish dates, not how long each activity took.
gantt
title Plan versus recorded progress — 2026
accTitle: Dissertation plan and actual milestones
accDescr: Two sections compare the original July plan with recorded work through 22 September. The following table gives dates and explains changes. Future submission and presentation dates are plans only.
dateFormat YYYY-MM-DD
axisFormat %d %b
todayMarker off
section Planned on 2 July
ROS2 and Gazebo world :p_world, 2026-07-07, 2026-07-18
SLAM and labelled map :p_map, 2026-07-14, 2026-07-24
Prompt architecture v1 :p_prompt, 2026-07-20, 2026-08-01
LLM to Nav2 (L1–2) :p_pipeline, 2026-07-27, 2026-08-12
Levels 3–5 and edge cases :p_levels, 2026-08-10, 2026-08-28
Evaluation harness :p_harness, 2026-08-17, 2026-09-04
Development freeze :milestone, p_freeze, 2026-09-05, 0d
Systematic trials :p_trials, 2026-09-01, 2026-09-16
Research article :p_article, 2026-09-07, 2026-09-24
Final demo video :p_video, 2026-09-14, 2026-09-23
Report due :milestone, p_report, 2026-09-25, 0d
Presentation preparation :p_presentation, 2026-09-28, 2026-10-09
section Recorded actual events
v1 and v2 model evaluation :milestone, done, a_v12, 2026-08-01, 0d
v3 conditional evaluation :milestone, done, a_v3, 2026-08-07, 0d
Three selected replays :milestone, done, a_replays, 2026-09-12, 0d
Runtime fixes — 62 tests :milestone, done, a_runtime, 2026-09-12, 0d
Blocked fallback trial :milestone, done, a_fallback, 2026-09-14, 0d
Pose fix — 73 tests :milestone, done, a_pose, 2026-09-20, 0d
Post-fix Gazebo reruns :milestone, done, a_rerun, 2026-09-22, 0d
Blog drafts under review :milestone, active, a_blog, 2026-09-21, 0d
The September freeze slipped: execution fixes continued after the original cut-off. Model evaluation happened in August; September simulation replays were separate checks. The implemented study uses one cloud planner, saved JSON plans and ground-truth localisation, rather than a local-versus-cloud comparison or SLAM.
| Work or milestone | Original plan | Recorded progress / current status |
|---|---|---|
| Warehouse and localisation | World: 7–18 July; SLAM map: 14–24 July | Selected warehouse replays recorded 12 September. The implementation uses a scripted occupancy map and ground-truth localisation; no SLAM result is claimed. |
| Prompt and navigation pipeline | Prompt: 20 July–1 August; L1–2 pipeline: 27 July–12 August; L3–5: 10–28 August | v1 and v2 model runs dated 1 August; v3 conditional outputs dated 7 August. These are translation evaluations, not robot journeys. |
| Evaluation and simulation | Harness: 17 August–4 September; systematic trials: 1–16 September | Language runs: 300 records each for v1/v2 and 60 for v3. Three selected Gazebo replays on 12 September reached 1/1, 3/3 and 5/5 goals. This was not a complete simulation trial of all commands. |
| Development freeze | 5 September | Missed. Runtime corrections on 12 September passed 62 tests. A position-reading fix on 20 September passed 73 tests. Gazebo reruns on 22 September, built with that fix, still ended with the blocked fallback failing (0/1 goals reached). |
| Conditional fallback | Within the planned 1–16 September trial period | 14 September: clear control reached A. In the valid blocked run, the branch activated and B was attempted, but B was not reached. |
| Report | Writing: 7–24 September; submission: 25 September | Draft available for final review. Submission remains pending. |
| Blog and final video | Video: 14–23 September | 21 September: blog drafts under review, not published. The narrated final video remains in preparation. |
| Presentation | Preparation and delivery: 28 September–9 October | Planned window only; the exact presentation appointment is not confirmed here. |
Week-by-week work log
Dated from commit history, result-file timestamps and recorded clips in the code repository and this blog’s repository. Weeks with no dated record are left out rather than filled in.
| Week | Recorded work |
|---|---|
| 29 Jun – 5 Jul | 2 Jul: blog launched with introduction and plan; core pipeline committed (prompt v1, waypoint schema, semantic map, 100-command dataset, evaluation harness). 3 Jul: ROS2 + Gazebo environment in WSL2 and the CycloneDDS fix. 4 Jul: first v1 and v2 evaluation runs. |
| 13 – 19 Jul | 13 Jul: prompt v2 and v1/v2 results; Nav2 executor package and pipeline bridge. 14 Jul: first live simulation run executing a multi-waypoint plan end to end; recorded trajectory plot. |
| 27 Jul – 2 Aug | 1 Aug: literature review and environment posts published; full three-trial v1 and v2 runs. 2 Aug: human grading of Levels 4–5 and result figures. |
| 3 – 9 Aug | 7 Aug: schema/prompt v3 run to test the Level-4 dip; results post published; report outline, verified bibliography and first section drafts; L4-19 regrade. 8 Aug: demo harness failure modes documented; blind grading sheet for the v3 re-run. |
| 24 – 30 Aug | 25 Aug: report moved into IEEE two-column LaTeX; first full compile. |
| 7 – 13 Sep | 10 Sep: results added to the code README. 12 Sep: navigation runtime fixes (62 tests passing) and three selected Gazebo replays. |
| 14 – 20 Sep | 14 Sep: blocked-fallback Gazebo trial. 20 Sep: position-reading fix (73 tests passing). |
| 21 – 27 Sep | 21 Sep: correction notes and blog drafts. 22 Sep: new simulation clips (5/5 patrol, two refusals, post-fix fallback reruns). 23 Sep: evidence library and updated timeline published. 24 Sep: report submitted. |
| 28 Sep – 4 Oct | 29 Sep: final presentation to the cohort, supervisor and second marker. |
| 12 – 18 Oct | 17 Oct: narrated final demonstration video published. |
Project Journey
- Final Project Demonstration October update | Final video
- The Dip at Level 4: The Reliability Curve Isn't a Curve Week 7 · Evaluation
- Added to blog Dev Environment Up: ROS2 + Gazebo in WSL2, and the Middleware Bug That Ate an Afternoon Week 2 · Setup
- Added to blog Literature Review: What's Already Been Done, and the Gap I'm Filling Week 2 · Background research
- The Plan: a Gantt Chart, Five Complexity Levels, and a Hard Development Freeze Week 1 · Planning
- Why I'm Teaching a Robot to Take Orders in Plain English Week 1 · Project kickoff