---
description: >-
  A checklist of what requires to be ensured before a flight with the new DiaB
  system runs smoothly and as desired.
---

# First Flight Setup

With the new DiaB system fully set up and ready to go, the operator can now move on to planning and executing the first flight!

## **Mark the drone's landing location**

Let's start with stationing the drone and box at the desired location. The operator can place the box on any surface - be it an industrial site, rooftop, or truck bed.&#x20;

Next, you'll need to mark this location on FlytBase. [<mark style="color:blue;">DiaB Setup</mark> ](../diab-setup)section will help in performing this step.

## Configure Precision Landing

FlytBase's Precision Landing module can be configured to enable the drone to stably land itself on the docking station (DS). Every box has an ArUco marker on its landing pad, which the drone uses to accurately position itself before landing.

Visit the [<mark style="color:blue;">Precision Landing</mark>](../features/settings/precision-landing) section for setting up the module for the Docking Station.

## Updating your dashboard settings

### Failsafes

Now that the drones have a new 'home' to go to after completing a flight (i.e., the DS), the operator can set appropriate safety actions, such as **Return to Docking Station (RTDS)** and **Return to Safe Location (RTSL)**, **Land** during events such as a low battery or network connectivity loss.

{% hint style="info" %}
Navigate to the [<mark style="color:blue;">Failsafe</mark>](../features/settings/failsafe) section for help in setting these actions for the drones.
{% endhint %}

### Drone media

To ensure high-quality data capture during an automated mission, it is advisable to have all media stored on the drone SD Card.

To do this, go to the **Media** section of the dashboard settings and set **Save Media Location** to **SD Card**.

FlytBase's [<mark style="color:blue;">cloud media sync</mark>](../features/logs/gallery/cloud-media-sync) feature helps the operator seamlessly transfer the images from the drone's SD card to the respective private cloud storage.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FIjcK7q4b1yOufSECH0xf%2Fimage.png?alt=media&#x26;token=156e9a1e-5276-4bc9-bd49-55bec486dd44" alt=""><figcaption><p>Media settings</p></figcaption></figure>

### Collision Avoidance (Optional)

For best flight performance, it is recommended to enable DJI's Collision Avoidance module through the FlytBase dashboard by navigating to [<mark style="color:blue;">Collision Avoidance</mark>](../features/settings/collision-avoidance) in Settings.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2Fkvp1ZKkWqcWCWBnWMDKk%2Fimage.png?alt=media&#x26;token=4619cae8-b0db-4ed3-bde3-514f43ca325a" alt=""><figcaption><p>Collision Avoidance settings </p></figcaption></figure>

## Execute your first mission

With all settings configured for flight, the operator is now ready to plan the mission. To do this, follow the steps described in [<mark style="color:blue;">Creating a Mission</mark> ](../features/planning/missions)section.

And to schedule, this mission at recurring intervals, the [<mark style="color:blue;">Mission Scheduler</mark>](../features/planning/schedule) section can help in doing so.

### Docking station routines

Executing a mission involves a series of routines that the DS performs to get the drone up in the air, maintain its battery health, and initiate battery swapping/charging. The DS executes routines that are in the [<mark style="color:blue;">Docking Station Utility</mark> ](../../features/operations/docking-station#docking-station-utility)window on the FlytBase dashboard. The docking station goes through these routines to prepare the drone before it takes off and after it lands, this also helps in procuring drone safety and smooth proceedings.

Now everything is ready to execute a mission. Navigate to the [<mark style="color:blue;">Mission Planner</mark>](../features/planning/missions) section for help running the mission.

{% hint style="warning" %}
Before executing a mission, ensure that the drone and docking station are on & linked and even the RC Power is turned on.
{% endhint %}

### Enable Landing Verification

To ensure that the docking station enclosure closes only when the drone has safely landed inside the station, it is recommended that the user enables landing verification in the docking station settings. The Docking station auto mode must be enabled to use this feature.\
\
**How this works:** Once the drone lands inside the box, it looks for the ArUco markers on the enclosure panel and confirms a safe landing.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FwJaL0xPyRJP695tBmAM3%2Fimage.png?alt=media&#x26;token=646d5bb5-ec5e-4f12-b9d2-6afb9b2d59c2" alt=""><figcaption><p>Landing Verification</p></figcaption></figure>

{% hint style="warning" %}
The Landing verification feature works only with the docking stations equipped with ArUco markers on the inside of the front panel of the enclosure.
{% endhint %}

{% hint style="info" %}
currently supported ds are Hextronics and Idiployer
{% endhint %}

### Executing a mission in manual mode

While running missions in manual mode, the operator will be required to execute the appropriate DS routine at each stage of the flight.

When the mission starts, initially the operator will need to trigger the **Pre-take** routine. This is will appear as a pop-up, which the operator can execute with the click of a button.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FwvAv0GfCl1faWYv9MPO8%2Fimage.png?alt=media&#x26;token=525d3103-bae9-4e53-bf60-49ff5811ad78" alt=""><figcaption><p>Trigger Pre-take off</p></figcaption></figure>

Next, the operator needs to run the [<mark style="color:blue;">pre-flight checklist</mark>](../features/settings/checklist) to ensure the right mission configuration and required parameters for a smooth flight. When the operator has checked all items, click on **Execute**.

The drone will now take off to the prefixed altitude of the first waypoint. The operator will be able to verify successful take-off via the telemetry info on the left panel or the live drone feed on the top-right of the dashboard.

The operator will now see a dialogue box at the bottom of the screen to confirm if the drone has taken off. If the drone has taken off, click **Yes**; otherwise, click **No**. Next, execute the **Post-takeoff** routine.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FtaSwCnqmBLBnzBppe6m8%2Fimage.png?alt=media&#x26;token=d1214499-44ad-4431-a9a8-011fcf6c2ae1" alt=""><figcaption><p>Trigger post take off</p></figcaption></figure>

When the drone completes traversing all the waypoints, the mission finish action will be triggered (in this case, RTDS). The operator will now be prompted to execute the **Pre-land** routine as the drone approaches the DS for landing.

The operator will be able to verify the successful landing via the telemetry info on the left panel or the live drone feed on the top-right of the dashboard. If the drone has landed, click **Yes** on the dialogue box at the bottom of the screen; else, click **No**.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FlgiONVAjXbhePOMx8aFa%2Fimage.png?alt=media&#x26;token=e04f5cda-87f7-41c6-9126-8521f57cae61" alt=""><figcaption><p>Triggering Pre-land </p></figcaption></figure>

After a successful run during the first flight using the DiaB system! Navigate to the FlytBase [<mark style="color:blue;">Features</mark>](../features) section to explore more of the features that can be used with this new setup

Now the operator is all ready for their maiden flight with FlytBase.🤝

After completing a mission, operators can navigate to the Flight Logs section on the dashboard to analyze and review the mission data.

{% content-ref url="../features/logs/flight-logs" %}
[flight-logs](../features/logs/flight-logs)
{% endcontent-ref %}
