Declared in Spacecraft

Declaration

void SetHillFrameElements(
    Spacecraft chief,
    Vector3 position,
    Vector3 velocity
);

Description

Configures the spacecraft to be in a Hill frame with another (chief) spacecraft. This frame is a relative position and velocity in the Hill frame, where X is the radial direction away from the chief, Y is the along-track direction and Z is the orbit normal direction.

Parameters

NameDescription
chiefThe spacecraft to base the position from.
position[m] The position relative to the spacecraft in the Hill frame.
velocity[m/s] The position relative to the spacecraft in the velocity frame.