Add standalone ATO controller in lean Rust.
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>
This commit is contained in:
parent
b4e580af11
commit
a8d40b466b
20 changed files with 748 additions and 24 deletions
23
README.md
23
README.md
|
|
@ -1,11 +1,22 @@
|
|||
# ato
|
||||
|
||||
First **CodeView** project — bootstrap mode.
|
||||
Standalone **Automatic Train Operation** (no ETCS, no ATP). Lean Rust controller talking to [TrainSim](../trainsim).
|
||||
|
||||
- **Forgejo:** https://git.italiatts.online/rwsholdem/ato
|
||||
- **Mode:** bootstrap (direct push to `main` allowed)
|
||||
- **Switch to protected:** `./scripts/project-mode.sh rwsholdem ato protected`
|
||||
## Layout
|
||||
|
||||
## Stack
|
||||
| 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) |
|
||||
|
||||
Scaffold your app here. Cursor and OpenClaw use this repo as the source of truth.
|
||||
## Run (via CodeView ato-lab DinD)
|
||||
|
||||
```bash
|
||||
cd /root/code-view/profiles/ato-lab
|
||||
chmod +x run-e2e.sh
|
||||
./run-e2e.sh
|
||||
```
|
||||
|
||||
Detailed ATO design notes — *TODO*.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue