Skip to content

Commit

Permalink
Add ip address instead of CRTP address to fpv example
Browse files Browse the repository at this point in the history
This example needs to connect to the crazyflie over tcp.
  • Loading branch information
ToveRumar committed Jun 27, 2024
1 parent 37624e0 commit 1220b44
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/aideck/fpv.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@

logging.basicConfig(level=logging.INFO)

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

CAM_HEIGHT = 244
CAM_WIDTH = 324
Expand Down

0 comments on commit 1220b44

Please sign in to comment.