Standalone ATO (Rust) — automatic train speed/brake control. Pairs with TrainSim. No ETCS/ATP.
Pure ato-core logic, minimal HTTP client, JSON config and spec files. Docker build with tests; integrates with TrainSim over simple REST API. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .agent | ||
| .forgejo | ||
| config | ||
| crates | ||
| spec | ||
| .dockerignore | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| README.md | ||
ato
Standalone Automatic Train Operation (no ETCS, no ATP). Lean Rust controller talking to TrainSim.
Layout
| Path | Role |
|---|---|
crates/ato-core/ |
Pure control logic (zero deps, no I/O) |
crates/ato-app/ |
HTTP client + control loop |
config/ |
Replaceable parameters (ato.default.json) |
spec/ |
Interface examples (interface.md, JSON samples) |
Run (via CodeView ato-lab DinD)
cd /root/code-view/profiles/ato-lab
chmod +x run-e2e.sh
./run-e2e.sh
Detailed ATO design notes — TODO.