docs(guide): simulator needs no real transponders, made-up or real numbers both work (1.89.43)
This commit is contained in:
1 parent
1c2d99a92b
commit
9f73c0d189
6 files changed
+11
-7
No files matched your search
@@ -496,7 +496,7 @@ AMMC sends PASSING messages like this ([AMMC docs](https://www.ammconverter.eu/d
|
||||
|
||||
### Testing without a decoder
|
||||
|
||||
Settings → "Decoder simulator" starts it from the UI (port 9099, the app connects by itself). From a terminal, `npm run sim` starts a decoder simulator on `ws://127.0.0.1:9000` (the app's default decoder address) that replaces AMMC and the decoder, so it also runs on a laptop without either. It sends passings with realistic lap times (about 18 s, a crash now and then) for the transponders in the active heat (sponsor heats: the cars), and follows when you switch heat. Start the heat on Race Day and the laps come in. Options: `npm run sim -- --lap 15 --spread 2 --tp 1001,1002 --port 9000`. If port 9000 is busy (AMMC running), stop AMMC or use `--port 9100` and set the decoder address to `ws://127.0.0.1:9100`.
|
||||
Settings → "Decoder simulator" starts it from the UI (port 9099, the app connects by itself). From a terminal, `npm run sim` starts a decoder simulator on `ws://127.0.0.1:9000` (the app's default decoder address) that replaces AMMC and the decoder, so it also runs on a laptop without either. It sends passings with realistic lap times (about 18 s, a crash now and then) for the transponders in the active heat (sponsor heats: the cars), and follows when you switch heat. Start the heat on Race Day and the laps come in. No real transponders are needed: add a few drivers under Directory → Drivers with made-up transponder numbers (for example 2001, 2002, 2003) and put them in a heat. Real names and transponder numbers work just as well, and then everything is ready for race day. Options: `npm run sim -- --lap 15 --spread 2 --tp 1001,1002 --port 9000`. If port 9000 is busy (AMMC running), stop AMMC or use `--port 9100` and set the decoder address to `ws://127.0.0.1:9100`.
|
||||
|
||||
**Test data:** `test-data/` has 12 drivers (`drivers.csv`), 4 rental cars (`cars.csv`) and 8 guest names (`sponsor-gaster.txt`). Import the CSVs under Settings → System & backup (Import drivers CSV / Import cars CSV), paste the names into a sponsor event, and run it with the simulator.
|
||||
|
||||
|
||||
Reference in new issue
Block a user