Skip to content

Commit 02ea36f

Browse files
authored
Merge pull request #460 from bitcraze/toverumar/fpv_fix
Add ip address instead of CRTP address to fpv example
2 parents ad3b4da + a93844a commit 02ea36f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/aideck/fpv.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@
6868

6969
logging.basicConfig(level=logging.INFO)
7070

71-
URI = uri_helper.uri_from_env(default='radio://0/80/2M/E7E7E7E7E7')
71+
# If you have set a CFLIB_URI environment variable, that address will be used.
72+
URI = uri_helper.uri_from_env(default='tcp://192.168.4.1:5000')
73+
# 192.168.4.1 is the default IP address if the aideck is Access point.
74+
# If you are using the aideck as a station, you should use the assigned IP address
75+
# 5000 is the default port for the aideck
7276

7377
CAM_HEIGHT = 244
7478
CAM_WIDTH = 324

0 commit comments

Comments
 (0)