From d7f153483c5c6bdb2557b2b19ee90d92f856fbd6 Mon Sep 17 00:00:00 2001 From: Hacene SI HADJ MOHAND Date: Mon, 27 Jul 2020 15:02:37 +0200 Subject: [PATCH] theta +90 --- src/ExternLib/Jupiter_JRM09_CAN_81/Jupiter_JRM09_CAN81.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ExternLib/Jupiter_JRM09_CAN_81/Jupiter_JRM09_CAN81.hh b/src/ExternLib/Jupiter_JRM09_CAN_81/Jupiter_JRM09_CAN81.hh index 4f63864..e3ae271 100644 --- a/src/ExternLib/Jupiter_JRM09_CAN_81/Jupiter_JRM09_CAN81.hh +++ b/src/ExternLib/Jupiter_JRM09_CAN_81/Jupiter_JRM09_CAN81.hh @@ -68,7 +68,10 @@ namespace AMDA { lVal[0] = std::sqrt(in[0] * in[0] + in[1] * in[1] + in[2] * in[2]); if (lVal[0] == 0) lVal[0] = 1e-31; - lVal[1] = 90 - std::acos(in[2] / lVal[0])*180 / PI; + // + lVal[1] = 180 - std::acos(in[2] / lVal[0])*180 / PI; + // + lVal[2] = std::atan(in[1] / in[0])*180 / PI; double crtTime = _paramInput.getTime(_index); -- libgit2 0.21.2