# 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.md)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.md) 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.md) 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.md) feature helps the operator seamlessly transfer the images from the drone's SD card to the respective private cloud storage.

<figure><img src="/files/wBRLk0yPubbaG0uF1ew4" 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.md) in Settings.

<figure><img src="/files/dcNcBQItNYCk6mBmY0P8" 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.md)section.

And to schedule, this mission at recurring intervals, the [<mark style="color:blue;">Mission Scheduler</mark>](/features/planning/schedule.md) 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.md#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.md) 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="/files/M3rn5QqdmVr4wJE3fBN9" 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="/files/4lzegpI2eyhtp9wbSxqo" 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.md) 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="/files/MxWZy9LfDK9WexgnUx67" 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="/files/8eVU8XpLey4hnwhXjMgE" 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/operations.md) 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="/pages/QTOE8Aos4Tbp53uPOzQH" %}
[Flight Logs🆕](/features/logs/flight-logs.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://legacydocs.flytbase.com/flight-operations/first-flight-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
