Add Python TrainSim with loop track map and physics.
Some checks are pending
CodeView TrainSim CI / test (push) Waiting to run
CodeView TrainSim CI / docker (push) Blocked by required conditions

FastAPI server, replaceable JSON config, tests, Dockerfile.
Pairs with ATO via spec/interface.md contract.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Mona Lisa 2026-06-14 20:37:22 +00:00
parent 45c95836ef
commit 9c5ef3a5cd
18 changed files with 414 additions and 18 deletions

8
config/sim.default.json Normal file
View file

@ -0,0 +1,8 @@
{
"track_length_m": 1000.0,
"tick_hz": 20.0,
"traction_gain": 0.15,
"brake_gain": 0.25,
"drag": 0.02,
"max_speed_mps": 25.0
}