> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valar.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Attitude Transitions

> Schedule and manage attitude mode transitions for your spacecraft

> For the complete documentation index, see [llms.txt](https://docs.valar.space/llms.txt).

Use this page to schedule when your spacecraft switches between attitude modes, pick the **default mode** the spacecraft falls back to between transitions, and configure free-drift dynamics for an uncontrolled, torque-free orientation. For attitude mode concepts — what a mode is, body axes, target families, and the unified workspace catalog — see [Attitude modes overview](https://docs.valar.space/features/attitude/overview.md).

**Route:** `/attitude/modes`

## The Transition Schedule

The **Transition Schedule** card lives in the main column of the attitude modes page, below the mode carousel and the Euler-angle plot. It lists every scheduled mode transition for the selected spacecraft in chronological order, alongside any CUSTOM-mode windows imported from AEM files.

Each row shows:

* The **target mode** the spacecraft will adopt at the transition time. CUSTOM rows (created by AEM imports) display **File Import** in place of a mode name, with a small badge naming the source `.aem` or `.txt` file.
* The **scheduled time**, formatted as `MMM DD, HH:MM` in UTC (for example, `Apr 14, 08:56`).
* An actions menu with **Edit** and **Delete** entries. CUSTOM rows handle these differently — see [CUSTOM Windows from AEM Imports](#custom-windows-from-aem-imports) below.

By default the table hides past events and shows upcoming transitions only. Open the gear menu in the card header and tick **Show past events** to include scheduled times that have already elapsed.

### The right-hand modes panel

The attitude modes page has a second column on the right that lists every attitude mode in your workspace catalog. The header carries a panel-toggle icon (the right-panel glyph next to the **Import** and **Export** buttons) — click it to hide or show the modes panel and reclaim screen space for the schedule and plots.

### Empty state

When no transitions are scheduled and no AEM imports have been added, the **Transition Schedule** card replaces the row list with a centered **No transitions scheduled** message and a single **Add transition** button. Clicking the button opens the same scheduling dialog as the **Add transition** action in the card header.

## Scheduling a Transition

Click **Add transition** in the **Transition Schedule** card header to open the **Add Transition** dialog. Every scheduled transition is time-anchored: it activates at a single UTC instant and remains active until the next transition (or until the schedule returns to the default mode).

To schedule a transition:

**1. Pick the transition time (UTC)**

Type the time of day into the `HH:MM` input — the dialog auto-inserts the colon as you type. Then pick the date from the 7-day MiniCalendar carousel below the input. Use the left and right chevrons to navigate the carousel one week at a time. The carousel only allows dates between **today** and **today + 30 days**; days outside that window are disabled.

**2. Choose the target mode**

Open the **Target mode** dropdown and pick any mode from the workspace catalog. CUSTOM is not selectable — CUSTOM windows can only be added via [AEM import](https://docs.valar.space/features/attitude/ephemeris.md).

**3. Configure free-drift dynamics (Free drift only)**

If you pick **Free drift**, the dialog reveals an extra section for the torque-free dynamics needed to integrate the spacecraft's tumble. See [Free-Drift Dynamics](#free-drift-dynamics) below for the field reference.

**4. Create the transition**

Click **Create**. The dialog closes on success and the new row appears in the **Transition Schedule** card, sorted by transition time.

If the chosen time falls inside an existing AEM-imported CUSTOM window, the dialog stays open and surfaces an inline message naming the conflicting file and its time range — pick a different time, or delete the conflicting import first and retry.

To change a previously scheduled transition, open the row's actions menu and click **Edit**. The dialog re-opens with the existing values pre-filled and a **Update** button in place of **Create**. CUSTOM rows do not expose **Edit** because their times are bound to the AEM import.

## The Default Mode

Each spacecraft has exactly one **default attitude mode** — the orientation the spacecraft holds whenever no scheduled transition is active. The default is the fallback the schedule returns to between operations:

* **No transitions scheduled:** the spacecraft holds the default mode at all times.
* **One transition scheduled at time `T`:** the spacecraft holds the default before `T` and switches to the scheduled mode at `T`.
* **Multiple transitions:** the spacecraft switches at each transition time in order; the default fills any gap before the first transition.

You set and change the default from the **Attitude Modes** panel on the right of the page. Each mode card carries an actions menu — click **Set as default** on the mode you want to become the new fallback. The current default is marked with a **Default** badge. Selecting **Free drift** as default reveals the [free-drift dynamics form](#free-drift-dynamics) inline on the card.

> [!NOTE]
>
> Setting the default mode rewrites which mode is active **between** scheduled transitions. It does not modify the rows in your transition schedule.

## CUSTOM Windows from AEM Imports

When you import a CCSDS AEM file from the attitude modes page header, every attitude sample window in the file is added to the **Transition Schedule** card as a **CUSTOM** row. CUSTOM rows coexist with manually scheduled transitions and are sequenced into the same chronological list using the file's `START_TIME` and `STOP_TIME`.

CUSTOM rows behave a little differently from manually scheduled transitions:

* The mode column displays **File Import** with a file-name badge instead of a regular mode name.
* The actions menu hides **Edit** — the time and duration of a CUSTOM window are fixed by the source AEM file.
* Clicking **Delete import** on a CUSTOM row opens a confirmation dialog that warns the deletion will remove both the AEM import and its associated transitions.
* New manually scheduled transitions cannot land inside an existing CUSTOM window. If the **Add Transition** dialog detects a collision, it surfaces an inline error naming the conflicting file.

For the full AEM ingest flow, supported file types, validation messages, and the export counterpart, see [Import & Export Attitude Ephemeris](https://docs.valar.space/features/attitude/ephemeris.md).

## Free-Drift Dynamics

The **Free drift** mode disables active control and lets the spacecraft tumble under torque-free dynamics. Because two spacecraft running the same Free-drift mode have different inertias and different initial spin states, the physical inputs that drive the torque-free integration are configured **per spacecraft**, not per workspace mode.

The free-drift form is rendered inline in two places, with identical fields:

* Inside the **Add Transition** dialog, whenever you pick **Free drift** as the target mode of a scheduled transition.
* Inside the **Attitude Modes** panel on the right of the page, when you select **Set as default** on the **Free drift** card.

The form has three groups of three fields each:

| Group | Fields | Unit |
| - | - | - |
| **Principal Moments of Inertia** | Ixx, Iyy, Izz | kg·m² |
| **Inertia Axis Assignments** | Inertia axis Ixx, Inertia axis Iyy, Inertia axis Izz | Body axis (+X, -X, +Y, -Y, +Z, -Z) |
| **Initial Angular Velocity** | ωx, ωy, ωz | rad/s |

The three principal moments describe the spacecraft's resistance to rotation about its own inertia axes; the three axis assignments tell the platform which body face each principal moment is aligned with; the three initial angular velocity components seed the torque-free integration at the transition's start time. A footnote at the bottom of the form reads **Free drift is computed using torque-free dynamics**.

All nine values are validated as you edit, and the **Create**, **Update**, or **Set as Default** button stays disabled until every input is valid.

***

> [card] [Attitude modes overview](https://docs.valar.space/features/attitude/overview.md)
>
> Understand attitude modes, body axes, target types, and the unified workspace catalog

> [card] [Manage attitude modes](https://docs.valar.space/features/attitude/modes.md)
>
> Browse, create, edit, and delete modes in the workspace catalog

> [card] [Import and export AEM files](https://docs.valar.space/features/attitude/ephemeris.md)
>
> Exchange attitude ephemeris with external partners and tools

> [card] [Visualize attitude](https://docs.valar.space/features/attitude/visualization.md)
>
> Inspect quaternion and Euler angle plots over time

## Attitudes generated by operations

When operation attitudes are enabled for your workspace, **Operation attitudes**
in the attitude view lists approved maneuvers and booked station passes or AOI
overflights. Each entry shows its source, interval, pointing and status. Choose
the UTC date window to inspect upcoming or earlier operations.

Select **Operation pointing** while booking, or use **Configure later**. In the
saved booking, **Save pointing** updates the same operation. Maneuvers use their
existing thrust pointing. KSAT reservations generate attitudes only after the
provider confirms acceptance, using its confirmed interval.

**Scheduled** means the pointing requirement can be applied during the operation.
Afterward, the applicable manual/default attitude resumes. **Unresolved** means
configuration is missing or an attitude conflict needs your attention. Conflicts
do not block booking or approval and do not silently override the manual schedule.
Overlapping operations remain unresolved until you edit or cancel the conflicting
source. No slew feasibility is calculated by this scheduling integration.

Follow an entry's source link to change it. Cancelling a local booking removes its
generated attitude while retaining the saved inspector. Use the existing KSAT
cancellation action for provider reservations; the attitude follows the confirmed
provider result. Reversing maneuver approval removes the corresponding generated
requirement. Generated entries are not independently editable manual transitions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.