Skip to content

Commit 17cd53e

Browse files
committed
readme: add instructions to use STDCM speed limit tags and loading gauge
Signed-off-by: Duc Nguyen <nguyen@emersion.fr>
1 parent 8d0edf9 commit 17cd53e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ The last-minute train (STDCM) module needs additional setup: start by creating a
8686
docker compose exec editoast editoast stdcm-search-env set-from-scenario <id>
8787
```
8888

89+
If you need to use speed limits tags and loading gauge, run this:
90+
91+
```sh
92+
echo '{ "LG1": [], "LG2": [] }' > /tmp/allowed_tracks.json
93+
docker cp /tmp/allowed_tracks.json osrd-editoast:/tmp/
94+
docker compose exec editoast editoast stdcm-search-env set-from-scenario <id> --speed-limit-tags "CC100|100" "CC90|90" "CC200|200" --default-speed-limit-tag "CC100" /tmp/allowed_tracks.json
95+
```
96+
8997
## Working on a single component
9098

9199
Each component has a _justfile_ to run usual development tasks. Install [just](https://github.com/casey/just#installation) and run it to see available recipes. All the components include:

0 commit comments

Comments
 (0)