From: Jon S. B. <jb...@us...> - 2014-02-17 05:01:58
|
Update of /cvsroot/jsbsim/JSBSim/src/input_output In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16806/src/input_output Modified Files: FGOutputFG.cpp Log Message: Now sending actual geodetic latitude to FG over socket Index: FGOutputFG.cpp =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/input_output/FGOutputFG.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** FGOutputFG.cpp 13 Jan 2014 10:46:00 -0000 1.8 --- FGOutputFG.cpp 17 Feb 2014 05:01:55 -0000 1.9 *************** *** 138,143 **** // Positions ! net->longitude = Propagate->GetLocation().GetLongitude(); // geodetic (radians) ! net->latitude = Propagate->GetLocation().GetLatitude(); // geodetic (radians) net->altitude = Propagate->GetAltitudeASL()*0.3048; // altitude, above sea level (meters) net->agl = (float)(Propagate->GetDistanceAGL()*0.3048); // altitude, above ground level (meters) --- 138,143 ---- // Positions ! net->longitude = Propagate->GetLocation().GetLongitude(); // ! net->latitude = Propagate->GetLocation().GetGeodLatitudeRad(); // geodetic (radians) net->altitude = Propagate->GetAltitudeASL()*0.3048; // altitude, above sea level (meters) net->agl = (float)(Propagate->GetDistanceAGL()*0.3048); // altitude, above ground level (meters) |