Skip to content

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.

tan⁡βrot=vsin⁡β−vrotvcos⁡β

Where:

  • β is the inertial azimuth, clockwise from north (rad)
  • v is the inertial speed to reach, e.g. the orbital speed at insertion (m/s)
  • vrot is the pad's eastward speed from the body's rotation (m/s)

Units

  • Inputs: azimuth in radians, v and vRot in m/s.
  • Output: βrot 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 vrot from surfaceRotationSpeed and β from launchAzimuthForInclination.
  • Uses a flat, local approximation: good for the azimuth at launch, not for the whole ascent.

Parameters ​

ParameterTypeDescription
azimuthRadiansInertial azimuth β in radians, clockwise from north (finite).
vnumberInertial speed v in m/s (finite, > 0).
vRotnumberEastward surface speed vrot in m/s (finite).

Returns ​

Radians

Azimuth over the ground βrot in radians, in [0, 2π).

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

See ​