correcting errors

This commit is contained in:
Elon
2019-03-26 11:31:57 -06:00
parent d50ba68c51
commit dd4fd93cd6

View File

@@ -41,6 +41,9 @@
#include <ghoul/filesystem/file.h>
#include <ghoul/misc/csvreader.h>
#include <fstream>
// Todo:
// Parse epoch correctly
// read distances using correct unit
@@ -545,17 +548,16 @@ void RenderableSatellites::readTLEFile(const std::string& filename, int lineNum)
using namespace std::chrono;
double period = seconds(hours(24)).count() / keplerElements.meanMotion;
setKeplerElements(
keplerElements.eccentricity,
keplerElements.semiMajorAxis,
keplerElements.inclination,
keplerElements.ascendingNode,
keplerElements.argumentOfPeriapsis,
keplerElements.meanAnomaly,
period,
keplerElements.epoch
);
// setKeplerElements(
// keplerElements.eccentricity,
// keplerElements.semiMajorAxis,
// keplerElements.inclination,
// keplerElements.ascendingNode,
// keplerElements.argumentOfPeriapsis,
// keplerElements.meanAnomaly,
// period,
// keplerElements.epoch
// );
}