drones:mini_drones:object_detection_demo
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| drones:mini_drones:object_detection_demo [2024/01/26 13:13] – removed - external edit (Unknown date) 127.0.0.1 | drones:mini_drones:object_detection_demo [2024/01/26 13:23] (current) – rolf.becker | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== How to Setup the Object Detection Demo ====== | ||
| + | |||
| + | **Materials**: | ||
| + | * Tello drone, ideally with multiples batteries | ||
| + | * Jetson computer (Jetson Xavier NX is the current recommendation) | ||
| + | * Screen, keyboard and mouse | ||
| + | * Router | ||
| + | |||
| + | ===== Preparing Router ===== | ||
| + | |||
| + | In this case we are using the router [[https:// | ||
| + | |||
| + | Check your router manual and configure the **SSID** and **PASSWORD** to connect to the network. In our case all the information is in labels stuck physically on the router. | ||
| + | |||
| + | ===== Preparing Tello ===== | ||
| + | |||
| + | Background information: | ||
| + | * **Station Mode:** \\ The drone is the Access Point. It creates its own Wi-Fi network and provides its own SSID. The client (the Jetson computer) connects to the drone' | ||
| + | * **Access Point Mode:** \\ The drone connects to an existing Wi-Fi access point (AP, SSID) as a client. The Jetson connects to the same SSID. | ||
| + | |||
| + | | {{ : | ||
| + | ^ Station mode ^ | ||
| + | |||
| + | | {{ : | ||
| + | ^ Access Point mode ^ | ||
| + | |||
| + | ==== Set Mode using the Tello CLI ==== | ||
| + | |||
| + | - Download and install the [[https:// | ||
| + | - Reset the Tello' | ||
| + | - Connect to the drone' | ||
| + | - Open a terminal and type: | ||
| + | |||
| + | < | ||
| + | tello set-ap -i | ||
| + | </ | ||
| + | |||
| + | This set the Tello drone in Access Point Mode, the argument '' | ||
| + | |||
| + | |||
| + | ===== Setup Static IP Address for Tello Drones ===== | ||
| + | |||
| + | When the Tello drone is configured in **Access Point Mode** (more details in the next section) the DHCP server automatically assigns an IP on the network, this makes the __ IP of the drone unpredictable__ when connecting to it. To solve this problem you can assign a **static IP to the drone** so that each time it connects to the network it receives the same IP, that way if you have multiple drones on the network each one can have a static IP that identifies it. | ||
| + | |||
| + | If you are using the router ASUS RT-AC51 **check the manual** in **section 4.2.2 DHCP Server** (item number 8). Note that configuring a static IP for a device on the network varies depending on the company or even the router model so check your router manual to perform this configuration. | ||
| + | |||
| + | |||
| + | ===== Running the Demo ===== | ||
| + | |||
| + | < | ||
| + | cd ~/ | ||
| + | python3 main.py | ||
| + | </ | ||
| + | |||
| + | The source code is in github: [[https:// | ||