Commit 898f063e authored by Alexander Lapshin's avatar Alexander Lapshin

asc node algorithm changed

parent c2284a41
...@@ -39,12 +39,11 @@ void AscNodeOrbit::calc_asc_node(Propagator& prop, const TimeJD& date, const boo ...@@ -39,12 +39,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 > 60) {
if (DaysInterval(date, result.T) * 86400 > 1) { // TODO sometimes date lower result.T less than 60 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