Files
swiftcontrol/test/models
Jonas Acker c92d440717 feat(vs): calibrate the virtual shifting feel per trainer
On trainers without native gears every virtual gear is a simulated
grade, and how heavy it feels depends on the trainer. The trainer page
now has "Calibrate shifting feel" next to the resistance self-test.

With the trainer app closed, the page drives the trainer through a flat
road, a gentle and a steady climb. The rider shifts with their own
controller (or the on-screen buttons) and rates each grade too heavy,
about right or too light; each rating goes onto the trainer at once and
the step halves on every overshoot. The result screen shows the new
difficulty with a stepper and a reset to 100 %.

The difficulty lives on the trainer's shifting config, so it is seeded
on every connect, follows config switches and syncs with user_settings.
Stopping, leaving the page or a trainer app connecting mid-run puts the
previous difficulty back. Trainers that compute gears in firmware are
told calibration does not apply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 15:28:48 +02:00
..