Eigen
Dependencies: Vector3
Dependents: optWingforHAPS_Eigen hexaTest_Eigen
Diff: GPSUBX_UART.cpp
- Revision:
- 12:2ffb2fcaac23
- Parent:
- 10:a90d07e4c34d
- Child:
- 13:facd8e54f2eb
--- a/GPSUBX_UART.cpp Tue Nov 02 14:29:07 2021 +0000 +++ b/GPSUBX_UART.cpp Thu Nov 04 09:41:59 2021 +0000 @@ -186,6 +186,7 @@ float y = - cosf(pi_2_theta) * sinf(pi_phi); float z = sinf(pi_2_theta); Vector3 v(x, y, z); + return v; } @@ -206,6 +207,7 @@ UniversalZeroUnitN = _n; UniversalZeroUnitE = _e; UniversalZeroUnitD = _d; + //twelite.printf("%f %f %f \r\n",_n,_e,_d); } void GPSUBX_UART::Calculate()