From 76191a91096da0eb5f1ed53b74053eb04a67d5e1 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 9 Nov 2026 14:05:45 +0000 Subject: [PATCH] Simulator: shorter start page and strip notes The start page's cards said everything each page holds, with the addresses and the password repeated on three of them; the lead paragraph and the note below the examples said the rest twice. Each card now has one line, the password and the strip are explained once under the cards, the examples list is shorter and the sprayer example that repeated its card is gone. The SIMULATOR strip note on the four pages is shorter too (the seed drill's took six lines on a phone). The sprayer has 8 sections, as the pages say, not 5. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01VKEBDHD5gzEhTiu3KLnBSx --- Firmware/simulator/README.md | 2 +- Firmware/simulator/index.html | 23 +++++++++++------------ Firmware/simulator/sim-seeder.js | 4 ++-- Firmware/simulator/sim-sprayer.js | 2 +- Firmware/simulator/sim-teensy.js | 2 +- Firmware/simulator/sim-xiao.js | 2 +- 6 files changed, 17 insertions(+), 18 deletions(-) diff --git a/Firmware/simulator/README.md b/Firmware/simulator/README.md index 9bbd9ad..534a328 100644 --- a/Firmware/simulator/README.md +++ b/Firmware/simulator/README.md @@ -29,7 +29,7 @@ One row per day, in short; the details are in the sections of this file (the lin | Date | What changed | |---|---| -| 9 Nov 2026 | **Set up AgOpenWeb from your measures** 1.3: the turn clears the front corner, the drawbar meets the tyre, turns listed by headland, reasons behind arrows ([the page](#set-up-agopenweb-from-your-measures)). The seed drill page shows its 19 sections before the program talks. | +| 9 Nov 2026 | **Set up AgOpenWeb from your measures** 1.3: the turn clears the front corner, the drawbar meets the tyre, turns by headland, reasons ([the page](#set-up-agopenweb-from-your-measures)). Seed drill page: 19 sections before the program talks. Shorter start page and strip notes. | | 8 Nov 2026 | **Set up AgOpenWeb from your measures**: a calculator that turns the tractor and implement measures into the U-turn, headland and tramline settings, with the reasons, a drawing, examples and drawbars kept off the rear tyres ([the page](#set-up-agopenweb-from-your-measures)). | | 7 Nov 2026 | The seed drill page's four tabs and Firmware tab checked, with a made-up newer `.bin` "on GitHub"; `firmware.json` lists the seed drill `.bin` once it is on `main`; the modules' names on the network ([How it is built](#how-it-is-built)). | | 4 Nov 2026 | The Teensy's clock and temperature, the receivers' and the TM171's temperatures and the XIAO's in the pretend modules' answers. | diff --git a/Firmware/simulator/index.html b/Firmware/simulator/index.html index 51b31b2..a6f0f09 100644 --- a/Firmware/simulator/index.html +++ b/Firmware/simulator/index.html @@ -2,7 +2,7 @@ @@ -37,36 +37,35 @@

AiO v4.5 web page simulator

-

Try the web pages of the AiO v4.5 autosteer module, its XIAO and the ESP32 seed drill and sprayer modules without a board. These are the real pages from the firmware, rebuilt from the code on every change. The values behind them are made up: a tractor drives up and down a field with autosteer on, sowing with a 19-section no-till seed drill (or spraying, when the sprayer is chosen in the strip).

+

The real web pages of the AiO v4.5 module, its XIAO and the seed drill and sprayer modules, with a pretend tractor behind them: it drives up and down a field with autosteer on, sowing with the 19-section seed drill. No board needed. Rebuilt from the firmware on every change.

Teensy module page

-

What the module shows at http://192.168.5.126/ on the tractor's network: GNSS, IMU, steering, messages, settings, the GPS receiver, the machine module (every section, with a link to the module's own page) and the firmware update.

+

The AiO v4.5 page on the tractor network: GNSS, IMU, steering, machine module, settings and update.

Open

XIAO Wi-Fi page

-

What the XIAO ESP32 on the GPS2 port shows on its own Wi-Fi network, at http://192.168.4.1/, made for a phone. Its password here is agopengps.

+

The page of the XIAO on the GPS2 port, on its own Wi-Fi network, made for a phone.

Open

Seed drill module page

-

What the seed drill's Relay24_ESP32 board (Seeder_ESP32) shows on its own Wi-Fi network (Seeder-xxxx, at http://192.168.4.1/) or on the tractor network at http://192.168.5.123/: the 19 sections asked for and open, the 24 relays, the network cable, the settings and the program update. Its password here is agopengps.

+

The Seeder_ESP32 page: 19 sections, 24 relays, network cable, settings and update.

Open

Sprayer module page

-

What the ESP32 sprayer module (Sprayer_ESP32 on the ESP32_Relay_X8 board) shows on its own Wi-Fi network (Sprayer-xxxx, at http://192.168.4.1/) or on the tractor network at http://192.168.5.123/: pressure, flow and litres, the sections asked for and open, the relays, the Wi-Fi settings, the calibration and the program update. Its password here is agopengps.

+

The Sprayer_ESP32 page: sections, pressure, flow and litres, relays, Wi-Fi, calibration and update.

Open

Set up AgOpenWeb from your measures

-

Type the tractor and implement measures and get the U-turn radius, turn style and skip rows, distance from boundary, headland width, extension and tramline settings to put in AgOpenWeb's Vehicle & Tool page, each with its reason behind an arrow, every turn AgOpenWeb can make listed by the headland it needs, and a drawing of the turn. Not a module page and not part of AgOpenWeb: a calculator with AgOpenWeb's own U-turn rules.

+

Type the tractor and implement measures and get AgOpenWeb's U-turn, headland and tramline settings, with the reasons.

Open
+

The password on the module pages is agopengps. The strip at the top of each page changes the receiver, the IMU, the steering, the program, the implement or the network, and parks the tractor to try what the module refuses while autosteer is on.

Some set-ups to start from

-

Change the receiver, the IMU, the steering, the program, the XIAO, the machine module and the implement (the no-till seed drill with 19 sections, or the 8 m sprayer with 5 sections) in the strip at the top of each page. With the tractor parked you can try what the module refuses while autosteer is on: the firmware update, the TM171 calibrations, writing the receiver settings.

diff --git a/Firmware/simulator/sim-seeder.js b/Firmware/simulator/sim-seeder.js index 286dfb5..fa8d635 100644 --- a/Firmware/simulator/sim-seeder.js +++ b/Firmware/simulator/sim-seeder.js @@ -22,8 +22,8 @@ const NET = S.opt.wifi, LOST_AT = 24; const X = S.load(KEY, () => ({t0: Date.now() - S.RUNNING * 1000, ap: AP, pass: "agopengps", staOn: false, sta: "", staPassSet: false, host: "seeder", subnet: "192.168.5", ipLast: 123, first: 1, secs: IMPL.sections, secTop: 0, ev: [], evAt: -1})); const T = () => (Date.now() - X.t0) / 1000; -S.bar("No board behind this page: the values are made up. The own-network password is agopengps. Park the tractor to see the sections closed." + - " The Relay24_ESP32 board is on the network cable: \"tractor network lost\" = the cable unplugged.", +S.bar("Made-up values, no board behind this page. Password agopengps. Park the tractor to close the sections." + + " \"Tractor network lost\" = the network cable unplugged.", ["wifi", "park"], [KEY, MKEY]); // on the tractor network from 2.5 s on the cable (3.2 s on the tractor's Wi-Fi, when chosen on the page instead); diff --git a/Firmware/simulator/sim-sprayer.js b/Firmware/simulator/sim-sprayer.js index 46071c2..8be6a49 100644 --- a/Firmware/simulator/sim-sprayer.js +++ b/Firmware/simulator/sim-sprayer.js @@ -29,7 +29,7 @@ if (X.sensors === undefined) X.sensors = 3; // kept from if (X.ipLast === undefined) Object.assign(X, {ipLast: 123, secTop: 0}); // and before v0.8 if (X.rate === undefined) Object.assign(X, SPRAY); // and before v0.10 const T = () => (Date.now() - X.t0) / 1000; -S.bar("No board behind this page: the values are made up. The own-network password is agopengps. Park the tractor to see the sections closed.", +S.bar("Made-up values, no board behind this page. Password agopengps. Park the tractor to close the sections.", ["wifi", "park"], [KEY, MKEY]); // on the tractor's Wi-Fi from 3.2 s; the program talks (PGN 239 ten times a second) from 5.5 s diff --git a/Firmware/simulator/sim-teensy.js b/Firmware/simulator/sim-teensy.js index 3cc5010..a7b62f1 100644 --- a/Firmware/simulator/sim-teensy.js +++ b/Firmware/simulator/sim-teensy.js @@ -10,7 +10,7 @@ "use strict"; (function () { const S = window.AioSim, KEY = "aiosim.teensy", M = S.Module(KEY); -S.bar("No module behind this page: the values are made up. Park the tractor to try the update and the calibrations.", +S.bar("Made-up values, no module behind this page. Park the tractor to try the update and the calibrations.", ["gps", "imu", "motor", "prog", "xiao", "mach", "impl", "park"], [KEY]); // Our machine modules have a page of their own (the seed drill's, the sprayer's): a link to the one of the chosen // implement at the end of the Machine tab's card, the way its IP on the Machine tab would open it on the tractor. diff --git a/Firmware/simulator/sim-xiao.js b/Firmware/simulator/sim-xiao.js index 578ab42..b1bb6b4 100644 --- a/Firmware/simulator/sim-xiao.js +++ b/Firmware/simulator/sim-xiao.js @@ -21,7 +21,7 @@ const BIN = (S.BUILD.xiaoBin || {})[C3 ? "c3" : "s3"] || (C3 ? 1102560 : 990640) const X = S.load(KEY, () => ({t0: Date.now() - S.RUNNING * 1000, reset: "power on", ap: "XIAO-3F2A", pass: "agopengps", staOn: true, sta: "Farm WiFi", staPassSet: true, host: "xiao", ev: [], evNext: 1, evAt: -1, scanAt: -1})); const T = () => (Date.now() - X.t0) / 1000; -S.bar("No XIAO and no module behind this page: the values are made up. The XIAO password is agopengps.", +S.bar("Made-up values, no XIAO behind this page. Password agopengps.", ["gps", "imu", "motor", "prog", "chip", "park"], [KEY, MKEY], {gps: ["dualf9p"]}); function event(x, t) {