Repository navigation
Test farm: replay a generated walk, bus and train track - #1168
Merged
Merged
Conversation
FarmTrackGenerator (a JVM test, skipped unless -PfarmTrack is given) routes a day out around central Glasgow over the extract's own networks: - walks over roads and paths to bus stops and stations - buses over main roads, stopping at the stops they pass - trains along railway lines that never turn more than 40 degrees, stopping at each station It samples at 1 Hz with real speeds, waits and stops. The same seed gives the same track. test-farm/tracks/glasgow-multimodal.gpx (seed 1, six journeys, about 3 hours) is now the farm's default track. The farm replays tracks marked farm-timed-replay by their timestamps, taking speed from the motion, and plays them backwards at the end. Real recordings, which also carry timestamps, are still walked at replay_speed_mps. TileGrid now builds any odd grid size; the generator loads 9 x 9 tiles to route across the city. The app still uses 2 x 2 and 3 x 3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ex6Fdp5ftuhE1ZEyhZb7WQ
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FarmTrackGenerator (a JVM test, skipped unless -PfarmTrack is given) routes a day out around central Glasgow over the extract's own networks:
The farm replays tracks marked farm-timed-replay by their timestamps, taking speed from the motion, and plays them backwards at the end. Real recordings, which also carry timestamps, are still walked at replay_speed_mps.
TileGrid now builds any odd grid size; the generator loads 9 x 9 tiles to route across the city. The app still uses 2 x 2 and 3 x 3.
Claude-Session: https://claude.ai/code/session_01Ex6Fdp5ftuhE1ZEyhZb7WQ