You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
APFPV bridges the gap between complex FPV systems and simple solutions, making FPV accessible to everyone while supporting professional equipment for advanced users.
323
+
## APFPV with Runcam-RX or other GS that have many net cards
323
324
324
-
##APFPV with runcam gs or other gs that got many wifi card
325
+
1. Download the latest APFPV radxa image [here](https://github.com/OpenIPC/sbc-groundstations/) and click on APFPV v0.0.1 link
326
+
2. Flash SD card using balena etcher or other similar software
327
+
3. Once finished you just need to modify stream.sh and firstboot.sh
325
328
326
-
step 1 : download APFPV radxa img at this link https://github.com/OpenIPC/sbc-groundstations/ and click on APFPV v0.0.1 link
327
-
step 2 : flash sd card using balena etcher or other similar software
328
-
setp 3 : once finish we need to modify stream.sh and firstboot.sh
329
-
330
-
in /script/firstboot.sh copy this block of code that will shearch external wifi card at the beginning of the file it should replace the wlan0 connection script.
329
+
In /script/firstboot.sh copy this block of code that will shearch external wifi card at the beginning of the file it should replace the ```wlan0``` connection script.
331
330
332
331
```bash
333
332
#!/bin/bash
@@ -382,27 +381,25 @@ done
382
381
echo""
383
382
echo"[✓] evrything done, end of script"
384
383
```
385
-
step 4 : in stream.sh disable wlan0 using nmcli
386
-
387
-
copy this line :
384
+
4. In stream.sh disable ```wlan0``` using nmcli by pasting this line:
388
385
389
386
```bash
390
387
nmcli device disconnect wlan0
391
388
```
392
389
393
-
thats all now put the sd card on your vrx and boot it, you will get 2 wifi interface connect to apfpv credential, and with ip route it will pick the best wifi card every time to connect, the range will increase significantly.
390
+
Thats all, now put the SD card in your vrx and turn it ON, you will get 2 wifi interfaces connected to APFPV credentials, and with ip route it will pick the best wifi card every time, the range should increase significantly.
394
391
395
-
###using adaptive link
396
-
adaptive link will modify the bitrate to keep link alive, it still exprimental stage
397
-
step 1 : download from github https://github.com/carabidulebabat/CaraSandbox/blob/main/ap_alink.sh
398
-
step 2 : modify rc.local in /etc/ folder and add before exit 0
392
+
###Using APAlink
393
+
APAlink will modify the bitrate on the fly to keep link alive, it still on exprimental stage, use on your own risk!
394
+
1. Download it from [GitHub](https://github.com/carabidulebabat/CaraSandbox/blob/main/ap_alink.sh).
395
+
2. Modify rc.local in /etc/ folder and add before exit 0 and save the file.
399
396
```bash
400
397
/etc/ap_alink.sh &
401
398
````
402
-
save the file
403
-
step 3 : go to putty and type
399
+
400
+
3. SSH into it(putty can be used) and type:
404
401
405
-
````bash
402
+
```bash
406
403
chmod +x /etc/ap_alink.sh
407
404
```
408
405
@@ -417,8 +414,8 @@ bitrate=4
417
414
bitratemax=10
418
415
````
419
416
420
-
power is not adaptive yet
421
-
417
+
Power output is not adaptive yet.
418
+
```bash
422
419
get_dynamic_interval() {
423
420
dbm=$(get_dbm)
424
421
echo$(awk -v d="$dbm"'BEGIN {
@@ -429,8 +426,9 @@ get_dynamic_interval() {
429
426
else print 1;
430
427
}')
431
428
}
432
-
this functionallow to increase the bitrate faster or lower depends on link quality in dbm you can modify the d value to set the sensitivity of ap alink
433
-
429
+
```
430
+
This functionallows to increase the bitrate faster or lower depends on link quality in dbm. You can modify the d value to set the sensitivity of APAlink.
431
+
```bash
434
432
get_dynamic_decrease() {
435
433
dbm=$(get_dbm)
436
434
echo$(awk -v d="$dbm"'BEGIN {
@@ -440,10 +438,9 @@ get_dynamic_decrease() {
440
438
else print 20;
441
439
}')
442
440
}
441
+
```
442
+
Same thing as get dynamic interval, but it will lower bitrate faster or lower depends of link quality.
443
443
444
-
same thing at get dynamic interval will lower bitrate faster or lower depends of link quality.
445
-
446
-
I suggest to try different value ford > dbm and seein flight
447
-
you can killall ap_alink.sh and type sh /etc/ap_alink.sh to execute script with log, log will show current bitrate, interval and dbm
448
-
thats all for the moment
444
+
I suggest to try different value ford > dbm and seein flight.
445
+
You can killall ap_alink.sh and type sh /etc/ap_alink.sh to execute script with log, log will show current bitrate, interval and dbm. Thats all for APAlink at the moment
0 commit comments