Questions tagged [unetstack]

Questions on UnetStack underwater stack and network simulator

Questions related to the UnetStack underwater stack and network simulator.

118 questions
1
vote
1 answer

unetstack : Could not find matching constructor

I tried simulating the AbstractAcousticChannel example given in the documentation(https://www.unetstack.net/channels.html#extending-the-abstractacousticchannel) I have encountered the following error, groovy.lang.GroovyRuntimeException: Could not…
1
vote
1 answer

Adding noise function to a channel model

I have noise function and I want to add it to my own channel model, where can I get more information about the channel model other than the documentation.
1
vote
1 answer

The default unit of the simulation time in the simulation script in Unetstack simulator

I am running an simulation script in UnetStack simulator using DiscreteEventSimulator platform. I was wondering, what is the default time unit of the simulation time T if I don't specify one, does the simulator consider it in seconds? Should I…
1
vote
0 answers

Convolution decoding using viterbi algorithm in unetstack

I have tried to implement convolution decoding using Viterbi algorithm in unetstack. However, there are some issues that I am facing. The data is not getting sent to node 2. (arr - line 43 of MulAgent.groovy ) In some cases getting an…
abha
  • 11
  • 1
1
vote
2 answers

"UnetStack libraries missing" error received when trying to run UnetStack simulation script from command line

I am trying to run my UnetStack simulation script using command line. My simulation file is in the sample folder, and I open a terminal window in the unet folder (where README.txt exists). I followed the README.txt instructions, and I tried to run…
1
vote
1 answer

Information about energy of a node

I want to get the information about the energy in the node, so those neighbouring nodes can reroute the data packets when the neighbouring node energy is less.
1
vote
1 answer

Regarding Transmission and receiving Acknowledgement in UnetStack MAC layer

Implementing Acknowledgement mechanisms in unetstack Kindly provide information of implementing transmission/receiving of acknowledgement in MAC layer using UnetStack
1
vote
1 answer

Unetstack C API with Unetsim simulator

I am trying to run the C API for Unetstack. I have been trying to run the test code here. I am running 3-node-network.groovy from the unetsim-1.4 sample code in my terminal to use as my modem network. I am using unetsim-1.4a for linux for my…
0
votes
1 answer

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.groovy.vmplugin.v7.Java7$1…
Raju
  • 11
  • 2
0
votes
1 answer

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 but still facing alot of difficulties. Please…
Raju
  • 11
  • 2
0
votes
1 answer

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 5sec) and after a 5sec we need to send data from…
0
votes
1 answer

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
0
votes
1 answer

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 README documentation,and error running S-FAMA…
0
votes
0 answers

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 to the This reply, I analyzed the trace.json…
0
votes
1 answer

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.
kumars45
  • 31
  • 5