Spatial diversity techniques that are used in terrestrial networks usually utilize multiple antennas on the same device to improve link quality and reliability. Similarly, having multiple hydrophones/transducers on the same underwater node might help with the same but comes with the cost of a significant increase in the size due to the spatial separation that might be needed between transducers. Can we exploit a similar technique to make underwater wireless networks faster and more reliable and make that long-range communication link “just work”? With the capability to exploit distributed spatial diversity, yes you can!
MATLAB is widely known as a high-quality environment for any work that invlolves arrays, matrices or linear algebra and hence is extremely useful for scientific computing. If you are a MATLAB user and wondering if you can interact with the modems running UnetStack, the answer is yes. In this blog, you will learn how to:
Accessing current simulation count
Accessing platform time and clock time
Suppressing simulation progress
Calculating distances between nodes
Programmatically stopping a simulation
Setting log level of the simulation agent
Specifying relative paths for files
Working with GPS coordinates
Distributing nodes randomly
Encoding and decoding PDUs
Using MATLAB to plot results
Using a visual debugger in agent development
UnetStack is bundled with the UnetIDE for developing agents. While the UnetIDE is well integrated with UnetStack, using a more feature rich IDE can be instrumental in boosting productivity when working with larger projects. In this tutorial, we will go through the steps required to create a UnetAgent using the powerful IntelliJ IDEA Java IDE.