使用定姿四元数计算图像位置

This commit is contained in:
nuknal
2024-06-07 10:51:20 +08:00
parent f7c4237c77
commit cf5012f2a8
8 changed files with 192 additions and 82 deletions

View File

@@ -5,6 +5,7 @@ const (
EarthRadius = 6378137.0 // 地球半径,单位米
a = 6378137.0 // semi-major axis in meters
f = 1 / 298.257223563 // flattening
b = a * (1 - f) // 短半轴
e2 = 2*f - f*f // square of eccentricity
J2000Epoch = 2451545.0 // Julian date of J2000 epoch
)