aux
This commit is contained in:
@@ -346,14 +346,22 @@ func (e *Extractor) ParseAuxPlatform(auxfile string) ([]*AuxPlatform, error) {
|
||||
}
|
||||
|
||||
var aps []*AuxPlatform
|
||||
for i := 0; i < len(data); i += AuxPlatformFrmSize {
|
||||
for i := 0; i < len(data); i += 24 + 128 + 512 {
|
||||
ap := AuxPlatform{}
|
||||
if err := ap.Parse(data[i : i+AuxPlatformFrmSize]); err != nil {
|
||||
if err := ap.Parse(data[i+24+128 : i+24+128+512]); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
aps = append(aps, &ap)
|
||||
ap.Print()
|
||||
// Calculate(
|
||||
// Vector3{ap.J2000Pos_X, ap.J2000Pos_Y, ap.J2000Pos_Y},
|
||||
// Vector3{ap.J2000Vel_X, ap.J2000Vel_Y, ap.J2000Vel_Z},
|
||||
// Quaternion{ap.SS1_Q1, ap.SS1_Q2, ap.SS1_Q3, ap.SS1_Q4},
|
||||
// )
|
||||
|
||||
// pp.Println(calculator.WGS84XYZtoLngLat(ap.W84PosX, ap.W84PosY, ap.W84PosZ))
|
||||
// pp.Println(calculator.WGS84XYZtoLngLat(ap.WGS84PosX, ap.WGS84PosY, ap.WGS84PosZ))
|
||||
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user