Skip to content

Conversation

@benpicco
Copy link
Contributor

Contribution description

Make it a bit more straightforward to set up a simulated network by just passing the x,y positions of the nodes via a world map file.

A world map file might look like

A	5	3	10
B	10
C	20	20

Testing procedure

Run topogen -f word.2d

# Connections
A
B
C
A	B	0.66	0.95
B	C	0.20	0.20
A	C	0.00	0.18


# Node	X	Y	range	color
# A	5	3	10	0x13174ed1
# B	10	0	25	0x13174ed1
# C	20	20	25	0x13174ed1

Issues/PRs references

@github-actions github-actions bot added the Area: tools Area: Supplementary tools label Oct 10, 2025
@crasbe crasbe added Type: new feature The issue requests / The PR implemements a new feature for RIOT CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 10, 2025
@riot-ci
Copy link

riot-ci commented Oct 10, 2025

Murdock results

✔️ PASSED

eb34a16 tools/zep_dispatch: topogen: allow to pass worldfile

Success Failures Total Runtime
1 0 1 01m:43s

Artifacts

@mguetschow
Copy link
Contributor

Nice addition! Is worldfile somehow an established or well-known standard or your own invention? In any case, we'd need documentation about its format in the accompanying README.

A world file might look like

```
A	5	3	10
B	10
C	20	20
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: tools Area: Supplementary tools CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants