Keep runs manageable.
The dashboard defaults to a 180-second wall-clock timeout and limits runs to 5,000 simulation steps and 250,000 grid cells. Algorithm-specific limits bound planner and solver budgets.
Scenario editing · Simulation jobs · Interactive replay
Shape the scenario.
Inspect the decision.
A browser workspace for the Classical Navigation project. Configure a marine navigation experiment, run it in a separate process, and trace each recorded decision through the vessel’s motion.
01 / A tool within the navigation project
A trajectory plot shows where a vessel went. Understanding why requires the configuration, the active plan, and the command issued at that moment.
I built this editor and recording pipeline within my Classical Navigation project. The editor changes scenarios and algorithm settings; a Python worker runs the navigation stack; the replay exposes its recorded state and decisions. Both interfaces share the same configuration model.
02 / Configuration roundtrip
Start from a bundled profile or import YAML. Move the start and goal, drag or resize circular obstacles, and choose algorithms by layer. Numeric fields provide precise coordinates and a keyboard alternative to the map.
The algorithm catalog comes from the navigation stack’s registry. Switching algorithms loads their defaults and retains earlier parameter choices for the session. Combined MPC disables the three stages it replaces.
The October update keeps this interface aligned with the algorithms: the catalog now exposes the EKF’s current-estimation parameters and shares the local RRT* planner’s defaults. A regression test compares these values with the actual constructors, so a browser experiment starts with the same settings as a Python experiment.
Import, validation, export, and execution use the shared configuration model. Downloaded YAML can be imported again or used by the command-line demo. Each run saves its exact resolved configuration beside its outputs.
Validation checks input types, bounds, clearance, and budgets. Whether a planner can find a route is established during execution.
03 / Asynchronous execution
The server starts a subprocess and returns a run identifier. The browser polls its status while computation continues; editing stays disabled until the run finishes or is cancelled. Reloading reconnects to an active run through its saved session identifier. If the server has restarted, the editor clears the expired identifier and explains where the run files remain on disk.
Check inputs and save the run configuration
Simulation + telemetry recording
Open the replay or return to the editor with a diagnostic
The dashboard defaults to a 180-second wall-clock timeout and limits runs to 5,000 simulation steps and 250,000 grid cells. Algorithm-specific limits bound planner and solver budgets.
Cancel terminates the process, escalating to a kill if it does not exit within two seconds. Solver errors and timeouts return a diagnostic so the scenario can be revised.
A simulation that reaches its time limit still produces an inspectable replay. The run status describes whether computation and export completed. The navigation result uses the estimated position to test arrival; the replay shows actual and estimated distance to the goal separately.
04 / Recorded decisions
Each frame records the state, estimate, active route, local trajectory, and command before advancing the vessel. The final frame contains the resulting state without an outgoing command. Global routes are stored once per revision and referenced by subsequent frames.
Pause, step, scrub, change playback speed, or toggle layers to compare the route with actual motion. D* Lite map changes and route revisions remain visible alongside planner failures and emergency-braking status. Speed and yaw-rate plots follow the selected frame.
The updated viewer also highlights “Escaping margin” when the estimate lies inside a planning buffer. The local plan and resulting motion can then be inspected together, keeping the planning margin distinct from the obstacle boundary.
The HTML embeds the recording and viewer without external assets. Playback reads saved data; changing its speed leaves the simulation timestep unchanged.
05 / A changing map
The bundled D* Lite scenario closes five grid cells at 8 seconds and reopens them at 20 seconds. The replay preserves both route revisions, the active cells, and the vessel’s response. The terminal frame is at 32.1 simulated seconds, with two route repairs and the estimated-position goal test satisfied.
A blue vessel follows the dashed global route between four circular obstacles. Pink cells close a short barrier across the route, and D* Lite repairs the path around it. When the cells reopen, the route changes again. The orange estimate, green local plan, and purple turn command show the decisions behind the motion. The capture advances three 0.1-second simulation steps per video frame at 12 fps, producing 3.6× playback. The controls visible inside the footage are part of the recording; use the portable HTML above to step through it yourself.
06 / Evidence & scope
Tests cover YAML roundtrips, catalog defaults, cancellation, timeouts, unreachable routes, HTTP integration, and replay frame alignment. The updated project passed 64 Python tests in this review. The current screenshots and clip were captured from the real application and replay viewer on 22 October 2026.
Application engineering: Jerry Chang. The Python service uses NumPy and PyYAML; the browser interface uses native HTML Canvas.
The dashboard runs one job at a time. Run files persist on disk, while status URLs last for the server process. Unsaved editor changes are lost on reload. The underlying vessel model is an educational planar simulation; the tooling supports investigating that model’s behavior.
Navigation Lab / Part of Classical Navigation