You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generated `host*_run.sh` and `local_run.sh` scripts support the runtime options below. `--eval-time` is applied to every launched node (Publisher / Subscriber / Intermediate). Payload size and period are taken from JSON topology values and passed directly to Publisher / Intermediate nodes. `--trial-idx` is available only on `host*_run.sh` and `local_run.sh`. For the JSON schema, see [topology_example/README.md](./topology_example/README.md).
20
+
Generated `host*_run.sh` and `local_run.sh` scripts support the runtime options below. `--eval-time` is applied to every launched node (Publisher / Subscriber / Intermediate). `payload_size`and `period_ms` must be specified in each Publisher / Intermediate topic entry in the topology JSON, and those values are passed directly to Publisher / Intermediate nodes. `--trial-idx` is available only on `host*_run.sh` and `local_run.sh`. For the JSON schema, see [topology_example/README.md](./topology_example/README.md).
21
21
22
22
| Option | Short | Description | Default |
23
23
|---|---|---|---|
@@ -37,7 +37,7 @@ Generated `host*_run.sh` and `local_run.sh` scripts support the runtime options
37
37
./host1_run.sh -t 120
38
38
```
39
39
40
-
`--eval-time` is applied to all nodes launched through `*_run.sh` or `local_run.sh`. Payload size and publish period are read from each Publisher/Intermediate entry in the topology JSON.
40
+
`--eval-time` is applied to all nodes launched through `*_run.sh` or `local_run.sh`. `payload_size`and `period_ms` are read from each Publisher/Intermediate entry in the topology JSON.
Each element of the `intermediate` array is an object that contains the `publisher` and `subscriber` arrays shown above. Elements inside those arrays use the same `topic_name` field described above.
67
+
For `intermediate[].publisher[]`, `payload_size` and `period_ms` are also required.
65
68
66
69
## 3. Notes
67
70
68
71
The RMW implementation is selected with the command-line arguments to `generate_exec_scripts.py`. Defining it in the JSON file has no effect.
69
72
70
-
`--eval-time` can be passed to `_run.sh` or `_exec.sh` to override duration.`payload_size` and `period_ms` are taken directly from Publisher/Intermediate entries in the topology JSON and are not overridden by runtime script options.
73
+
`--eval-time` can be passed to `_run.sh` or `_exec.sh` to override duration.
71
74
72
75
## 4. Minimal Template
73
76
@@ -80,7 +83,11 @@ The RMW implementation is selected with the command-line arguments to `generate_
80
83
{
81
84
"node_name": "pub1",
82
85
"publisher": [
83
-
{ "topic_name": "topic_a" }
86
+
{
87
+
"topic_name": "topic_a",
88
+
"payload_size": 64,
89
+
"period_ms": 100
90
+
}
84
91
]
85
92
}
86
93
]
@@ -116,7 +123,11 @@ The RMW implementation is selected with the command-line arguments to `generate_
0 commit comments