Public Member Functions |
| | ssPlacement () |
| | constructor
|
| virtual | ~ssPlacement () |
| | destructor
|
| void | geocentricToGeodeticOrientation (double geocX, double geocY, double geocZ, double geocH, double geocP, double geocR, double &geodH, double &geodP, double &geodR) |
| | description: convert from geocentric orientation (body FRD w.r.t.
|
| void | geodeticToGeocentricOrientation (double geocX, double geocY, double geocZ, double geodH, double geodP, double geodR, double &geocH, double &geocP, double &geocR) |
| | description: convert from geodetic orientation (body FRD w.r.t.
|
| ::ellipsoid * | getEllipsoid () |
| | return pointer to the ellipsoid used for SigSim calculations double a = distance [m] of ellipsoid surface from ellipsoid center along direction to prime meridian at equator double b = distance [m] of ellipsoid surface from ellipsoid center along direction to east longitudinal meridian at equator double c = distance [m] of ellipsoid surface from ellipsoid center along direction to North geodetic pole int naxes = Number of axes actually used: 1=sphere (a=b=c, fill c at least); 2=biaxial ellipsoid ((a=b)!=c, fill b and c at least; 3=triaxial ellipsoid (a!=b!=c, fill all).
|
| void | GetRelativeLOS (double geoCentricPos1[3], double geoCentricOrient1[3], double geoCentricPos2[3], double geoCentricOrient2[3], double *relativeLOS) |
| | Gets the LOS angles and relative roll between two geocentric frames.
|
| bool | loadSigSimTrackfile (const char *dataDirectory, const char *trackFilename) |
| | load a SigSim style trackfile
|
| ::TRACK * | getTrack () |
| | return pointer to track data, or NULL if empty
|
| unsigned int | getNumTracks () |
| | return the number of tracks
|
| void | setTrackGeodeticPos (double lat, double lon, double alt) |
| | set current track geodetic position (radians, radians, meters)
|
| void | getTrackGeodeticPos (double &lat, double &lon, double &alt) |
| | return current track geodetic position (radians, radians, meters)
|
| void | setTrackGeodeticRot (double h, double p, double r) |
| | set current body FRD orientation relative to local NED coords (radians)
|
| double * | setTrackGeodeticRot () |
| | return current body FRD orientation relative to local NED coords (radians)
|
SigSim position and orientation base class.
Used to perform orientation transformations using SigSim API.
| void ssPlacement::geocentricToGeodeticOrientation |
( |
double |
geocX, |
|
|
double |
geocY, |
|
|
double |
geocZ, |
|
|
double |
geocH, |
|
|
double |
geocP, |
|
|
double |
geocR, |
|
|
double & |
geodH, |
|
|
double & |
geodP, |
|
|
double & |
geodR |
|
) |
| |
description: convert from geocentric orientation (body FRD w.r.t.
global XYZ=GCC) to geodetic orientation (body FRD w.r.t. local NED)
param: geocX - geocentric X coordinate in meters = distance [m] away from ellipsoid center along direction to prime meridian
param: geocY - geocentric Y coordinate in meters = distance [m] away from ellipsoid center along direction to east longitudinal meridian
param: geocZ - geocentric Z coordinate in meters = distance [m] away from ellipsoid center along direction to North geodetic pole
param: geocH - geocentric heading in radians = yaw = angle [rad] of 1st rotation : clockwise about body +z axis
param: geocP - geocentric pitch in radians = angle [rad] of 2nd rotation : clockwise about new body +y axis
param: geocR - geocentric roll in radians = angle [rad] of 3rd rotation : clockwise about (even newer) body +x axis
param: &geodH - geodetic heading in radians = yaw = angle [rad] of 1st rotation : clockwise about body +z axis (output)
param: &geodP - geodetic pitch in radians = angle [rad] of 2nd rotation : clockwise about new body +y axis (output)
param: &geodR - geodetic roll in radians = angle [rad] of 3rd rotation : clockwise about (even newer) body +x axis (output)
| void ssPlacement::geodeticToGeocentricOrientation |
( |
double |
geocX, |
|
|
double |
geocY, |
|
|
double |
geocZ, |
|
|
double |
geodH, |
|
|
double |
geodP, |
|
|
double |
geodR, |
|
|
double & |
geocH, |
|
|
double & |
geocP, |
|
|
double & |
geocR |
|
) |
| |
description: convert from geodetic orientation (body FRD w.r.t.
local NED) to geocentric orientation (body FRD w.r.t. global XYZ=GCC)
param: geocX - geocentric X coordinate in meters = distance [m] away from ellipsoid center along direction to prime meridian
param: geocY - geocentric Y coordinate in meters = distance [m] away from ellipsoid center along direction to east longitudinal meridian
param: geocZ - geocentric Z coordinate in meters = distance [m] away from ellipsoid center along direction to North geodetic pole
param: geodH - geodetic heading in radians = yaw = angle [rad] of 1st rotation : clockwise about body +z axis
param: geodP - geodetic pitch in radians = angle [rad] of 2nd rotation : clockwise about new body +y axis
param: geodR - geodetic roll in radians = angle [rad] of 3rd rotation : clockwise about (even newer) body +x axis
param: &geocH - geocentric heading in radians = yaw = angle [rad] of 1st rotation : clockwise about body +z axis (output)
param: &geocP - geocentric pitch in radians = angle [rad] of 2nd rotation : clockwise about new body +y axis (output)
param: &geocR - geocentric roll in radians = angle [rad] of 3rd rotation : clockwise about (even newer) body +x axis (output)