You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: todo.org
+50-6Lines changed: 50 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,18 +106,62 @@ $\mathbf{E} =
106
106
defines coordinate system where the x-direction points toward (latitude,
107
107
longitude) = (0, 0) and z-direction points to the north pole.
108
108
109
-
Takes $a,f$ (semi-major and inverse flattening), plus $\mathbf{n}_{EA}^{E}$ and $\mathbf{n}_{EB}^{E}$.
109
+
$det(\mathbf{E}) = 1$
110
+
110
111
******** Step 2
111
112
112
-
First calculate $\mathbf{p}_{AB}^{E}=\mathbf{p}_{EB}^{E}-\mathbf{p}_{EA}^{E}$. They use $\mathbf{E}\cdot\mathbf{n}_{EB}^{E}$ to calculate $\mathbf{p}_{EB}^{E}$, scale it using equation 22 from Gade to get $\mathbf{p}_{EL}^{E}$ (coordiante system L, with same n-vector as B), but lies at the center of the Earth).
$\mathbf{p}_{EB}^{E} = \mathbf{E}^{T}\cdot \mathbf{p}_{EL}^{E} - \mathbf{n}_{EB}^{E} * h)$ (depth is h in equation 22) (they use depth = 0 for each vector).
125
+
$\mathbf{p}_{EA}^{E}=\mathbf{E}^{T}\cdot\left(\mathbf{p}_{EL}^{E} - h\mathbf{n}_{EA}^{E}\right)$ where $h$ is depth (below ellipsoid in meters).
126
+
127
+
Calculate $\mathbf{p}_{EA}^{E}$ and $\mathbf{p}_{EB}^{E}$
116
128
117
129
******** Step 3
118
130
119
-
Then Get $\mathbf{R}_{EN}$ (n_E2R_EN) (this function is the meat of the
120
-
calculation it seems).
131
+
$\mathbf{R}_{EN}$ from $\mathbf{n}_{EA}^{E}$ and $\mathbf{E}$:
132
+
$\mathbf{n}_{EA}^{E}=\frac{1}{det(\mathbf{E})*\lvert\mathbf{n}_{EA}^{E}\rvert}\mathbf{E}\cdot\mathbf{n}_{EA}^{E}$ (result is a matrix)
133
+
(renormalize for numerical stability)
134
+
135
+
New coordinate frame $N$, where the z-axis is north (instead of E [east])
136
+
137
+
$N_{z}^{E}=-\mathbf{n}_{EA}^{E}$ (points opposite direction of n-vector)
0 commit comments