-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
7,608 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[deps] | ||
VirtualAcousticOcean = "629e117c-1786-4222-ab4a-1acab234d923" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/*-- scss:defaults --*/ | ||
|
||
// fonts | ||
$font-family-sans-serif: Inter, Helvetica, sans-serif; | ||
|
||
|
||
|
||
/*-- scss:rules --*/ | ||
|
||
.reveal h1, | ||
.reveal h2 { | ||
font-family: Inter, Helvetica, sans-serif; | ||
} | ||
|
||
.reveal blockquote { | ||
font-size: 0.6em; | ||
padding: .5rem 1rem; | ||
} | ||
|
||
.quarto-figure { | ||
margin-bottom: 0.2em; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,201 @@ | ||
--- | ||
title: "Demonstrations" | ||
author: "Chinmay Pendharkar (Subnero)" | ||
format: | ||
revealjs: | ||
theme: [night, custom.scss] | ||
--- | ||
|
||
## Agenda | ||
- How to use Subnero modems | ||
- How to use UnetStack simulator (VAO) | ||
- Hands-on session with UnetStack simulator (VAO) | ||
- Q&A | ||
|
||
## Modem concepts | ||
- IP address (static + dynamic) | ||
- Web Shell vs API (JSON/TCP) | ||
- Power Level (`plvl`) | ||
- `node.address` | ||
- `CONTROL` vs `DATA` channel | ||
|
||
## Demos for today {.smaller} | ||
1. Connect to modems | ||
a. Acoustic ping | ||
b. Send a text message (`tell`) | ||
c. File transfer (`putfile`) | ||
2. VirtualAcousticOcean | ||
a. Acoustic ping | ||
b. Send a text message (`tell`) | ||
c. File transfer (`putfile`) | ||
d. Profiles | ||
e. LinkTuner & Speedtest | ||
3. Ripple | ||
|
||
## 1. Connect to modems | ||
|
||
## Setup (Physical) | ||
 | ||
|
||
## 1a. Acoustic ping | ||
 | ||
|
||
> `ping 100` | ||
## 1a. Acoustic ping | ||
- Single `CONTROL` frame to and fro | ||
- Routing (if required) | ||
|
||
## 1b. Send a text message (`tell`) | ||
 | ||
|
||
> `tell 100 "Hello, world!"` | ||
## 1b. Send a text message (`tell`) | ||
- `remote << new RemoteTextMessage()` | ||
- Multiple `CONTROL` + `DATA` frames | ||
- Fragmentation + reassembly | ||
- Routing (if required) | ||
|
||
## 1c. File transfer (`putfile`) | ||
 | ||
|
||
> `putfile 100 "file.txt"` | ||
::: {.notes} | ||
``` | ||
logLevel "org.arl.unet.remote", FINEST | ||
plvl 0 | ||
subscribe remote | ||
remote.enable = true | ||
... | ||
logLevel "org.arl.unet.remote", FINEST | ||
plvl 0 | ||
subscribe remote | ||
uwlink.dataRate | ||
ls | ||
progress true | ||
fput 230, 'setup.jpeg' | ||
``` | ||
::: | ||
|
||
## 1c. File transfer (`putfile`) | ||
- `remote << new RemoteFilePutReq()` | ||
- Multiple `CONTROL` + `DATA` frames | ||
- Fragmentation + reassembly | ||
- Routing (if required) | ||
- Erasure coding + opportunistic gzip | ||
|
||
## 2. VirtualAcousticOcean | ||
- Framework to simulate underwater acoustics | ||
- Multiple propogation models (PekerisRayModel, etc) | ||
- Integrates with UnetStack | ||
- Written in Julia lang | ||
- [Open Source](https://github.com/org-arl/VirtualAcousticOcean.jl) | ||
|
||
## Setup (Virtual) | ||
 | ||
|
||
## 2a. Acoustic ping | ||
|
||
## 2b. Send a text message (`tell`) | ||
|
||
## 2c. File transfer (`putfile`) | ||
 | ||
|
||
> `putfile 100 "file.txt"` | ||
::: {.notes} | ||
``` | ||
logLevel "org.arl.unet.remote", FINEST | ||
plvl 0 | ||
subscribe remote | ||
remote.enable = true | ||
... | ||
logLevel "org.arl.unet.remote", FINEST | ||
plvl 0 | ||
subscribe remote | ||
uwlink.dataRate | ||
ls | ||
progress true | ||
fput 230, 'setup.jpeg' | ||
``` | ||
::: | ||
|
||
## 2d. Profiles | ||
 | ||
|
||
> `profile 8` | ||
::: {.notes} | ||
``` | ||
uwlink.dataRate | ||
profile 8 | ||
uwlink.dataRate | ||
tell 230, 'Hello, world!' | ||
... | ||
subscribe phy | ||
// then set profile on the receiver device | ||
``` | ||
::: | ||
|
||
## 2d. Profiles | ||
- Hand picked modulations parameters | ||
- Only changes `DATA` channel | ||
|
||
## 2e. LinkTuner & Speedtest | ||
 | ||
|
||
> `tuner << new LinkTuneReq(to: 100)` | ||
::: {.notes} | ||
``` | ||
tuner << new LinkTuneReq(to: 100) | ||
uwlink.dataRate | ||
ls | ||
progress true | ||
fput 230, 'setup.jpeg' | ||
``` | ||
::: | ||
|
||
## 2e. LinkTuner | ||
- Probe based link tuning | ||
- Uses `CONTROL` channel for synchronization | ||
- Only changes `DATA` channel | ||
- Heuristic based tuning policy | ||
|
||
## 3. Ripple | ||
 | ||
|
||
## 3. Ripple | ||
- Unet Simulator (UnetSim) | ||
- Simulates an AUV moving (motion model) | ||
- Uses JSON/TCP API in Python | ||
- Simulated Optical/RF Link in UnetSim | ||
- UnetSim for Acoustic link | ||
|
||
|
||
## Hands on Session (VAO) | ||
{fig-align="center" height=200} | ||
|
||
|
||
::: {style="font-size:0.8em"} | ||
|
||
- node1 : `29` => http://192.168.10.124:8080 | ||
- node2 : `230` => http://192.168.10.124:8082 | ||
- node3 : `179` => http://192.168.10.124:8081 | ||
- node4 : `65` => http://192.168.10.124:8083 | ||
- node5 : `24` => http://192.168.10.124:8084 | ||
- node6 : `239` => http://192.168.10.124:8085 | ||
|
||
::: | ||
|
||
|
||
## Hands on Session (VAO) | ||
- `node` | ||
- `uwlink` | ||
- `phy` | ||
- `phy[CONTROL]` | ||
- `phy.noise` | ||
- `ping <node-addr>` | ||
- `tell <node-addr>, hello` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
unetstack-demos/index_files/libs/quarto-html/quarto-html.min.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
Oops, something went wrong.