Ginan
|
Data Structures | |
struct | Sofa |
struct | XFormData |
struct | FrameSwapper |
Functions | |
void | eci2ecef (GTime time, const ERPValues &erpVal, Matrix3d &U, Matrix3d *dU_ptr=nullptr) |
void | pos2enu (const VectorPos &pos, double *E) |
VectorEnu | ecef2enu (const VectorPos &pos, const VectorEcef &r) |
VectorEcef | enu2ecef (const VectorPos &pos, const VectorEnu &e) |
transform local tangental coordinate vector to ecef | |
Matrix3d | rotBasisMat (Vector3d &eX, Vector3d &eY, Vector3d &eZ) |
Converts coords of frame A (expressed in frame G) into transformation matrix from A to G E.g. | |
VectorPos | ecef2pos (const VectorEcef &r) |
transform ecef to geodetic postion args : double *r I ecef position {x,y,z} (m) notes : WGS84, ellipsoidal height | |
VectorEcef | pos2ecef (const VectorPos &pos) |
Transform geodetic postion to ecef. | |
VectorEcef | body2ecef (const AttStatus &attStatus, const Vector3d &rBody) |
transform vector in body frame to ecef | |
Vector3d | ecef2body (AttStatus &attStatus, VectorEcef &ecef, MatrixXd *dEdQ_ptr=nullptr) |
transform vector in ecef frame to body | |
VectorEcef body2ecef | ( | const AttStatus & | attStatus, |
const Vector3d & | rBody ) |
transform vector in body frame to ecef
attStatus | attitude (unit vectors of the axes of body frame) in ecef frame |
rBody | vector in body frame |
Vector3d ecef2body | ( | AttStatus & | attStatus, |
VectorEcef & | ecef, | ||
MatrixXd * | dEdQ_ptr = nullptr ) |
transform vector in ecef frame to body
attStatus | attitude (unit vectors of the axes of body frame) in ecef frame |
ecef | vector in ecef frame |
VectorEnu ecef2enu | ( | const VectorPos & | pos, |
const VectorEcef & | r ) |
pos | geodetic position {lat,lon} (rad) |
r | vector in ecef coordinate {x,y,z} |
VectorPos ecef2pos | ( | const VectorEcef & | r | ) |
transform ecef to geodetic postion args : double *r I ecef position {x,y,z} (m) notes : WGS84, ellipsoidal height
time | Current time |
erpVal | Structure containing the erp values |
U | Matrix3d containing the rotation matrix |
dU_ptr | Matrix3d containing the time derivative of the rotation matrix |
VectorEcef enu2ecef | ( | const VectorPos & | pos, |
const VectorEnu & | e ) |
transform local tangental coordinate vector to ecef
pos | geodetic position {lat,lon} (rad) |
e | vector in local tangental coordinate {e,n,u} |
VectorEcef pos2ecef | ( | const VectorPos & | pos | ) |
Transform geodetic postion to ecef.
pos | geodetic position {lat,lon,h} (rad,m) |
void pos2enu | ( | const VectorPos & | pos, |
double * | E ) |
Matrix3d rotBasisMat | ( | Vector3d & | eX, |
Vector3d & | eY, | ||
Vector3d & | eZ ) |
Converts coords of frame A (expressed in frame G) into transformation matrix from A to G E.g.
if eX/eY/eZ are body coordinates (frame A) in ECEF (frame G), matrix will transform from body frame to ECEF frame: ecef = rot * body.
eX | X+ unit vector of new coordinates |
eY | Y+ unit vector of new coordinates |
eZ | Z+ unit vector of new coordinates |