RTN Transformations¶
Rotation matrices between ECI (Earth-Centered Inertial) and RTN (Radial-Tangential-Normal) orbital frames.
Note
For conceptual explanations of the RTN frame, see Relative Motion.
rotation_rtn_to_eci builtin ¶
Computes the rotation matrix transforming a vector in the radial, along-track, cross-track (RTN) frame to the Earth-Centered Inertial (ECI) frame.
The ECI frame can be any inertial frame centered at the Earth's center, such as GCRF or EME2000.
The RTN frame is defined as follows: - R (Radial): Points from the Earth's center to the satellite's position. - N (Cross-Track): Perpendicular to the orbital plane, defined by the angular momentum vector (cross product of position and velocity). - T (Along-Track): Completes the right-handed coordinate system, lying in the orbital plane and perpendicular to R and N.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x_eci | ndarray or list | 6D state vector in the ECI frame [x, y, z, vx, vy, vz] (m, m/s), shape (6,) | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: 3x3 rotation matrix transforming from RTN to ECI frame, shape (3, 3) |
Example
rotation_eci_to_rtn builtin ¶
Computes the rotation matrix transforming a vector in the Earth-Centered Inertial (ECI) frame to the radial, along-track, cross-track (RTN) frame.
This is the transpose (inverse) of the RTN-to-ECI rotation matrix.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x_eci | ndarray or list | 6D state vector in the ECI frame [x, y, z, vx, vy, vz] (m, m/s), shape (6,) | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: 3x3 rotation matrix transforming from ECI to RTN frame, shape (3, 3) |
Example
state_rtn_to_eci builtin ¶
Transforms the relative state of a deputy satellite with respect to a chief satellite from the rotating Radial, Along-Track, Cross-Track (RTN) frame to the absolute state of the deputy in the Earth-Centered Inertial (ECI) frame.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x_chief | ndarray or list | 6D state vector of the chief satellite in the ECI frame [x, y, z, vx, vy, vz] (m, m/s), shape (6,) | required |
x_rel_rtn | ndarray or list | 6D relative state vector of the deputy with respect to the chief in the RTN frame [ρ_R, ρ_T, ρ_N, ρ̇_R, ρ̇_T, ρ̇_N] (m, m/s), shape (6,) | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: 6D state vector of the deputy satellite in the ECI frame [x, y, z, vx, vy, vz] (m, m/s), shape (6,) |
Example
state_eci_to_rtn builtin ¶
Transforms the absolute states of a chief and deputy satellite from the Earth-Centered Inertial (ECI) frame to the relative state of the deputy with respect to the chief in the rotating Radial, Along-Track, Cross-Track (RTN) frame.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x_chief | ndarray or list | 6D state vector of the chief satellite in the ECI frame [x, y, z, vx, vy, vz] (m, m/s), shape (6,) | required |
x_deputy | ndarray or list | 6D state vector of the deputy satellite in the ECI frame [x, y, z, vx, vy, vz] (m, m/s), shape (6,) | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: 6D relative state vector of the deputy with respect to the chief in the RTN frame [ρ_R, ρ_T, ρ_N, ρ̇_R, ρ̇_T, ρ̇_N] (m, m/s), shape (6,) |