# Changelog This file records ESCargot's changes relative to the upstream VESC® Packages repository. Each package also keeps its own changelog in its README. VESC® is a registered trademark of Benjamin Vedder; see [TRADEMARKS.md](TRADEMARKS.md). ### ESCargot #### Unreleased * dash_esc 2.4 → 2.8: * PAS telemetry on SID 26 and in SID 25, PAS channels in the log, walk assist passed through from a display, and kill switch and fan state reported to the displays. * Controller settings changed from a display, within limits held on the controller. The light command no longer clobbers Auxiliary Output Mode, and the light output is selectable. The PIN lock is held on the controller. * Takes the throttle, brakes, kill switch and pedal sensor from Rmcore IO nodes over CAN, and stops the motor when a fitted node is not heard. * Upstream's throttle mode, a dash16 lever on ADC1 instead of ADC2, at eeprom slot 24 and without upstream's settings reset. With a front Rmcore node a lever on ADC1 is ignored rather than merged into regen. * vbms32_micro, vbms32, vbms_harmony16 and vbms_harmony32: charging no longer starts on cells already past vc_charge_end. An idle BMS started a charge once the highest cell was below vc_charge_start, and VESC Tool allows that to be set above vc_charge_end. From vesc_pkg PR 100 by Mortificator, which fixes vbms32_micro; the same check was in the other three. * vesc_x3_bridge removed, as upstream's PR 135 from its maker asks: the bridge board is discontinued and its source archived. segway_x3_dash answers the same Segway X3 dashboards from the controller with no bridge. * rmcore_io 0.1.0 (new): an Rmcore as the front or rear IO node of a bike on CAN, reporting its inputs on SID 40 and 41 and driving the lamps. Needs dash_esc 2.8. * logui: an option to log only while riding, a ride being the wheel turning rather than current flowing, so a parked bike does not fill the card. * vesc_scooter_support (1zun4's, carried from upstream): * Updated to its author's latest (0f127e2): a settings save fix, mph, the secret-mode button combination and the idle display picked in the UI, zero current on CAN slaves at stop. * Its settings carry over that update. The author's version resets every setting when the layout changes, which would have dropped every speed mode of a board on the copy upstream ships. * M365 frames are read at their length. The reader took one byte too many and summed one too few, so it answered each frame a frame late, lost the header after it, and refused a frame ending in a non-zero byte. * The frame header is found a byte at a time, so one or two bytes of line noise no longer put the reader out of step with every frame after. * The M365 headlight is on bit 6 of the light byte, where that dashboard reads it; it was sent on bit 0, as for a Ninebot. Found by lucidnx. * Says when the ADC app is set up so the levers do nothing -- the ADC app not in use, or a control type that ignores the brake -- in the console and in the package UI. The README had told people to choose the brakeless type. * A battery current scale per speed mode, normal and secret, beside the phase current one. * The battery bar shows the pack's own state of charge when a BMS reports on CAN. * Nothing is saved above walking pace: writing flash stops the controller while it writes. * Host tests: a fake M365 or G30 dashboard on a stubbed UART, frames built from the published protocol, and the settings migration. * scooter_dashboard_support (lucidnx's, carried from upstream): * Updated to its author's latest (9f28d22): uptime, trip and consumption counted per ride, and the lock brake on the alarm's speed threshold and on CAN slaves. * A package update keeps the model chosen for the controller. It went back to Slave on every settings-version change, so the controller wired to the dashboard showed nothing until its model was picked again. * Settings changed while riding are written once the scooter stops. * Host tests, including its G2 path against the frames TriWrite captured from a real G2. * garmr (new, unversioned, prototype): a set-and-forget assist level from a toggle switch, through the firmware's PAS walk keepalive. An example as much as a feature: the settings are constants at the top of the script. * In the release's package archive, not yet run on hardware (each has host tests; the READMEs say so). The LispBM libraries are packaged for import as pkg@://vesc_packages/lib_canmap/canmap.vescpkg and lib_oi_sdo/oi_sdo.vescpkg; their Lua versions are sources a script bundles: * tone_seq and tone_seq_lua (new): tunes on the motor from an Express's SD card, with no phone or computer: a startup tune when the bike turns on, or any tune on request. * lib_canmap and lib_canmap_lua (new): CAN signals packed and unpacked by bit, as a .dbc file describes them, for chargers, BMSs, dashboards and OEM inverters. * lib_oi_sdo and lib_oi_sdo_lua (new): reads and writes an OpenInverter's parameters over CAN. * throttle_check and throttle_check_lua (new): a two-potentiometer throttle cross-checked, output cut when they disagree or one leaves its range. * ant_bms and ant_bms_lua (new): an ANT BMS read over an Express's UART and sent on CAN as a VESC BMS, both ANT protocol generations, with opt-in charge-MOSFET and balancer writes. Decoding ported from syssi/esphome-ant-bms (Apache-2.0). * ninebot_bms and ninebot_bms_lua (new): a scooter's original Ninebot battery read over an Express's UART and sent on CAN as a VESC BMS. Read-only. * In this repository, not in the release's package archive (res_all.qrc) -- unfinished, or driving hardware and not yet run on it -- so not offered in VESC® Tool's package list: * dash_s3 0.1 (new): touch dash for the Waveshare ESP32-S3-Touch-LCD-4, 480x480. * dash_p4 0.1 (new): touch dash for the Waveshare ESP32-P4-WIFI6-Touch-LCD-4.3, 800x480. * Both share dash_common: Clay-described pages and controls, a quick shade, keypads, PIN lock, theming, a rolling chart, PAS and controller-settings pages, signal requests and a walk assist button. They need express firmware that tags its draw commands. * dash_common (new, unversioned): the shared LispBM source of the two touch dashes, with host-side tests, a linter and golden renders. * dash_p4_lua 0.1 (new): dash_p4 on the Lua script engine, needing firmware built with `-DSCRIPT_ENGINE=lua`. Held at parity with the lisp dash's layout from before its move to Clay controls. * dash_common_lua (new, unversioned): the Lua port of dash_common, with its unit tests, golden renders for both panels and the configuration-packet comparison against the lisp dash. * garmr_lua (new, unversioned): garmr on the Lua script engine, which needs firmware built without LispBM. * precharge and precharge_lua (new): closes a precharge relay at power-up, waits for the bus to charge, then closes the main contactor; if the bus does not charge in time both stay open and the motor stays off. * segway_x3_dash (new): a Segway X3 scooter's dashboard (G3, ZT3 and the rest) answered over CAN by the controller itself, with no bridge board. Frames ported from Finnn-glitch/VESC2X3Bridge (GPL-3.0), without its false-speed override of the control unit's limit. * xiaomi_leqi_dash (new, experimental): a newer Xiaomi dashboard on the LEQI protocol (Mi 5 Elite, Mi 5 Plus), written from the protocol's documentation. * precharge, segway_x3_dash and xiaomi_leqi_dash switch contactors or drive the motor, so they stay out until they have run on hardware; each has host tests. * Repository: * rmcore_io and garmr added to the Makefile and res_all.qrc. The unfinished packages are kept out of both, so a broken one cannot fail a release build. * tools/: build_archive.sh builds the whole package archive, check_archive.py checks it against its package list, check_packages.py checks every package, and const_writes.py catches buffers written after @const-start. * CI lints every LispBM package, parses every Lua source, checks the package descriptors and the archive list, and audits contributions for provenance. * CI runs every package's own tests, LispBM and Lua, on a LispBM repl built from the ESCargot Express tree; a suite that skips fails the job. * README describes the fork; TRADEMARKS.md added; copyright headers and credits for upstream package authors added to the files this fork wrote or changed.