Name
CL_fr_qsw2inertial — Local orbital (q,s,w) to inertial frame vector transformation
Calling Sequence
[vect_geo] = CL_fr_qsw2inertial(pos_car,vel_car,vect_qsw)
Description
-
Given the vector vect_qsw in the local orbital frame (q,s,w) defined
by satellite's position (pos_car) and speed (vel_car) in the geocentric inertial frame, this function computes
its coordinates vect_geo expressed in a geocentric inertial frame.
- The QSW local orbital frame is defined as follows:
origin: center of gravity of the satellite
q: a unit vector from the planet center towards the satellite
w: a unit vector in the direction of the osculating orbit's kinetic moment
s: a unit vector chosen so that qsw is a direct orthonormal frame

- Last update : 25/07/2007
Parameters
- pos_car:
satellite's cartesien position in a geocentric inertial frame [m] (3xN)
- vel_car:
satellite's cartesien speed in a geocentric inertial frame [m/s] (3xN)
- vect_qsw:
vector vect_geo coordinates in the local orbital frame (q,s,w) (3xN)
- vect_geo:
vector cartesien coordinates in a geocentric inertial frame (3xN)
Bibliography
1 Mecanique spatiale, CNES - Cepadues 1995, Tome I, section 10.2.2.3 (Definition du Repere orbital local)
2 CNES - MSLIB FORTRAN 90, Volume O (mo_qsw_geo)
Examples
// Example 1
pos_car = [- 700700.,5.325E-11,6.718E-11;- 700700.,5.325E-11,6.718E-11]'
vel_car = [- 2.919E-12,- 14807.462,- 18682.367;- 2.919E-12,- 14807.462,- 18682.367]'
vect_qsw = [1,0,0;1,1,1]'
[vect_geo] = CL_fr_inertial2tnw(pos_car,vel_car,vect_qsw)