5.7 Editor course curriculum
The course runs in the normal editor at /?lesson=<id>. Each lesson starts on
practice Home and teaches one physical action per step. Instruction plus
optional explanation is limited to 25 words. Finish lesson ends each lesson
without a closing explanation.
Exercise map
| # | Lesson | Actions and evidence |
|---|---|---|
| 1 | First motion | Open a path, Play, Pause, select a leg bar. Current routed playback and selected leg. |
| 2 | Draw and reroute | Add a leg, select its destination, enter X/Y, replay. Three points and current endpoint. |
| 3 | Position, heading and aim | Open Rotation, choose Angle, enter 90 degrees, replay; choose Face point, enter its coordinates, replay. Intent and continuous landmark tracking. |
| 4 | Bend the curve | Drag a faint handle on Waypoint 1, replay, double-click the handle. The bias and its removal. |
| 5 | Speed and limits | Select Custom, enter 3 m/s, select the next leg, inherit Leg 1, replay. Resolved limits and sampled speed. |
| 6 | Arrivals and stops | Play THROUGH, compare 50% and 100% passing speed, choose Stop and replay, then Stop and wait. Advance at the waypoint or end of its hold. |
| 7 | Events and hooks | Select Collect, drag its trigger to 50%, replay until its command flash, add a command in Waypoint 1’s Commands, choose Stow (a new command runs After arriving) and replay. Leg/fraction/phase and scheduled command starts. |
| 8 | Code and canvas | Open Code, change X in .to(8, 4) to 8.5, repair an error, edit Python and C++, add a 45-degree target through Rotation targets in the left sidebar, close its panel and play until the target is reached. Parsed document and cursor. |
| 9 | Build an auto | Open the auto, select a drive, choose Return run and return with Done, select wait/command, choose Stow, enter durations, replay, open Code. Ordered authored tree and current timeline. |
| 10 | Describe the robot | Navigate to Robot, change units/dimensions/mass/bumpers/cap, return Home and replay the path. Configuration and fresh plan. |
| 11 | Fields and routing | Toggle overlays, add a rectangle and crossing, replay, navigate to Game Packs, edit TOML, search Reference, calibrate the image. Authored constraints and parsed pack. |
| 12 | Alliance and origin | Choose Red, mirror and replay, zoom, choose Neutral, turn reset off, open Code. Authored frame, transformed geometry and reset setting. |
| 13 | Reuse positions | Save/name Pickup, navigate to Return run and link it, open Waypoints and move Pickup, return and unlink, change X, replay. Shared propagation and independent endpoint. |
| 14 | Groups and decisions | Open an auto, choose parallel/race/deadline and leader, select a sensor Check and nested auto, add a required per-leg hook, replay. Group/tree semantics and current timeline. |
| 15 | Commands, sensors and extensions | Select Commands and Sensors rows, enter Code names, open More and set Footprint change, return to the path, set end/failure/finish/tolerance controls, replay. References, footprint and intent. |
| 16 | Save, export and integrate | Create a Home folder, open Settings, export practice, rename/copy a Composer variable, open Code, copy the setup file and the autos file. Downloaded backup and the copied files. |
| 17 | Connect the robot project | Open Settings > Robot code, choose PracticeRobot, copy the configure call, enter the autos class, Write from Code, paste the call into the practice project’s Drivetrain.java and save, change a path and the robot mass, copy the field, edit the autos file, turn on Live update. Written files, read-back and the live write. |
| 18 | Editor tools and shortcuts | Type a numeric expression, nudge, Undo/Redo, toggle a panel, replay, navigate to Colors/Keybinds, record a chord and close Settings. Authored history and practice preferences. |
Menus have opening and choice goals, and already selected choices advance immediately. A matching input commits and advances without an extra Enter step. Page changes, document selection, flyouts and tabs use real controls, and the coach never performs navigation during ordinary progress. Show me is the explicit recovery hint, with a visible highlight before each click.
Concept definitions are in src/tutorial/terms.json, and each term must be
introduced before an instruction uses it. Conditions are true or false tests,
and Has piece is introduced as a sensor before selecting it. Each step has at
most one short sentence of context tied to the visible control. The default
robot speed is 4.5 m/s and the arrival comparison uses a 3 m route.
Accuracy boundaries
- THROUGH is Composer’s default arrival. Intermediate editor waypoints call it Keep moving, and final editor speed separately defaults to zero.
- Face point continuously aims at the landmark during the leg in browser preview and on the robot, but playback does not validate hardware response.
- Robot progress is the share of the current leg’s planned path distance covered. Remaining is planned distance left in that leg, bounded below by straight-line distance, and match time uses the root auto’s clock. Preview marker placement is along the planned path.
- Auto command durations are estimates, and robot command completion, sensor results, subsystem ownership, interruption and recovery require robot-project tests.
- Frame dimensions exclude bumpers and mass includes battery and bumpers. A chosen velocity ceiling differs from measured drivetrain speed at 12 V.
- Alliance labels the authored frame, mirroring changes geometry, and camera controls change only the view. Odometry remains in the pack’s fixed frame.
- Extension geometry describes clearance and does not actuate a mechanism.
Feature catalog
The inventory sources are gui/web/src/features/**,
gui/web/src/components/**, all ten guides in
website/src/content/docs/gui/, and public Composer/Setlist APIs in java/.
Source paths below are relative to gui/web/src/ and guide names are
relative to website/src/content/docs/gui/. Rows group controls that teach one
operation. Assignments locate related lessons and editor documentation. The
exercise map above defines the actions taught in the course, and the catalog
also includes advanced controls and robot forms for reference.
| User-facing feature | Source / guide | Lesson |
|---|---|---|
| Home previews, Paths/Autos together or separate, remembered tab/list state | features/home/HomeScreen.tsx, homePreview.ts; first-auto.mdx | 16 |
| Path/auto create, open, rename, duplicate, delete, search, bulk selection | features/home/HomeScreen.tsx, components/layout/ProjectCard.tsx | 2, 9, 16 |
| Folder create/rename/open/delete, moving documents | features/home/HomeScreen.tsx | 16 |
| Learn, Game Packs, Waypoints, Robot, Commands/Sensors, Settings navigation | features/home/HomeScreen.tsx | 1, 10-18 |
| Header rename, dirty/save, back, issues, Export | components/layout/EditorHeader.tsx | 2, 8, 16 |
| List/Code, panel toggles/resizing, drawers, expanded settings | components/layout/ResizeDivider.tsx; paths.mdx | 8, 18 |
| Place/insert/select/drag/delete waypoints, multi-selection and hover | features/paths/WaypointList.tsx, pathEditorStore.ts | 2, 18 |
| Reorder, copy/paste, nudge, document undo/redo versus text undo | features/keybinds/commands.ts, features/paths/WaypointList.tsx | 2, 18 |
| Numeric X/Y, units/math expressions, precision and increments | features/paths/WaypointInspector.tsx, components/form/NumberField.tsx, UnitLengthField.tsx, components/CalculationHint.tsx | 2, 18 |
| Start heading, Keep/Angle/Face point and heading handles | features/paths/WaypointInspector.tsx | 3 |
| Rotation keyframes, leg/fraction, fixed/point facing, add/edit/delete | features/paths/PathRotations.tsx, RotationTargets.tsx | 3 (introduction), 8, 11 |
| Position source, save/name/link/unlink pose | features/paths/WaypointInspector.tsx, features/poses/WaypointNameField.tsx | 13 |
| Path defaults, robot-derived defaults, restore robot connection | features/paths/PathDocumentSettings.tsx, pathLimits.ts | 5, 10 |
| Leg Custom/Default/Same as Leg, Full/Careful/Half/Crawl presets | features/paths/WaypointInspector.tsx, pathLimits.ts | 5 (custom/inherit), 10 (presets) |
| Velocity, acceleration, centripetal and angular caps; inherited effective values | features/paths/WaypointInspector.tsx, features/robot/RobotLimits.tsx | 5, 10 |
| Smooth/Straight curve, speed-zone caps without changing later defaults | features/paths/WaypointInspector.tsx, ConstraintZones.tsx | 5, 11 |
| THROUGH, passing fraction, Stop, pause | features/paths/WaypointInspector.tsx | 6 |
| Finish stopped/moving, end speed, position/heading tolerance | features/paths/WaypointInspector.tsx, SegmentCommands.tsx | 6 (introduction), 15 (practice) |
| A drive’s End when, Give up after and Run on failure | features/autos/DriveEnding.tsx, EndConditionPicker.tsx | 15 |
| Events add/delete, command choice, before/during/at/after, progress fraction | features/paths/EventMarkersList.tsx, CommandPicker.tsx | 7 |
| Command/arrival/condition/crossing/zone ticks, bands, chips, selection | features/paths/PathFieldKey.tsx; paths.mdx | 7, 18 |
| Avoid and per-leg keep-in; named area, rectangle, circle, square | features/paths/PathZones.tsx, RegionFields.tsx, RegionSourceSelect.tsx | 11 |
| Pack avoidance defaults/overrides, allow and mirrored names | features/paths/PathZones.tsx | 11 |
| Terrain crossings automatic/center/saved pose/custom point, ordering/deletion | features/paths/PathCrossings.tsx, terrainCrossingTargets.ts | 11 |
| Crossing depth, required/overridden heading, position-only links, retiming stops/errors | features/paths/PathCrossings.tsx | 11 |
| Leg extensions from commands, none/custom/saved, persistent effects | features/paths/PathExtensions.tsx | 15 |
| Speed-zone ranges and linear/angular caps | features/paths/ConstraintZones.tsx | 5, 11 |
| Full field/alliance focus, Fit path/auto, zoom wheel/pinch/buttons, pan | canvas/view/FieldViewControls.tsx; paths.mdx | 1, 12, 18 |
| Overlays/legend, same-alliance horizontal mirror, camera versus coordinate frame | features/paths/PathScreen.tsx, features/paths/mirrorPath.ts | 11, 12 |
| Play/Pause, time, scrub/keyboard slider, leg/step selection, position/speed | features/paths/PlaybackBar.tsx | 1, 18 |
| Pending/stale/unrouted/error, retry, missing pack | features/paths/usePathEditing.ts, PathScreen.tsx | 2, 11, 18 |
| Java/Python/C++ authored chains, linked selection, syntax/errors | features/paths/PathCodeMode.tsx, features/autos/AutoCodeMode.tsx, components/code/*; export.mdx | 8 |
| Invalid drafts/edit blocking, language switch, comment lines | components/code/CodeView.tsx, CodeInput.tsx | 8, 18 |
| Generated variable rename/collisions, Full file, imports, referenced definitions | features/paths/PathCodeMode.tsx, features/autos/AutoCodeMode.tsx | 8, 16 |
| Code Copy/Save, browser download versus desktop writes | components/code/CodeView.tsx; export.mdx | 16 |
| Auto Drive/Run/Wait/Group/Check/Auto, insertion, reorder/duplicate/delete | features/autos/StepKindBar.tsx, AutoOutline.tsx, StepInspector.tsx | 9, 14 |
| Sequence/parallel/race/deadline, leader, competing-drive validation | features/autos/tree.ts, validate.ts | 14 |
| Check sensor/match time, Yes/No/empty side, nested auto, recursion errors | features/autos/StepInspector.tsx, runChecks.ts | 14 |
| Command duration estimates, footprint effects and drivetrain ownership | features/autos/AutoContext.tsx, routeSummary.ts | 9, 15 |
| Whole-drive/per-leg hooks, before/during/at/after, required progress | features/autos/RunCommandsList.tsx, runCommands.ts | 14 |
| Run/leg end condition, deadline, fallback, orphaned references | features/autos/RunCommandsList.tsx, runChecks.ts | 14, 15 |
| In-place path editing, Open/return, shared changes and history | features/autos/AutoPathEditing.tsx, AutoContext.tsx | 9, 13 |
| Auto start pose, alliance, reset odometry once | features/autos/AutoContext.tsx | 9, 12 |
| Predicted versus live connecting drive, unknown pose after drivetrain command | features/autos/connectors.ts, connectorPlanning.ts | 9 |
| Step colors/numbers, ghost No branch, hatched connectors and timeline lanes | features/autos/AutoTimelineFooter.tsx, timelineLanes.ts, FieldKey.tsx | 9, 14, 18 |
| Mirror step/group/auto, mirrored path reuse and edited-copy confirmation | features/autos/useFlip.tsx, flip.ts | 12 |
| Robot frame/mass, swerve/tank, track width, module geometry | features/robot/RobotConfig.tsx, RobotDiagram.tsx, form/drivetrain.ts | 10 |
| Motors, module presets/custom modules, wheel radius/tread/grip, gearing/current | features/robot/form/powertrain.ts, swervePresets.ts, wheelTreads.ts | 10 |
| Measured 12 V speed versus chosen cap, derived limits and calculations | features/robot/deriveConstraints.ts, robotCalculations.ts, RobotLimits.tsx | 10 |
| Bumpers per side/corner, shape/color, footprint preview | features/robot/form/bumpers.ts, robotOutline.ts | 10 |
| Saved extensions, geometry/drawing/default state | features/robot/RobotExtensionControls.tsx, features/bindings/ExtensionsScreen.tsx | 15 |
| Setup file, configure call with Copy, Drivetrain connected check | features/robot/code/robotSetupCode.ts, features/robotCode/ConnectDrivetrain.tsx, configureScan.ts; gui/export.mdx | 16, 17 |
| Robot constants discover/select/bind/unbind, source connection/errors | features/robot/RobotConstants.tsx, constantCatalog.ts | 10, 16 |
| Commands/Sensors CRUD, per-language names and syntax | features/bindings/CommandsScreen.tsx, SensorsScreen.tsx, BindingReference.tsx; commands.mdx | 15 |
| Drive ownership, persistent/temporary footprint effects | features/bindings/BindingFootprint.tsx, bindingsModel.ts | 15 |
| Library search, usages/navigation, missing links, Path command references | features/bindings/BindingLibrary.tsx, ManagerModal.tsx | 15 |
| Import marked code, Java processor, Python decorators, C++ factories/handles | features/bindings/ImportFromCode.tsx, codeDiscovery.ts | 15, 16 |
| Packs select/create/rename/duplicate/delete/import/export TOML | features/packs/GamePacks.tsx, PackCreator.tsx; game-packs.mdx | 11 |
| TOML edit/undo, parse debounce, last valid field, diagnostics, text/field selection | features/packs/PackCreator.tsx, packEditorStore.ts | 11 |
| Reference search/insert, Elements, bounds/measurements, mirrorH | features/packs/PackReference.tsx, toml/packReference.ts | 11 |
| Pack metadata/origin/symmetry, obstacles/terrain/regions, shape types/limits | features/packs/toml/packReference.ts, packDoc.ts | 11, 12 |
| Backdrop preset/upload/calibration/dimensions, AprilTags, field bounds | features/packs/images/*, PackCreator.tsx | 11 |
| Saved pose CRUD/search, field/nudge, propagation, read-only Code | features/poses/PosesScreen.tsx, PoseInspector.tsx, PoseCodeMode.tsx; poses.mdx | 13 |
| Settings language/year/units/team/display/home/focus/overlays/Learn visibility | features/settings/GeneralSettings.tsx; settings.mdx | 10, 12, 17 |
| Robot folder picker, Live update, read-back, diagnostics | features/sync/CodeSyncSettings.tsx, liveUpdate.ts, CodeSyncNotice.tsx, features/robotCode/readBack.ts | 16, 17, 18 |
| Workspace export/import validation/replacement, origin-local browser storage | features/settings/GeneralSettings.tsx; settings.mdx | 16 |
| Colors default/color-vision/high-contrast/custom, warnings, import/export | features/colors/ColorSettings.tsx, ThemePreview.tsx | 18 |
| Keybind search/two chords, conflicts, reset one/all; every command context | features/keybinds/KeybindSettings.tsx, commands.ts | 18 |
| Shared buttons/toggles/select search/tabs/disclosures/hints/dialog focus | components/form/*, navigation/*, inspector/*, layout/* | Throughout; 18 |
| Browser/desktop source setup and WASM prerequisites | local-development.mdx | 16 (reference) |
Composer and Setlist API coverage
Robot-only forms require reading and native validation, and editor-supported forms must round-trip through its existing lowerers. Overloads share their semantic topic, and test reset helpers and internal records are not learner controls.
| API family | Lesson and boundary |
|---|---|
Composer startAt, all to point/pose/heading overloads | 2, 3, 7; suppliers require robot code |
originAlliance, resetOdometry | 11; fixed odometry frame and one initial reset |
speed, scalar/constraint/angular limits | 4; apply before next to, persist until changed |
arrival, arriveWithin | 5; THROUGH, fraction, stop/pause, tolerance |
curve, control, gains overloads | 4, 9; native controller/gains forms |
replanning overloads, noReplanning, preplanAhead | 9, 15; live policy/warmup/native validation |
rotationTarget, aimTarget whole/fraction/window/condition and live supplier forms, facingTravel | 3, 7; static editor subset versus reactive robot forms; suppliers require robot code |
cross Terrain/depth/target/heading, stayWithin Region/Zone | 10; ordered crossings/per-leg containment |
avoid, allow, ignore | 10; custom and named avoidance |
extension | 14; geometry versus mechanism actuation |
runBefore, runAfter, run point/window/condition | 6, 13; route-owned hooks cannot require drivetrain |
| Condition progress/remaining/matchTime/passed/entered/when/always | 6, 13, 14; progress is the current leg’s path-distance fraction, remaining is planned distance left in that leg, matchTime uses the auto clock; always arms aim |
endWhen, giveUpAfter, runOnFailure | 14; failure tails/cancellation |
isFrozen, command, schedule, handle | 15; freeze/fresh runtime, diagnostics/ownership |
| Setlist named factory/unnamed constructor/configure overloads/isConfigured/sharedBindings | 9, 15; shared drivetrain registration |
drive, then command/Setlist, wait | 8; sequencing/live joins |
sequence, parallel, race, deadline, Step/DriveStep factories | 13; group termination/subsystems |
when predicate/Condition, otherwise | 13; one-time decision, Yes-only browser preview |
at, runBefore, run, runAfter | 13; whole-run/per-leg scope |
endWhen, giveUpAfter, runOnFailure | 13, 14; run/leg failure scopes |
command, schedule | 15; creation versus scheduling, cancellation |
Validation and boundaries
The literal novice browser driver completes all lessons using only the currently highlighted control, through pointer, keyboard-only, reload-before-every-step and Back-and-redo traversals. It rejects missing navigation, hidden or obstructed targets, coach overlap and steps over 25 words, and captures every step at desktop width. Each traversal runs with both naming modes in SI, inches/degrees, and inches/radians, with linked units and a separate Robot unit set. Length, speed, acceleration, mass and rotation follow the step’s Editor or Robot configuration scope, and Robot configuration also preserves its MOI unit. Goals compare canonical values and reject incomplete typing even when a prior value already satisfies the goal. See tutorial.md for commands and evidence locations.
Practice isolates robot settings, packs, poses, bindings, projects, colors, keybinds and code drafts. Imports replace the practice workspace without normal persistence, recovery journals, desktop calls or IndexedDB. Learn visibility is a separate normal preference, default shown and persisted.
Composer and Setlist semantics are checked against java/. Robot-only forms
in the catalog remain reference topics. Course completion does not claim native
compilation, simulation, hardware validation or deployment.