Documentation / @interstellar-tools/equations / rotatingLaunchAzimuth
Function: rotatingLaunchAzimuth()
ts
function rotatingLaunchAzimuth(
azimuth: Radians,
v: number,
vRot: number
): Radians;Defined in: orbits/rotating-launch-azimuth.ts:51
Compute the azimuth over the ground for an inertial launch azimuth, on a rotating body.
Where:
is the inertial azimuth, clockwise from north (rad) is the inertial speed to reach, e.g. the orbital speed at insertion (m/s) is the pad's eastward speed from the body's rotation (m/s)
Units
- Inputs:
azimuthin radians,vandvRotin m/s. - Output:
in radians, in [0, 2π).
Notes
- The pad is already moving east, so the rocket only has to add the difference: it steers a little further from east than the inertial azimuth.
- Get
from surfaceRotationSpeed and from launchAzimuthForInclination. - Uses a flat, local approximation: good for the azimuth at launch, not for the whole ascent.
Parameters
| Parameter | Type | Description |
|---|---|---|
azimuth | Radians | Inertial azimuth |
v | number | Inertial speed |
vRot | number | Eastward surface speed |
Returns
Azimuth over the ground
Throws
- If any input is not a finite number.
- If
v <= 0, or the speed over the ground is zero (the target velocity equals the pad's).
Example
ts
import type { Radians } from '@interstellar-tools/types';
const toRad = (deg: number) => ((deg * Math.PI) / 180) as Radians;
// Due north inertially at 7.8 km/s, from a pad moving east at 409 m/s
const beta = rotatingLaunchAzimuth(toRad(0), 7800, 409);
// beta ≈ 357.0°: aim slightly west of north to cancel the pad's eastward speed