This commit is contained in:
Timur A. Fatkhullin
2025-03-22 00:48:52 +03:00
parent b9ee662850
commit b3fb445557
5 changed files with 71 additions and 40 deletions

View File

@@ -68,6 +68,12 @@ int main(int argc, char* argv[])
// const double rr = 180.0 / std::numbers::pi * 60.0;
// std::cout << "A(arcmin) = " << A * rr << "; B(arcmin) = " << B * rr << "\n";
using namespace std::chrono_literals;
double stm = mcc::astrom::mcc_time_to_alt_limit(10.0, "06:30:00.0", "00:00:00.0", 43.646711, 41.440732,
std::chrono::system_clock::now(), 0.041s, 32.184s, 37.0s);
// auto stm_d = mcc::astrom::mcc_chrono_radians{stm};
std::cout << "STM: " << stm * 12.0 / std::numbers::pi * 60.0 << " minutes\n";
return ecode;
}