feat(train): a recording follows a route, its turns told (ADR 0030, D45)

The Record sheet offers the routes with a way planned; the recorder's
service follows the one chosen offline (RouteGuide.kt): turns told 50 m
before them (100 m on a bike) after a tone, off the route past 40 m for
10 s a cue with the way back, told again on rejoining, the end told.
The recording file keeps the route and the guidance; the recording
screen shows the next turn or the way back, and swipes to a map of the
route, the track and the position, north or the heading up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-29 08:27:27 +01:00
commit b0c0eeb3d5
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -29,6 +29,7 @@ class FakeRecorderPlatform({
String? rower,
String? loop,
Map<String, Object?>? plan,
Map<String, Object?>? route,
})
>[];
@ -82,6 +83,7 @@ class FakeRecorderPlatform({
String? rower,
String? loop,
Map<String, Object?>? plan,
Map<String, Object?>? route,
}) async {
started.add((
path: path,
@ -91,6 +93,7 @@ class FakeRecorderPlatform({
rower: rower,
loop: loop,
plan: plan,
route: route,
));
notices.add(notice);
_file = File(path)