gps image-time attitude 拟合精度

This commit is contained in:
nuknal
2024-09-05 15:10:21 +08:00
parent df6090df21
commit 52638b5ffe
8 changed files with 35 additions and 24 deletions

View File

@@ -19,7 +19,7 @@ func ECItoECEF(j2000X, j2000Y, j2000Z float64, utc time.Time) (float64, float64,
utc.Day(),
utc.Hour(),
utc.Minute(),
float64(utc.Second()),
float64(utc.Second()+utc.Nanosecond()/1e9),
&tt1, &tt2)
var djm0, mjd float64
@@ -59,7 +59,7 @@ func ECEFtoECI(X84, Y84, Z84 float64, utc time.Time) (float64, float64, float64)
utc.Day(),
utc.Hour(),
utc.Minute(),
float64(utc.Second()),
float64(utc.Second()+utc.Nanosecond()/1e9),
&tt1, &tt2)
var djm0, mjd float64