Library
Index
SAASGP4.DTGToUTCSAASGP4.astroFuncGetInfoSAASGP4.astroFuncInitSAASGP4.closeLogFileSAASGP4.envGetFkConstSAASGP4.envGetFkIdxSAASGP4.envGetFkPtrSAASGP4.envGetGeoConstSAASGP4.envGetGeoIdxSAASGP4.envGetGeoStrSAASGP4.envGetInfoSAASGP4.envInitSAASGP4.envLoadFileSAASGP4.envSaveFileSAASGP4.envSetFkIdxSAASGP4.envSetGeoIdxSAASGP4.envSetGeoStrSAASGP4.getInitDllNamesSAASGP4.getLastErrMsgSAASGP4.getLastInfoMsgSAASGP4.mainGetInfoSAASGP4.mainInitSAASGP4.openLogFileSAASGP4.sgp4GetInfoSAASGP4.sgp4GetPropOutSAASGP4.sgp4InitSAASGP4.sgp4InitSatSAASGP4.sgp4PropDs50UTCSAASGP4.sgp4PropDs50UTC!SAASGP4.sgp4PropMseSAASGP4.sgp4PropMse!SAASGP4.sgp4RemoveAllSatsSAASGP4.sgp4RemoveSatSAASGP4.sgp4SetLicFilePathSAASGP4.timeFuncGetInfoSAASGP4.timeFuncInitSAASGP4.tleAddSatFrLinesSAASGP4.tleGetCountSAASGP4.tleGetInfoSAASGP4.tleInitSAASGP4.tleLoadFileSAASGP4.tleRemoveAllSatsSAASGP4.tleRemoveSat
Interface
SAASGP4.DTGToUTC — Method.DTGToUTC(dtg)Converts a time in one of the DTG formats to a time in ds50UTC. DTG15, DTG17, DTG19, and DTG20 formats are accepted
SAASGP4.astroFuncGetInfo — Method.astroFuncGetInfo()Returns information about the AstroFunc DLL
SAASGP4.astroFuncInit — Method.astroFuncInit(mainHandle)Initializes AstroFunc DLL for use in the program
SAASGP4.closeLogFile — Method.closeLogFile()Closes the currently open log file
SAASGP4.envGetFkConst — Method.envGetFkConst(id)Retrieves the value of one of the constants from the current fundamental catalogue (FK) model
SAASGP4.envGetFkIdx — Method.Returns the current fundamental catalogue (FK) setting
SAASGP4.envGetFkPtr — Method.envGetFkPtr()Returns a handle that can be used to access the fundamental catalogue (FK) data structure
SAASGP4.envGetGeoConst — Method.envGetGeoConst(id)Retrieves the value of one of the constants from the current Earth constants (GEO) model
SAASGP4.envGetGeoIdx — Method.Returns the current Earth constants (GEO) setting
SAASGP4.envGetGeoStr — Method.envGetGeoStr()Returns the name of the current Earth constants (GEO) model
SAASGP4.envGetInfo — Method.envGetInfo()Returns information about the EnvConst DLL
SAASGP4.envInit — Method.envInit(mainHandle::Clonglong)Initializes the EnvInit DLL for use in the program
SAASGP4.envLoadFile — Method.envLoadFile(path)Reads Earth constants (GEO) model and fundamental catalogue (FK) model settings from a file
SAASGP4.envSaveFile — Function.envSaveFile(path, append = 0, format = 0)Saves the current Earth constants (GEO) model and fundamental catalogue (FK) model settings to a file
SAASGP4.envSetFkIdx — Method.envSetFkIdx(id)Changes the fundamental catalogue (FK) setting to the specified value
SAASGP4.envSetGeoIdx — Method.envSetGeoIdx(id)Changes the Earth constants (GEO) setting to the specified value
SAASGP4.envSetGeoStr — Method.envSetGeoStr(geoStr)Changes the Earth constants (GEO) setting to the model specified by a string literal
SAASGP4.getInitDllNames — Method.getInitDllNames()Returns a list of names of the Standardized Astrodynamic Algorithms DLLs that were initialized successfully
SAASGP4.getLastErrMsg — Method.getLastErrMsg()Returns a character string describing the last error that occurred
SAASGP4.getLastInfoMsg — Method.getLastInfoMsg()Returns a character string describing the last informational message that was recorded
SAASGP4.mainGetInfo — Method.mainGetInfo()Returns information about the DllMain DLL
SAASGP4.mainInit — Method.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
SAASGP4.openLogFile — Method.openLogFile(path)Opens a log file and enables the writing of diagnostic information into it
SAASGP4.sgp4GetInfo — Method.sgp4GetInfo()Returns information about the Sgp4 DLL
SAASGP4.sgp4GetPropOut — Method.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.
SAASGP4.sgp4Init — Method.sgp4Init(mainHandle)Initializes the Sgp4 DLL for use in the program
SAASGP4.sgp4InitSat — Method.sgp4InitSat(satkey)Initializes an SGP4 satellite from an SGP or SGP4 TLE
SAASGP4.sgp4PropDs50UTC! — Method.sgp4PropDs50UTC!(pos, vel, llh, mse, satkey, ds50UTC)Propagates a satellite, represented by the satKey, to the time expressed in days since 1950, UTC
SAASGP4.sgp4PropDs50UTC — Method.sgp4PropDs50UTC(satkey, ds50UTC)Propagates a satellite, represented by the satKey, to the time expressed in days since 1950, UTC
SAASGP4.sgp4PropMse! — Method.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.489312984446SAASGP4.sgp4PropMse — Method.sgp4PropMse(satkey, mse)Propagates a satellite, represented by the satKey, to the time expressed in minutes since the satellite's epoch time
SAASGP4.sgp4RemoveAllSats — Method.sgp4RemoveAllSats()Removes all currently loaded satellites from memory
SAASGP4.sgp4RemoveSat — Method.sgp4RemoveSat(satkey)Removes a satellite, represented by the satKey, from the set of satellites
SAASGP4.sgp4SetLicFilePath — Method.sgp4SetLicFilePath(licFilePath)Sets path to the Sgp4 Open License file if the license file is not in the current working folder
SAASGP4.timeFuncGetInfo — Method.timeFuncGetInfo()Returns information about the TimeFunc DLL
SAASGP4.timeFuncInit — Method.timeFuncInit(mainHandle)Initializes the TimeFunc DLL for use in the program
SAASGP4.tleAddSatFrLines — Method.tleAddSatFrLines(line1, line2)Adds a TLE (satellite), using its directly specified first and second lines
SAASGP4.tleGetCount — Method.tleGetCount()Returns the number of TLEs currently loaded
SAASGP4.tleGetInfo — Method.tleGetInfo()Returns information about the Tle DLL
SAASGP4.tleInit — Method.tleInit(mainHandle)Initializes Tle DLL for use in the program
SAASGP4.tleLoadFile — Method.tleLoadFile(path)Loads TLEs (satellites) contained in a text file into the TLE DLL's binary tree
SAASGP4.tleRemoveAllSats — Method.tleRemoveAllSats()Removes all the TLEs from memory
SAASGP4.tleRemoveSat — Method.tleRemoveSat(satkey)Removes a TLE represented by the satKey from memory