Commit a1b705eb authored by Alexander Lapshin's avatar Alexander Lapshin

Merge branch 'master' of https://gitlab.anc.space/alapshin/common

parents 29030586 114278ff
...@@ -38,12 +38,11 @@ void AscNodeOrbit::calc_asc_node(Propagator& prop, const TimeJD& date, const boo ...@@ -38,12 +38,11 @@ void AscNodeOrbit::calc_asc_node(Propagator& prop, const TimeJD& date, const boo
result = ascNodeOrbit.GetPhasePointJ2000(); result = ascNodeOrbit.GetPhasePointJ2000();
//std::string date_s = DateToStr(result.T); // std::string date_s = DateToStr(result.T);
//std::cout << date_s << "\n"; // std::cout << date_s << "\n";
if (DaysInterval(date, result.T) * 86400 > 600) {
if (DaysInterval(date, result.T) * 86400 > 1) { // TODO sometimes date lower result.T less than 600 sec
// TODO sometimes date lower result.T less than 1 sec
//SInitOrbit ascNodeOrbit; //SInitOrbit ascNodeOrbit;
//if (!jump_arg_of_lat(date, prop, 0, gcs_node, ascNodeOrbit)) { //if (!jump_arg_of_lat(date, prop, 0, gcs_node, ascNodeOrbit)) {
// throw Exp() << "internal error in ascending node method 2"; // throw Exp() << "internal error in ascending node method 2";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment