Skip to content

Commit 1048781

Browse files
authored
Merge pull request #75 from OpenIPC/BlackFox-org-patch-5
Update APFPV.md
2 parents 33e762d + 53fe6c0 commit 1048781

File tree

1 file changed

+23
-26
lines changed

1 file changed

+23
-26
lines changed

src/content/docs/use-cases/fpv/APFPV.md

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -320,14 +320,13 @@ Unlike complex mesh networking systems (WFB-NG, RubyFPV), APFPV:
320320
- Provides easy web-based configuration
321321

322322
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
323324

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
325328

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.
331330

332331
```bash
333332
#!/bin/bash
@@ -382,27 +381,25 @@ done
382381
echo ""
383382
echo "[✓] evrything done, end of script"
384383
```
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:
388385

389386
```bash
390387
nmcli device disconnect wlan0
391388
```
392389

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.
394391

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.
399396
```bash
400397
/etc/ap_alink.sh &
401398
````
402-
save the file
403-
step 3 : go to putty and type
399+
400+
3. SSH into it(putty can be used) and type:
404401

405-
````bash
402+
```bash
406403
chmod +x /etc/ap_alink.sh
407404
```
408405

@@ -417,8 +414,8 @@ bitrate=4
417414
bitratemax=10
418415
````
419416
420-
power is not adaptive yet
421-
417+
Power output is not adaptive yet.
418+
```bash
422419
get_dynamic_interval() {
423420
dbm=$(get_dbm)
424421
echo $(awk -v d="$dbm" 'BEGIN {
@@ -429,8 +426,9 @@ get_dynamic_interval() {
429426
else print 1;
430427
}')
431428
}
432-
this function allow 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 function allows 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
434432
get_dynamic_decrease() {
435433
dbm=$(get_dbm)
436434
echo $(awk -v d="$dbm" 'BEGIN {
@@ -440,10 +438,9 @@ get_dynamic_decrease() {
440438
else print 20;
441439
}')
442440
}
441+
```
442+
Same thing as get dynamic interval, but it will lower bitrate faster or lower depends of link quality.
443443
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 for d > dbm and see in 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 for d > dbm and see in 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
449446

0 commit comments

Comments
 (0)