Questions tagged [unetstack]

Questions on UnetStack underwater stack and network simulator

Questions related to the UnetStack underwater stack and network simulator.

118 questions
4
votes
1 answer

Creating a communication between client and server node in unetstack using UnetSocket

I am new to this domain of UnetStack and would appreciate help from the experts. I have created a small network of 4 nodes. I am trying to connect my client node, e.g. node B, to the server node (A). I tried the communication between them through…
4
votes
1 answer

How to dynamically calculate path for Node (USV) for connected 2-UAV which are surveying in orthogonal lawnmower pattern in simulation?

I am writing a simulation script which involves 2-UUV and 1-USV. Both Underwater vehicle doing surveying in orthogonal lawnmower motion model. I would like to stay in the range of both vehicle, so they started at the same origin point. I want to…
Jay Patel
  • 1,374
  • 1
  • 8
  • 17
4
votes
1 answer

UnetSocket send() returns a Nonetype object

I am trying out the python code specified in the UnetStack Handbook. While running tx.py and rx.py, UnetSocket object is created successfully as I print it out on the terminal, but the send() function sends Nonetype data at the receiver. tx.py…
Sayali Deo
  • 41
  • 2
4
votes
1 answer

Configuring UnetStack in Intellij IDEA

I'm trying to use IntelliJ IDEA for my UnetStack Project. I'm following this blog https://blog.unetstack.net/using-idea-with-unetstack I get this error when done following this: Error: Could not find or load main class…
pr0py_s
  • 171
  • 9
3
votes
1 answer

How to handle collision for response of a broadcast request?

I am trying to get coordinates from the neighbouring nodes using a broadcast request and store them into lists. I am able to get only one of the responses and I think this happened because of collision between the responses as the nodes have…
Priyansh
  • 131
  • 5
3
votes
1 answer

Configuring a 2-node simulation in IntelliJ IDEA

I'd like to set up a network simulation in IntelliJ IDEA. To do this I'm trying configure the IDE to use the 2-node-network.groovy script included in the package. I can run the simulation script and access the modems through the web interface but…
moerot
  • 131
  • 5
3
votes
1 answer

How to find available neighbors of a node in unetstack

I am developing an energy based routing protocol in which a node has to know its available neighbours, so that it can get the energy details of the neighbour nodes and decide its next hop. a) How to find available neighbours for a node? b) Among the…
3
votes
1 answer

Adding route into routing table using agent

We planned to do final year project in the area of underwater routing protocol (multi-hop communication) using UnetStack. In planned routing protocol, every node has to select its next hop out of many available neighbours. Before going in depth…
ajay
  • 33
  • 2
3
votes
1 answer

RTS/CTS protocol implementation on Unetstack

I am implementing RTS/CTS Handshaking technique in UnetStack. I have written the code for implementing RTS/CTS between 2 nodes (for testing). But I am facing some issues in it. This is on UnetStack IDE (version 1.3). Following are the issues I…
3
votes
2 answers

RxFrameNtf, TxFrameNtf and Ntf.data in unetpy

I am using Unetstack software along with Unetpy. I wish to retrieve transmit and recieve notifications when I run .py file which imports Unetpy python library. I followed this tutorial I am successfully able to connect to the localhost and print…
2
votes
0 answers

Need help in analyzing the graph

For a 2 node network, I've written an agent named "sensor" which sends a datagram req from node A to node B continuously for 5 mintues with a delay of 10 seconds between every datagram. After simulation, with the generated trace.json file i am…
PrajwalB
  • 31
  • 1
2
votes
0 answers

encountering an error while running the simulation for SlottedFama in Unet IDE

I'm trying to run a Slotted FAMA simulation in UNET, but I'm getting a MissingPropertyException when I try to create an instance of the SlottedFama class. When I run the code BenchmarkedScenario1Sim.groovy or any other sample simulation script in…
2
votes
1 answer

Calculating Dropped Packet using trace.json for a simulation in UnetStack3

I want to calculate the number of the dropped packet for a simulation in UnetStack using trace.json file. I know that, in trace.nam file, there is an event recorded with 'd' for every dropped packet but how do I calculate the no of the dropped…
2
votes
1 answer

Calculating performance metrics using trace.json for simulation in UnetStack3

I am working on the tool to calculate different performance metrics (like average end-to-end delay, throughput, packet delivery ratio, etc.) for the simulation of underwater networks in UnetStack3. I have done an implementation in python that parses…
2
votes
1 answer

Calculating end-to-end delay for a multi-hop network simulation using trace.json in UnetStack

I have done simulation for a topology of 3 nodes (Node-A, B, and C). Where Node-A is the source and Node-C is the sink, Node-B is the intermediate node between A and C. Now I want to calculate the end-to-end delay for the packets sent from source to…
1
2 3 4 5 6 7 8