Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhh/deadeye-comm-sim
Simulate the robot for testing deadeye networking
https://github.com/jhh/deadeye-comm-sim
Last synced: 27 days ago
JSON representation
Simulate the robot for testing deadeye networking
- Host: GitHub
- URL: https://github.com/jhh/deadeye-comm-sim
- Owner: jhh
- Created: 2018-12-13T16:56:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-19T17:51:25.000Z (almost 6 years ago)
- Last Synced: 2024-12-16T03:42:12.161Z (about 1 month ago)
- Language: Java
- Size: 268 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# deadeye-comm-sim
Test communication protocol between Android phone used for vision system and host. The networking is TCP/IP over an USB tether via RNDIS. Tested with [HoRNDIS](https://joshuawise.com/horndis) on macOS.
## USB Network Configuration
![HoRNDIS Config](HoRNDIS.png)## Example
```
➜ ./gradlew installDist
➜ ./build/install/comm-demo/bin/comm-demo
Starting pings to 192.168.42.129:5555 at 100 ms interval.
Listening for pongs on port 5555 with limit 400 ms.
DISCONNECTED
12/13/18 12:05:48 PM ===========================================================-- Histograms ------------------------------------------------------------------
Latency (ms)
count = 0
min = 0
max = 0
mean = 0.00
stddev = 0.00
median = 0.00
75% <= 0.00
95% <= 0.00
98% <= 0.00
99% <= 0.00
99.9% <= 0.00-- Meters ----------------------------------------------------------------------
FPS
count = 0
mean rate = 0.00 events/second
1-minute rate = 0.00 events/second
5-minute rate = 0.00 events/second
15-minute rate = 0.00 events/secondCONNECTED
12/13/18 12:05:58 PM ===========================================================-- Histograms ------------------------------------------------------------------
Latency (ms)
count = 189
min = 0
max = 34
mean = 13.54
stddev = 6.47
median = 10.00
75% <= 18.00
95% <= 27.00
98% <= 32.00
99% <= 34.00
99.9% <= 34.00-- Meters ----------------------------------------------------------------------
FPS
count = 189
mean rate = 9.33 events/second
1-minute rate = 2.85 events/second
5-minute rate = 0.60 events/second
15-minute rate = 0.20 events/second
```