Skip to content

Commit

Permalink
add initial nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyangXYZ committed Jan 2, 2024
1 parent 120faf2 commit 7fe1d5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ export class NetworkHub {
this.kdTree = new KDTree()

// this.createNodes()
this.AddNode(NODE_TYPE.TSCH)
this.AddNode(NODE_TYPE.TSN)
this.AddNode(NODE_TYPE.FIVE_G_BS)
this.AddNode(NODE_TYPE.FIVE_G_UE)
this.AddNode(NODE_TYPE.END_SYSTEM_ROBOTIC_ARM)
this.AddNode(NODE_TYPE.END_SYSTEM_SENSOR)
this.AddNode(NODE_TYPE.END_SYSTEM_SERVER)

watch(this.ASN, () => {
this.doneCnt = 0
this.PacketsCurrent.value = []
Expand Down

0 comments on commit 7fe1d5d

Please sign in to comment.