Commit aa6ae75
adds a method to LocationLocal that returns distance from home, in me… (#679)
* adds a method to LocationLocal that returns distance from home, in meters
* Return 3D distance to home if `down` is known, otherwise return 2D distance
* also, rename `distance` to `distance_home`1 parent 7604bd9 commit aa6ae75
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
187 | 198 | | |
188 | 199 | | |
189 | 200 | | |
| |||
0 commit comments