> For the complete documentation index, see [llms.txt](https://docs.auterion.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.auterion.com/vehicle-operation/dragon-setup/dragon-mr-lr/catapult-launch.md). Agents can also search and read this documentation through its [MCP server](https://docs.auterion.com/~gitbook/mcp).

# Takeoff

The launch detector is enabled and tuned with the `FW_LAUN_*` parameters. It uses the vehicle's acceleration to trigger a launch.

| Parameter          | Default   | Unit | Meaning                                                                                                     |
| ------------------ | --------- | ---- | ----------------------------------------------------------------------------------------------------------- |
| `FW_LAUN_DETCN_ON` | `0` (off) | bool | Master enable. **Set to 1 for catapult/hand launch.** Not compatible with runway takeoff.                   |
| `FW_LAUN_AC_THLD`  | `30.0`    | m/s² | Acceleration norm that must be exceeded to call it a launch.                                                |
| `FW_LAUN_AC_T`     | `0.05`    | s    | How long acceleration must stay above the threshold before launch is declared.                              |
| `FW_LAUN_MOT_DEL`  | `0.0`     | s    | Delay from launch detection until full throttle. `0` = motor enabled immediately on detection.              |
| `FW_LAUN_CS_LK_DY` | `0.0`     | s    | Locks the selected control surfaces while armed and until this time after launch. `0` = no surface locking. |
| `FW_TKO_PITCH_MIN` | `10.0`    | deg  | Minimum pitch held during the takeoff climbout. Raise for a steeper climb (e.g. RATO).                      |

How it behaves: while armed and waiting, throttle is held down. When acceleration exceeds `FW_LAUN_AC_THLD` for `FW_LAUN_AC_T` seconds, launch is detected. If `FW_LAUN_MOT_DEL > 0` the aircraft controls attitude at idle throttle for that delay (useful to clear the catapult before thrust), then goes to full throttle; otherwise the motor is enabled immediately.

### Takeoff types cheatsheet

<table data-search="false"><thead><tr><th>Type</th><th>Catapult</th><th>RATO</th></tr></thead><tbody><tr><td>Trigger</td><td>Catapult release</td><td>Rocket ignition</td></tr><tr><td><code>FW_LAUN_AC_THLD</code></td><td><code>30</code></td><td><code>30</code></td></tr><tr><td><code>FW_LAUN_AC_T</code></td><td><code>0.05</code></td><td><code>0.05</code></td></tr><tr><td><code>FW_LAUN_MOT_DEL</code></td><td><code>0.0</code></td><td><code>2.5</code>(Indicative)</td></tr><tr><td><code>FW_LAUN_CS_LK_DY</code></td><td><code>0.0</code>(tube launch: > 0)</td><td><code>2.0</code>(Indicative)</td></tr><tr><td><p><code>FW_TKO_PITCH_MIN</code></p><p></p></td><td><code>10.0</code></td><td><code>55.0</code>(Ideally higher that rato push angle)</td></tr></tbody></table>

All takeoff types require `FW_LAUN_DETCN_ON = 1`. Values are a starting point; tune per airframe.

### Launch procedure

#### Preparation

1. Power up the vehicle in Position mode.
2. Set the parameters for your takeoff type (see table above).
3. Complete the pre-flight checklist, including a control surface and motor check.
4. Place the vehicle on the launcher without powering it off.
5. Reset the heading in AMC if it changed (check the real heading with a compass).
6. Remove the safety pin from the payload.

#### Arm

* **Mission takeoff:** upload a mission with a takeoff, arm, start the mission.
* **Manual takeoff:** arm and throttle up.

The motor stays at idle until launch is detected.

#### Launch

* **Catapult:**

  1. Point the catapult into the wind.
  2. Trigger the catapult. The acceleration triggers launch detection.
  3. The motor goes to full throttle, after `FW_LAUN_MOT_DEL` seconds if set (useful to clear the catapult before thrust).
  4. The vehicle climbs out with at least `FW_TKO_PITCH_MIN` pitch.

  For a tube launch, lock the control surfaces with `FW_LAUN_CS_LK_DY` so they are not damaged in the tube.
* **RATO:**
  1. Fire the rocket. The ignition triggers launch detection.
  2. The control surfaces stay locked for `FW_LAUN_CS_LK_DY` seconds while the rocket pushes the vehicle.
  3. The motor stays at idle for `FW_LAUN_MOT_DEL` seconds, until the rocket has burnt out, then goes to full throttle.
  4. The vehicle climbs out with at least `FW_TKO_PITCH_MIN` pitch.
* **Moving vehicle:** only a manual takeoff is supported. Launch detection triggers on acceleration only, so it cannot reliably detect a release from a moving vehicle.
  1. Arm in a manual mode (e.g. Stabilize mode).
  2. Drive straight into the wind until the vehicle reaches flight speed.
  3. Throttle up and release the vehicle.

### After the climbout: loiter vs course hold

The vehicle climbs straight out along the launch heading. What it does once it reaches the takeoff altitude is selected in AMC when starting the takeoff:

| Option      | Behavior after the climbout                                                                      | Use when                                                                  |
| ----------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
| Loiter      | Enters Hold mode and circles at the takeoff altitude (default).                                  | There is enough room around the launch site to circle.                    |
| Course hold | Turns onto the selected course and keeps flying it at the takeoff altitude (Guided Course mode). | The vehicle should leave the launch area, e.g. toward the operation area. |

<br>
