Questions tagged [unetstack]
Questions on UnetStack underwater stack and network simulator
115
questions
1
vote
1
answer
14
views
Role of transport layer in UWSNs
How and exactly where transport layer comes into picture, especially when a sensor node sends data to other sensor node? (Also can you suggest some resources to study about data transfer in UWSNs)
I ...
1
vote
0
answers
27
views
"BUG! exception in phase 'semantic analysis' ...The lookup for startnode caused a failed compilation"- Error while trying to load the agent
I am trying to implement a routing algorithm in which node A first sends RouteDiscoveryReq to a non-existent node to find its neighbours. Its neighbours, a1 and a2, on receiving a RouteDiscoveryNtf ...
1
vote
0
answers
18
views
Error while trying to run 2-node-network.groovy example
I am trying to learn and get comfortable with Unetstack so i thought that it would be a good idea to run through the examples to get some understanding. The problem however is that i run into an error ...
1
vote
1
answer
51
views
How to examine the efficiency of the FEC (Forward Error Correction) algorithm implemented in Unet audio?
What is the appropriate procedure to be followed to examine the efficiency or to identify limitations of the FEC algorithm, which is currently implemented in the Unet audio?
I wanted to analyze how ...
1
vote
1
answer
33
views
How is Forward Error Correction implemented in Unet audio?
How is Forward Error Correction implemented in Unet audio, and what approach should be used to work on the existing algorithm or to add a new FEC technique to the Unetstack?
1
vote
1
answer
47
views
How to examine the working of FEC(Forward Error Correction) in the Unetstack simulator?
What is the procedure for understanding how the FEC mechanism in the Unetstack works, and what algorithm it uses to detect and correct the errors?
To understand, how FEC(Forward Error Correction) is ...
2
votes
0
answers
44
views
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....
1
vote
1
answer
38
views
Basic Acoustic model: Absorption and Interference
The Unetstack handbook refers to Urick's classic book 'The Principles of Sound', pp 105-111, 3rd Ed for transmission loss. There are many causes for absorption described therein. What is accounted for ...
0
votes
1
answer
104
views
Illegal reflective access while running simulation in UnetStack
bin/unet samples/2-node-network.groovy running this line throws the following error.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus....
0
votes
1
answer
31
views
How can I improve my knowledge on Underwater routing protocols using Unetstack?
I am new to Unetstack and the programming too.
I am in my first year of Ph.D and I would like to continue my research on Underwater Routing Protocols using Unetstack. I am following the Unet handbook ...
0
votes
0
answers
46
views
Here I am Trying to find the status of node but unable to resolve what error every node is just printing void
Here i first find all the neighbours of node and then find depth of all neighbours and then send a rangereq to sink(node-1) if node directly connected to sink then node is normal or if not connected ...
0
votes
1
answer
67
views
How to transmit dataframes to all possible paths from source to sink?
Suppose we have a topology as below.we need to send data from node 1 to node 4.we can send data via node 6 or node 2 .We need to send data from node 1 to node 4 via node 6 for some time interval(say ...
0
votes
1
answer
35
views
How to remove a route in the groovy code without using a agent in unetstack?
As with unetstack shell we can delete a route but how to delete a route in the groovy code without using the Agent
1
vote
1
answer
32
views
How to cancel transmission of messages of a particular protocol?
I want to cancel the transmission of messages which use DATA protocol. How to use clear Req to cancel the transmission of messages which use DATA protocol but not others messages which use different ...
0
votes
1
answer
22
views
What is the impact of upgrading the "RxFrameStartNtf" API to "RxClockNtf" API on the performance of SFAMA protocol simulation?
I need to simulate S-FAMA protocol for underwater acoustic sensor network,but the results of the code(unet-contrib/contrib/S-FAMA/) running in the some version (UNETSIM 1.3,1.4) are different from the ...
0
votes
0
answers
82
views
Calculating End-to-End delay for multihop simulation in UnetStack
I created a 3-node network, where Node-A sends data packets to Node-C via Node-B after every 5 sec. The simulation time is 1 minute. So, in 60 seconds Node-A will send 11 packets to Node-C. According ...
1
vote
1
answer
103
views
Finding the correct traversal path for a packet
Suppose a scenario similar to the above image where Node-A and Node-B are sending data to Node-D via Node-C. Node-A and Node-B each sent one data packet to Node-D. Node-A sent one msg with msg-id = 1 ...
1
vote
1
answer
71
views
Throughput calculation of a simulation in UnetStack using trace.json file
I'm developing a trace analyzer tool for UnetStack. My tool can determine TxCount, RxCount, and end-to-end delay for each successfully received packet by using a simulation's trace.json file. Next, I ...
0
votes
0
answers
24
views
Extra Transmission Event logged in the trace.json file
I have created a 4 node network, where node-A and Node-B are routed to send data to node-D via node-C. I sent one data packet from node-A to node-D via node-C. While analyzing the trace.json file, I ...
0
votes
1
answer
56
views
How to delete route to a particular node in the agent?
I want to delete routing entries from routing table to a node 1 from the agent but i am not able to figure out how to write code for deleting routing entries to a particular node through my own agent.
0
votes
1
answer
31
views
How to check whether CRC is working correctly in the custom phy agent in unetaudio?
I have implemented CRC8 instead of parity byte which is used in the given implementation of custom phy agent as mentioned in this unetstack blog. CRC is working fine when the received data is same as ...
1
vote
1
answer
39
views
Routing Information Using trace.json file
Can I get the routing information using the trace.json file?
Suppose I created a 3-node network.
node 'A', address: 1, location: [ 0.km, 0.km, 0.m],
node 'B', address: 2, location: [ 0.km, 0.km, -900....
0
votes
1
answer
54
views
Using MATLAB with UnetStack3
Where I can find the UnetStack API documentation in other programming languages except groovy? I am trying to use MATLAB with UnetStack3. I went through the blog available for the same and was able to ...
1
vote
1
answer
33
views
How to make data structure global in unetstack so that multiple agents can update information in that data structure?
Currently i have created 2D array containing neighbor information in one of the agents. I want this array to be global so that other agents can also access this array and update the information in the ...
0
votes
1
answer
42
views
How to connect two computers using unet audio?
I want to connect two computers using unet audio, so i can transmit and receive on different computers. I am not able to connect two computers. Please help me with this.
2
votes
1
answer
62
views
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 ...
2
votes
1
answer
80
views
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 ...
1
vote
1
answer
33
views
How can we write our own custom AT commands?
Is there a way that we can write a custom AT command for unetstack/subnero modems ? I refered Chapter 12 but could not find this information.
0
votes
1
answer
108
views
Trace visualization tool (VizTrace) for UnetStack JSON trace files
I am trying to use the VizTrace Trace visualization tool. I install Julia on the system successfully. When I am trying with command - julia --project viztrace.jl trace.jso. I am getting some errors as ...
1
vote
1
answer
188
views
How to calculate the received power or SNR based on rssi value in the RxJanusFrameNtf?
When I send a Janus frame between two nodes, at the receiving side in RxJanusFrameNtf there is rssi value,
How to calculate the received power or the SNR using rssi?
2
votes
1
answer
85
views
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-...
0
votes
0
answers
54
views
How trace.json can be used in calculating performance metrics
I am implementing an energy-based routing protocol. I want to analyze the protocol performance using the trace.json file. I wanted to know Whether trace.json has sufficient information to calculate ...
1
vote
2
answers
70
views
Unicast Frame using Janus channel
I want to send a Janus frame to specific node not a broadcast message in a 4-node network, how to do that? and how to calculate the transfer time to that node?
0
votes
0
answers
72
views
Error: Could not find or load main class org.arl.unet.UnetBoot in 2 Nodes communication
I am a beginner and trying to use Unetstack on Windows 10 to make 2 nodes communication but I get this error in the cmd
Error: Could not find or load main class org.arl.unet.UnetBoot
Can anyone help, ...
1
vote
1
answer
61
views
Multicasting of packet in UnetStack
I want to implement an opportunistic routing protocol in UnetStack to transmit a packet to more than one neighbor node. How can I proceed with that?
1
vote
1
answer
61
views
UnetStack : How to get an automatic transmission of data between two modems 2
I already asked a question 1 week ago about a problem that I have. I have two subnero WNC-M25MSS3 modems, my goal is to realize a 2 nodes network. I've created scripts to request data from one modem ...
0
votes
0
answers
57
views
UnetStack : How to get an automatic transmission of data between two modems
I have two subnero WNC-M25MSS3 modems, my goal is to realize a 2 nodes network. They are made of co-processor and Janus protocol.
During my future deployment at sea, the modem named A will be located ...
0
votes
2
answers
136
views
How to generate hash using md5 in unetstack?
i want to generate hash value for location in unetstack using MD5 alorithm in groovy language but i do not know how to do it. if anybody know please help me.
1
vote
1
answer
85
views
How to add custom preamble to the signal?
We are having our custom preamble that we wish to add to the signal, Is there a way to save the custom preamble to the modem and load it to phy[3] as shown in UnetDocumentation(sec 16.4).
Is there any ...
1
vote
0
answers
43
views
Adding a new node in the topology after the given time interval
I am writing an algorithm for which I want to add new nodes in the topology after every 1 minute for 5 minutes. Initially the topology contains 5 nodes, so after 5 minutes it should have total 10 ...
1
vote
0
answers
55
views
Creating multiple UnetSockets in UnetStack to exhaust the server
I am trying to implement an attack similar to a normal SYN flood attack in my network created on UnetStack. As UnetSocket() requires parameters like api and localhost to create a socket, providing ...
4
votes
1
answer
157
views
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). ...
4
votes
1
answer
94
views
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 ...
2
votes
2
answers
80
views
Simple way to send fake RxFrameNtf on API port
Can I send fake RxFrameNtfs/DatagramNtfs to an app that is connected to the API from a webshell?
I.e. in the modems websh I wish create an ntf:
dgntf = new org.arl.unet.DatagramNtf(from:2,to:1,data:...
2
votes
1
answer
117
views
Exception in simulator agent when implementing localization algorithm
I have implemented a localization algorithm with 4 nodes topology and it is working fine but in the log file I am getting this error and I am not able to understand where the problem is. The algorithm ...
4
votes
1
answer
170
views
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 ...
2
votes
1
answer
52
views
Where do I find the the set of protocols available to use for each layer in the unet stack?
I am trying to develop a customised protocol stack for the unet simulator. I want to know the options available to me for each layer.
Also I want to use existing protocols rather develop them from ...
1
vote
1
answer
73
views
Response to Remote access to Unet Agents for GNURadio
I was wondering what did the Unetstack agent expect as a response to a TCP connection which is established to the modem at ip:port ?
I was trying to connect to the the modem using the TCP connection ...
3
votes
1
answer
75
views
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 ...
2
votes
1
answer
61
views
Sleep mode and duty cycling in UnetStack, and adding energy consumed in idle listening, and sleeping modes into a simple energy model
I have two questions:
We want to consider a very low transmission duty cycle in our underwater sensor network,as it is the power consumption in listening and sleep mode that will dominate our ...