lap-model
Change how the simulated car and engine behave in speeduino-serial-sim — driver, gearbox, engine torque, manifold, thermal model, Speeduino fuel/ignition/idle…
Skill by askrejans
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/askrejans-lap-model
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/lap-model
What's inside
- Skill name
lap-model- Description
- Change how the simulated car and engine behave in speeduino-serial-sim — driver, gearbox, engine torque, manifold, thermal model, Speeduino fuel/ignition/idle logic, sessions — or regenerate the track.
- License
- MIT
- Instructions
- 38 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Lap model Everything lives in `src/EngineSimulator.cpp`, constants in `include/Vehicle.h`. `stepPhysics()` runs driver → engine/car → thermal → ECU every `SIM_STEP_MS`. The ECU layer only sees sensed values and sets the packet; physics never writes packet bytes. ## Calibration targets (keep them; tests check most) | | | |---|---| | Hot lap at pace 1.0 | ~2:02 (110–134 s in tests) | | Idle | 850 rpm hot, ~35 kPa, PW ~2.3 ms | | WOT | 98–100 kPa, PW 6–7 ms, AFR ~12–13 | | Overrun | ~15 kPa, DFCO after 0.3 s | | Coolant | 85–98 °C on hot laps, fan cycles at idle after a run | | Max rpm | < 7350 (limiters at 7000/7200) | Tune with the desktop build: `pio run -e native && .pio/build/native/program --speed 25` prints phase, lap, speed, gear, rpm, TPS, MAP, CLT, AFR and PW every second. Then run `pio test -e native`. ## Rules - Prefer a physical cause over a correction factor (the fuel film, not an AFR offset; the radiator, not a temperature clamp). - Keep the compact path (`SIM_DETAILED == 0`) working: AVR uses the same driver and engine with fewer features. Build `uno` after changes. - New settings: `SimSettings` default, `/api/settings` range check in `WebInterface.cpp`, the Control form, the native CLI, README. ## Track `scripts/gen_track.py <outline.json> include/TrackData.h` from a closed outline (`data/tracks/*.json`, with attribution and licence). The envelope uses `LAT_G` and `BRAKE_G` in the script; the live driver scales it by pace.
From askrejans/speeduino-serial-sim, MIT.
More from askrejans/speeduino-serial-sim
- 0.633score
hardware-validation
askrejans
Flash and test speeduino-serial-sim on boards, read it with real clients (ecu-to-mqtt, TunerStudio), and compare against a real Speeduino without writing to it.
SkillAFreshness: A★ 13Claude Code +9 - 0.633score
protocol-fidelity
askrejans
Change what speeduino-serial-sim sends — packet fields, units, status bits, command replies, identity strings, reply timing — so it stays byte-compatible with…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
web-dashboard
askrejans
Change the speeduino-serial-sim web dashboard (web/) or its HTTP API on ESP boards while keeping it safe, small and off the simulator's thread.
SkillAFreshness: A★ 13Claude Code +9 - 0.628score
release
askrejans
Prepare a speeduino-serial-sim release — version, changelog, platform and library updates, all environments built, firmware binaries attached.
SkillAFreshness: A★ 13Claude Code +9
Signals
- Stars
- 13
- Forks
- 6
- Open issues
- 0
- Last commit (this folder)
- Oct 20, 2026 (9 days ago)
- Last release
- Oct 21, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from askrejans
- 0.633score
hardware-validation
askrejans
Flash and test speeduino-serial-sim on boards, read it with real clients (ecu-to-mqtt, TunerStudio), and compare against a real Speeduino without writing to it.
SkillAFreshness: A★ 13Claude Code +9 - 0.633score
protocol-fidelity
askrejans
Change what speeduino-serial-sim sends — packet fields, units, status bits, command replies, identity strings, reply timing — so it stays byte-compatible with…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
web-dashboard
askrejans
Change the speeduino-serial-sim web dashboard (web/) or its HTTP API on ESP boards while keeping it safe, small and off the simulator's thread.
SkillAFreshness: A★ 13Claude Code +9 - 0.628score
release
askrejans
Prepare a speeduino-serial-sim release — version, changelog, platform and library updates, all environments built, firmware binaries attached.
SkillAFreshness: A★ 13Claude Code +9
Cite this page
lap-model skill. Agent Mart. https://agentmart.dev/skills/askrejans-lap-model (last updated 2026-10-24)