Skip to content

Preflight Checklist

Thomas Eiszler edited this page Aug 18, 2022 · 1 revision

Backend Preparation

  1. Ensure that the CNC server is running on the cloudlet.
  2. Ensure that the latest version of DroneBrain is built/installed on the watch(es) and that it points at the cloudlet configured above.

Flight Area Preparation

  1. Position landing pad at a safe distance.
  2. Mark landing area with cones.
  3. Keep the drone and watch in a cool shaded area until you are finished with the design and compile steps.

Design

  1. In MyMaps design a flight plan by drawing polygons to define a task area.
  2. In the description field of the placemark, define the task that should be performed at each area. The task predicates are documented here
  3. Once the flight plan is complete, export the plan to .kml/.kmz.

Compile

  1. Use hermes to compile the KML document into an Android .dex file. Ensure that you have provided the correct paths to javac, d8, and the Android SDK. See the hermes documentation for more details.
  2. By default, hermes will generate a file called classes.dex in the steel-eagle/hermes/src directory. This is the default location that the commander UI looks in when sending a flight plan.
  3. hermes may give errors if there are problems with the task predicates or if there is a problem compiling/dexing.

Commander UI

  1. Connect the commander laptop to LTE.
  2. Launch the commander UI from the steel-eagle/cnc/python-client directory ensuring you have specified the correct cloudlet DNS/IP address with -s.
  3. The commander should connect to Gabriel and display the map of Mill 19.

Drone/Watch Preparation

  1. Check to see if the drone needs magnetic calibration by connecting a phone (preferably the one used for FFA calls), to the drone's Wifi, and opening FreeFlight. Calibrate the drone if necessary, and then kill the FreeFlight app.
  2. Carefully attach the drone harness to the body of the drone and launch the DroneBrain app. Screw the lid onto the harness.
  3. Place the drone on the landing pad.

Execution via Commander UI

  1. Once the drone has connected to gabriel, the commander should then show the drone in the list of Available Drones.
  2. Hit the Fly button and select the .dex file generated in the hermes section.
  3. The drone should download the flight plan and begin flight.