Public

Library

Index

Interface

SAASGP4.DTGToUTCMethod.
DTGToUTC(dtg)

Converts a time in one of the DTG formats to a time in ds50UTC. DTG15, DTG17, DTG19, and DTG20 formats are accepted

source
astroFuncGetInfo()

Returns information about the AstroFunc DLL

source
astroFuncInit(mainHandle)

Initializes AstroFunc DLL for use in the program

source
closeLogFile()

Closes the currently open log file

source
envGetFkConst(id)

Retrieves the value of one of the constants from the current fundamental catalogue (FK) model

source

Returns the current fundamental catalogue (FK) setting

source
envGetFkPtr()

Returns a handle that can be used to access the fundamental catalogue (FK) data structure

source
envGetGeoConst(id)

Retrieves the value of one of the constants from the current Earth constants (GEO) model

source

Returns the current Earth constants (GEO) setting

source
envGetGeoStr()

Returns the name of the current Earth constants (GEO) model

source
SAASGP4.envGetInfoMethod.
envGetInfo()

Returns information about the EnvConst DLL

source
SAASGP4.envInitMethod.
envInit(mainHandle::Clonglong)

Initializes the EnvInit DLL for use in the program

source
envLoadFile(path)

Reads Earth constants (GEO) model and fundamental catalogue (FK) model settings from a file

source
SAASGP4.envSaveFileFunction.
envSaveFile(path, append = 0, format = 0)

Saves the current Earth constants (GEO) model and fundamental catalogue (FK) model settings to a file

source
envSetFkIdx(id)

Changes the fundamental catalogue (FK) setting to the specified value

source
envSetGeoIdx(id)

Changes the Earth constants (GEO) setting to the specified value

source
envSetGeoStr(geoStr)

Changes the Earth constants (GEO) setting to the model specified by a string literal

source
getInitDllNames()

Returns a list of names of the Standardized Astrodynamic Algorithms DLLs that were initialized successfully

source
getLastErrMsg()

Returns a character string describing the last error that occurred

source
getLastInfoMsg()

Returns a character string describing the last informational message that was recorded

source
mainGetInfo()

Returns information about the DllMain DLL

source
SAASGP4.mainInitMethod.
mainInit()

Returns a handle which can be used to access the static global data set needed by the Standardized Astrodynamic Algorithms DLLs to communicate among themselves

source
openLogFile(path)

Opens a log file and enables the writing of diagnostic information into it

source
sgp4GetInfo()

Returns information about the Sgp4 DLL

source
sgp4GetPropOut(satkey, index)

Retrieves propagator's precomputed results. This function can be used to obtain results from a propagation which are not made available through calls to the propagation functions themselves.

source
SAASGP4.sgp4InitMethod.
sgp4Init(mainHandle)

Initializes the Sgp4 DLL for use in the program

source
sgp4InitSat(satkey)

Initializes an SGP4 satellite from an SGP or SGP4 TLE

source
sgp4PropDs50UTC!(pos, vel, llh, mse, satkey, ds50UTC)

Propagates a satellite, represented by the satKey, to the time expressed in days since 1950, UTC

source
sgp4PropDs50UTC(satkey, ds50UTC)

Propagates a satellite, represented by the satKey, to the time expressed in days since 1950, UTC

source
sgp4PropMse!(pos, vel, llh, ds50UTC, satkey, mse)

Propagates a satellite, represented by the satKey, to the time expressed in minutes since the satellite's epoch time. Stores the results in the provided variables.

Examples

julia> pos = Array{Cdouble, 1}(undef, 3)
3-element Array{Float64,1}:
 0.0
 0.0
 0.0

julia> vel = Array{Cdouble, 1}(undef, 3)
3-element Array{Float64,1}:
 0.0
 0.0
 0.0

julia> llh = Array{Cdouble, 1}(undef, 3)
3-element Array{Float64,1}:
 0.0
 0.0
 0.0

julia> ds50UTC = Ref{Cdouble}(0.0)
Base.RefValue{Float64}(0.0)

julia> SAASGP4.sgp4PropMse!(pos, vel, llh, ds50UTC, satkey, mse)

julia> pos
3-element Array{Float64,1}:
 42155.0257401623
   980.5342672211367
    -9.307135121360039

julia> vel
3-element Array{Float64,1}:
 -0.07133558166329691
  3.07373221015029
 -0.0018402927526264539

julia> llh
3-element Array{Float64,1}:
    -0.012659361941212956
    34.46169610621692
 35788.29393717118

julia> ds50UTC[]
18314.489312984446
source
sgp4PropMse(satkey, mse)

Propagates a satellite, represented by the satKey, to the time expressed in minutes since the satellite's epoch time

source
sgp4RemoveAllSats()

Removes all currently loaded satellites from memory

source
sgp4RemoveSat(satkey)

Removes a satellite, represented by the satKey, from the set of satellites

source
sgp4SetLicFilePath(licFilePath)

Sets path to the Sgp4 Open License file if the license file is not in the current working folder

source
timeFuncGetInfo()

Returns information about the TimeFunc DLL

source
timeFuncInit(mainHandle)

Initializes the TimeFunc DLL for use in the program

source
tleAddSatFrLines(line1, line2)

Adds a TLE (satellite), using its directly specified first and second lines

source
tleGetCount()

Returns the number of TLEs currently loaded

source
SAASGP4.tleGetInfoMethod.
tleGetInfo()

Returns information about the Tle DLL

source
SAASGP4.tleInitMethod.
tleInit(mainHandle)

Initializes Tle DLL for use in the program

source
tleLoadFile(path)

Loads TLEs (satellites) contained in a text file into the TLE DLL's binary tree

source
tleRemoveAllSats()

Removes all the TLEs from memory

source
tleRemoveSat(satkey)

Removes a TLE represented by the satKey from memory

source