User Tools

Site Tools


drones:mini_drones:object_detection_demo

This is an old revision of the document!


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 ASUS model RT-AC51. You can get the manual from here

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: The drone can be in two possible connection modes:

  • Station mode: The drone creates a Wi-Fi network and the client (in this case the computer) connects to the drone's Wi-Fi.
  • Access Point mode: The drone works as a client; meaning that the drone connects to an existing Wi-Fi network.
Station mode
Access Point mode

Set Mode using the Tello CLI

  1. Download and install the tello-js package. This package includes a CLI tool that allows you to configure the drone.
  2. Reset the Tello's Wi-Fi to factory configuration. To do so press and hold the power button for 5 seconds, the drone will restart with default configuration (Station Mode, no password)
  3. Connect to the drone's Wi-Fi
  4. Open a terminal and type:
tello set-ap -i

This set the Tello drone in Access Point Mode, the argument -i start the setup in interactive mode, for more details of the CLI check the README.md file from the tello-js repo.

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 ~/tello-controller-jetson
python3 main.py

The source code is in github: tello-controller-jetson

drones/mini_drones/object_detection_demo.1706271303.txt.gz · Last modified: 2024/01/26 13:15 by rolf.becker